#include <stdbool.h>
#include <stdint.h>
Go to the source code of this file.
|
bool | gpioToggle (const char *selectedChip, int selectedPin, int value) |
|
bool | gpioDriveHigh (const char *selectedChip, int selectedPin) |
|
bool | gpioDriveLow (const char *selectedChip, int selectedPin) |
|
int | gpioReceive (const char *selectedChip, int selectedPin) |
|
bool | gpioListenIridBooted (const char *selectedChip, int selectedPin, const int timeout) |
|
◆ CHIP_NAME
#define CHIP_NAME "/dev/gpiochip0" |
◆ GPIO_CHIP_MAX_LEN
#define GPIO_CHIP_MAX_LEN 20U |
◆ IRIDIUM_BOOTED_PIN
#define IRIDIUM_BOOTED_PIN 23U |
◆ IRIDIUM_ENABLE_PIN
#define IRIDIUM_ENABLE_PIN 16U |
◆ PI_HAT_PATH
#define PI_HAT_PATH "/dev/ttyS0" |
◆ POWER_ENABLE_PIN
#define POWER_ENABLE_PIN 24U |
◆ gpioDriveHigh()
bool gpioDriveHigh |
( |
const char * |
selectedChip, |
|
|
int |
selectedPin |
|
) |
| |
◆ gpioDriveLow()
bool gpioDriveLow |
( |
const char * |
selectedChip, |
|
|
int |
selectedPin |
|
) |
| |
◆ gpioListenIridBooted()
bool gpioListenIridBooted |
( |
const char * |
selectedChip, |
|
|
int |
selectedPin, |
|
|
const int |
timeout |
|
) |
| |
◆ gpioReceive()
int gpioReceive |
( |
const char * |
selectedChip, |
|
|
int |
selectedPin |
|
) |
| |
◆ gpioToggle()
bool gpioToggle |
( |
const char * |
selectedChip, |
|
|
int |
selectedPin, |
|
|
int |
value |
|
) |
| |
◆ gpioTable