dio
[Interface specifications]


Detailed Description

Digital I/O.

The dio interface provides access to a digital I/O device.

#define PLAYER_DIO_DATA_VALUES   1
 Data subtype: input values.
#define PLAYER_DIO_CMD_VALUES   1
 Command subtype: output values.
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.


Last updated 12 September 2005 21:38:45