flinklib
flinklib: flink C library for Linux
|
flink userspace library, subdevice function "digital I/O". More...
Go to the source code of this file.
Functions | |
int | flink_dio_set_direction (flink_subdev *subdev, uint32_t channel, uint8_t output) |
Configures a channel as input or output. More... | |
int | flink_dio_set_value (flink_subdev *subdev, uint32_t channel, uint8_t value) |
Sets a output channel to a value. More... | |
int | flink_dio_get_value (flink_subdev *subdev, uint32_t channel, uint8_t *value) |
Reads an input channel. More... | |
flink userspace library, subdevice function "digital I/O".
Contains the high-level functions for a flink subdevice which realizes the function "digital I/O".
Definition in file dio.c.
int flink_dio_get_value | ( | flink_subdev * | subdev, |
uint32_t | channel, | ||
uint8_t * | value | ||
) |
int flink_dio_set_direction | ( | flink_subdev * | subdev, |
uint32_t | channel, | ||
uint8_t | output | ||
) |
int flink_dio_set_value | ( | flink_subdev * | subdev, |
uint32_t | channel, | ||
uint8_t | value | ||
) |