36 #define GPIO_PATH "/sys/class/gpio/"
virtual int streamOpen()
Definition: GPIO.cpp:183
int(* CallbackType)(int)
Definition: GPIO.h:40
virtual GPIO::EDGE getEdgeType()
Definition: GPIO.cpp:175
void * threadedToggle(void *value)
Definition: GPIO.cpp:218
virtual void setDebounceTime(int time)
Definition: GPIO.h:71
GPIO class for input and output functionality on a single GPIO pin.
Definition: GPIO.h:46
virtual void toggleCancel()
Definition: GPIO.h:81
DIRECTION
Definition: GPIO.h:48
virtual int setEdgeType(GPIO::EDGE)
Definition: GPIO.cpp:140
GPIO(int number)
Definition: GPIO.cpp:47
void * threadedPoll(void *value)
Definition: GPIO.cpp:272
virtual GPIO::VALUE getValue()
Definition: GPIO.cpp:163
virtual int setActiveLow(bool isLow=true)
Definition: GPIO.cpp:154
virtual int streamWrite(GPIO::VALUE)
Definition: GPIO.cpp:187
virtual void waitForEdgeCancel()
Definition: GPIO.h:88
virtual void changeToggleTime(int time)
Definition: GPIO.h:80
Definition: BusDevice.cpp:27
virtual int setValue(GPIO::VALUE)
Definition: GPIO.cpp:130
virtual GPIO::DIRECTION getDirection()
Definition: GPIO.cpp:169
friend void * threadedPoll(void *value)
Definition: GPIO.cpp:272
virtual int setDirection(GPIO::DIRECTION)
Definition: GPIO.cpp:120
VALUE
Definition: GPIO.h:49
virtual int getNumber()
Definition: GPIO.h:60
EDGE
Definition: GPIO.h:50
virtual int waitForEdge()
Definition: GPIO.cpp:233
friend void * threadedToggle(void *value)
Definition: GPIO.cpp:218
virtual int streamClose()
Definition: GPIO.cpp:191
virtual int setActiveHigh()
Definition: GPIO.cpp:159
virtual int toggleOutput()
Definition: GPIO.cpp:196
virtual ~GPIO()
Definition: GPIO.cpp:293