dio
[Interface specifications]
Collaboration diagram for dio:
Detailed Description
Digital I/O.
The dio
interface provides access to a digital I/O device.
#define | PLAYER_DIO_DATA_VALUES 1 |
#define | PLAYER_DIO_CMD_VALUES 1 |
typedef player_dio_data | player_dio_data_t |
Data: input values (PLAYER_DIO_DATA_VALUES). | |
typedef player_dio_cmd | player_dio_cmd_t |
Command: output values (PLAYER_DIO_CMD_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.