#include <GPIO.h>
Public Member Functions | |
| GPIO (uint gpioNo) | |
| virtual | ~GPIO () |
| bool | Init (bool isRead) |
| bool | Init4EdgeInterrupt (bool isRead, GPIO_EDGES edge) |
| bool | UnInit () |
| int | Open () |
| bool | Close () |
| int | Read () |
| int | ReadWithInterrupt (unsigned long uSecTout) |
| bool | Write (bool makeHigh) |
| int & | GetGPIODescriptor () |
Static Public Member Functions | |
| static int | ReadOnce (uint gpioNo) |
| static bool | WriteOnce (uint gpioNo, bool makeHigh) |
| bool GPIO::Close | ( | ) |
Definition at line 91 of file GPIO.cpp.
Referenced by ReadOnce(), and WriteOnce().
| bool GPIO::Init | ( | bool | isRead | ) |
Definition at line 52 of file GPIO.cpp.
Referenced by Init4EdgeInterrupt(), ReadOnce(), and WriteOnce().
| bool GPIO::Init4EdgeInterrupt | ( | bool | isRead, |
| GPIO_EDGES | edge | ||
| ) |
| int GPIO::Open | ( | ) |
Definition at line 77 of file GPIO.cpp.
References SYS_GPIO_PATH.
Referenced by ReadOnce(), and WriteOnce().
| int GPIO::Read | ( | ) |
Definition at line 205 of file GPIO.cpp.
Referenced by ReadOnce(), and ReadWithInterrupt().
|
static |
| int GPIO::ReadWithInterrupt | ( | unsigned long | uSecTout | ) |
| bool GPIO::UnInit | ( | ) |
Definition at line 72 of file GPIO.cpp.
Referenced by ReadOnce(), and WriteOnce().
| bool GPIO::Write | ( | bool | makeHigh | ) |
Definition at line 226 of file GPIO.cpp.
Referenced by WriteOnce().
|
static |