F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Drv/LinuxGpioDriver/LinuxGpioDriverComponentImpl.hpp>
#include <FpConfig.hpp>
#include <Os/TaskString.hpp>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cerrno>
#include <unistd.h>
#include <fcntl.h>
#include <poll.h>
Go to the source code of this file.
Namespaces | |
namespace | Drv |
Macros | |
#define | SYSFS_GPIO_DIR "/sys/class/gpio" |
#define | MAX_BUF 64 |
#define | DEBUG_PRINT(x, ...) |
Functions | |
int | Drv::gpio_export (unsigned int gpio) |
int | Drv::gpio_unexport (unsigned int gpio) |
int | Drv::gpio_set_dir (unsigned int gpio, unsigned int out_flag) |
int | Drv::gpio_set_value (int fd, unsigned int value) |
int | Drv::gpio_get_value (int fd, unsigned int *value) |
int | Drv::gpio_set_edge (unsigned int gpio, const char *edge) |
int | Drv::gpio_fd_open (unsigned int gpio) |
int | Drv::gpio_fd_close (int fd, unsigned int gpio) |
#define DEBUG_PRINT | ( | x, | |
... | |||
) |
Definition at line 31 of file LinuxGpioDriverComponentImpl.cpp.
#define MAX_BUF 64 |
Definition at line 20 of file LinuxGpioDriverComponentImpl.cpp.
#define SYSFS_GPIO_DIR "/sys/class/gpio" |
Definition at line 19 of file LinuxGpioDriverComponentImpl.cpp.