![]() |
no-OS
|
Structure holding pointers to show and store functions. More...
#include <iio_types.h>
Public Attributes | |
| const char * | name |
| intptr_t | priv |
| enum iio_attribute_shared | shared |
| int(* | show )(void *device, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv) |
| int(* | store )(void *device, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv) |
Structure holding pointers to show and store functions.
| const char* iio_attribute::name |
Attribute name
| intptr_t iio_attribute::priv |
Attribute id
| enum iio_attribute_shared iio_attribute::shared |
Whether this attribute is shared by all channels of the same type, or direction or simply by all channels. If left uninitialized, the sharedness defaults to separate.
| int(* iio_attribute::show) (void *device, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv) |
Show function pointer
| int(* iio_attribute::store) (void *device, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv) |
Store function pointer