aio
[Interface specifications]


Detailed Description

Analog I/O.

The aio interface provides access to an analog I/O device.

#define PLAYER_AIO_MAX_INPUTS   8
 The maximum number of analog I/O samples.
#define PLAYER_AIO_MAX_OUTPUTS   8
 The maximum number of analog I/O samples.
#define PLAYER_AIO_CMD_STATE   1
 Command subtype: state.
#define PLAYER_AIO_DATA_STATE   1
 Data subtype: state.
typedef player_aio_data player_aio_data_t
 Data: state (PLAYER_AIO_DATA_STATE).
typedef player_aio_cmd player_aio_cmd_t
 Command: state (PLAYER_AIO_CMD_STATE).

Typedef Documentation

typedef struct player_aio_cmd player_aio_cmd_t
 

Command: state (PLAYER_AIO_CMD_STATE).

The aio interface allows for the voltage level on one output to be set

typedef struct player_aio_data player_aio_data_t
 

Data: state (PLAYER_AIO_DATA_STATE).

The aio interface returns data regarding the current state of the analog inputs.


Last updated 12 September 2005 21:38:45