dio
[Interface specifications]
Detailed Description
Digital I/OThedio
interface provides access to a digital I/O device.
#define | PLAYER_DIO_DATA_VALUES 1 |
#define | PLAYER_DIO_CMD_VALUES 1 |
Command subtype: output values. | |
typedef struct player_dio_data | player_dio_data_t |
typedef struct player_dio_cmd | player_dio_cmd_t |
Define Documentation
#define PLAYER_DIO_DATA_VALUES 1 |
Data subtype: input values
Typedef Documentation
typedef struct player_dio_cmd player_dio_cmd_t |
Command: output values (PLAYER_DIO_CMD_VALUES)The dio
interface accepts 4-byte commands which consist of the ouput bitfield
typedef struct player_dio_data player_dio_data_t |
Data: input values (PLAYER_DIO_DATA_VALUES)The dio
interface returns data regarding the current state of the digital inputs.