39#if (GPIO_LIB_USED==LGPIO)
43#include <condition_variable>
48#define NUMBER_OF_GPIO_PINS (28)
55typedef int (*CallbackType)(int);
62class LgpioGPIO :
public GPIO{
71 LgpioGPIO(
int number, DIRECTION dir, VALUE val = GPIO_LOW);
84 static void freeGPIOInstance(LgpioGPIO& instance);
100 static int initialized;
108 virtual void setValue(GPIO::VALUE value);
114 virtual GPIO::VALUE getValue();
125 virtual void enableEdgeInterrupt(EDGE edgeType);
133 virtual void handleInterruptDrivenGPIOPin();
140 virtual void handleInterruptDrivenGPIOPin2(lgGpioAlert_p evt);