39#if (GPIO_LIB_USED==LGPIO)
43#include <condition_variable>
45#define NUMBER_OF_GPIO_PINS (28)
49typedef int (*CallbackType)(int);
55class LgpioGPIO :
public GPIO{
64 LgpioGPIO(
int number, DIRECTION dir, VALUE val = GPIO_LOW);
72 static void freeGPIOInstance(LgpioGPIO& instance);
86 static int initialized;
94 virtual void setValue(GPIO::VALUE);
100 virtual GPIO::VALUE getValue();
111 virtual void enableEdgeInterrupt(EDGE edgeType);
119 virtual void handleInterruptDrivenGPIOPin();
125 virtual void handleInterruptDrivenGPIOPin2(lgGpioAlert_p evt);