Go to the source code of this file.
| #define Sender 14 /* P1-08 */ |
| int CloseGpioPinFd |
( |
int |
GpioPinFd | ) |
|
| int GpioExport |
( |
int |
Pin | ) |
|
Request a gpio pin to be exported via the sysfs filesystem.
- Parameters
-
- Returns
- zero on succes, a negative number on failure
Definition at line 17 of file GpioExport.c.
| int GpioUnExport |
( |
int |
Pin | ) |
|
Request a pin to be unexported from the sysfs filesystem.
- Parameters
-
| Pin | Gpio pin to be unexported |
- Returns
- zero on succes and a negative number on failure
Definition at line 17 of file GpioUnExport.c.
| int OpenGpioPinFd |
( |
int |
Pin | ) |
|
| int SetGpioAsOutput |
( |
int |
Pin | ) |
|
set a gpio pin in output mode
- Parameters
-
- Returns
- zero on succes, a negative number on failure
Definition at line 15 of file SetGpioAsOutput.c.
| int SwitchSender |
( |
int |
State | ) |
|
Switch sender on or off.
- Parameters
-
- Returns
- 0 on succes, a negative number on failure
Definition at line 15 of file SwitchSender.c.