Firmware
|
IO expander device API. More...
#include <stdint.h>
#include <sys/ioctl.h>
Go to the source code of this file.
Macros | |
#define | _IOXIOCBASE (0x2800) |
#define | _IOXIOC(_n) (_IOC(_IOXIOCBASE, _n)) |
#define | IOX_SET_MASK _IOXIOC(1) |
set a bitmask (non-blocking) | |
#define | IOX_GET_MASK _IOXIOC(2) |
get a bitmask (blocking) | |
#define | IOX_SET_MODE _IOXIOC(3) |
set device mode (non-blocking) | |
#define | IOX_SET_VALUE _IOXIOC(4) |
set constant values (non-blocking) | |
Enumerations | |
enum | IOX_MODE { IOX_MODE_OFF, IOX_MODE_ON, IOX_MODE_TEST_OUT } |
IO expander device API.