aio
[Device proxies]
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. |
Function Documentation
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_set_output | ( | playerc_aio_t * | device, | |
uint8_t | id, | |||
float | volt | |||
) |
Set the output for the aio device.
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.