12#ifndef INCLUDES_APRA_GPIO_H_
13#define INCLUDES_APRA_GPIO_H_
18#define SYS_GPIO_PATH "/sys/class/gpio"
32 bool Init(
bool isRead);
39 bool Write(
bool makeHigh);
42 static bool WriteOnce(uint gpioNo,
bool makeHigh);
45 bool SetDirection(
bool isRead);
static int ReadOnce(uint gpioNo)
int & GetGPIODescriptor()
static bool WriteOnce(uint gpioNo, bool makeHigh)
int ReadWithInterrupt(unsigned long uSecTout)
bool Write(bool makeHigh)
bool Init4EdgeInterrupt(bool isRead, GPIO_EDGES edge)