no-OS
Public Attributes | List of all members
iio_attribute Struct Reference

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)
 

Detailed Description

Structure holding pointers to show and store functions.

Member Data Documentation

◆ name

const char* iio_attribute::name

Attribute name

◆ priv

intptr_t iio_attribute::priv

Attribute id

◆ shared

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.

◆ show

int(* iio_attribute::show) (void *device, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)

Show function pointer

◆ store

int(* iio_attribute::store) (void *device, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)

Store function pointer


The documentation for this struct was generated from the following file: