aio
[Device proxies]
Collaboration diagram for aio:
Detailed Description
The aio proxy provides an interface to the analog input/output sensors.
Classes | |
struct | playerc_aio_t |
Aio proxy data. More... | |
Functions | |
playerc_aio_t * | playerc_aio_create (playerc_client_t *client, int index) |
Create a aio proxy. | |
void | playerc_aio_destroy (playerc_aio_t *device) |
Destroy a aio proxy. | |
int | playerc_aio_subscribe (playerc_aio_t *device, int access) |
Subscribe to the aio device. | |
int | playerc_aio_unsubscribe (playerc_aio_t *device) |
Un-subscribe from the aio device. | |
int | playerc_aio_set_output (playerc_aio_t *device, uint8_t id, float volt) |
Set the output for the aio device. | |
float | playerc_aio_get_data (playerc_aio_t *device, uint32_t index) |
get the aio data |