13 #ifndef _PL_GUI_IIO_WRAPPER_
14 #define _PL_GUI_IIO_WRAPPER_
41 char *attr_val, uint32_t dev_indx);
43 char *attr_val, uint32_t chn_indx, uint32_t dev_indx);
47 uint32_t chn_indx, uint32_t dev_indx);
51 uint32_t chn_indx, uint32_t dev_indx);
52 int32_t
pl_gui_read_reg(uint32_t addr, uint32_t *data, uint32_t dev_indx);
int32_t pl_gui_read_global_attr(const char *attr_name, char *attr_val, uint32_t dev_indx)
Read global attr value.
Definition: pl_gui_iio_wrapper.c:323
int32_t pl_gui_write_reg(uint32_t addr, uint32_t data, uint32_t dev_indx)
Write register value.
Definition: pl_gui_iio_wrapper.c:518
int32_t pl_gui_write_global_attr(const char *attr_name, char *attr_val, uint32_t dev_indx)
Write global attr value.
Definition: pl_gui_iio_wrapper.c:409
int32_t pl_gui_get_dmm_reading(char *val, uint32_t chn_indx, uint32_t dev_indx)
Get DMM reading.
Definition: pl_gui_iio_wrapper.c:540
int32_t pl_gui_get_global_attr_names(char *attr_names, uint32_t dev_indx)
Get IIO global attributes names.
Definition: pl_gui_iio_wrapper.c:165
int32_t pl_gui_read_chn_info(struct scan_type *chn_info, uint32_t chn_indx, uint32_t dev_indx)
Read channel scan info.
Definition: pl_gui_iio_wrapper.c:632
int32_t pl_gui_get_chn_attr_names(char *attr_names, uint32_t chn_indx, uint32_t dev_indx)
Get IIO channel attributes names.
Definition: pl_gui_iio_wrapper.c:195
int32_t pl_gui_read_reg(uint32_t addr, uint32_t *data, uint32_t dev_indx)
Read register value.
Definition: pl_gui_iio_wrapper.c:496
int32_t pl_gui_get_chn_names(char *chn_names, uint32_t *nb_of_chn, uint32_t dev_indx)
Get IIO channels names.
Definition: pl_gui_iio_wrapper.c:89
int32_t pl_gui_get_dev_names(char *dev_names)
Get IIO device names.
Definition: pl_gui_iio_wrapper.c:64
int32_t pl_gui_get_global_attr_avail_options(const char *attr_name, char *attr_val, uint32_t dev_indx)
Get global available attributes options.
Definition: pl_gui_iio_wrapper.c:228
int32_t pl_gui_read_chn_attr(char *attr_name, char *attr_val, uint32_t chn_indx, uint32_t dev_indx)
Read channel attr value.
Definition: pl_gui_iio_wrapper.c:364
int32_t pl_gui_write_chn_attr(const char *attr_name, char *attr_val, uint32_t chn_indx, uint32_t dev_indx)
Write channel attr value.
Definition: pl_gui_iio_wrapper.c:451
int32_t pl_gui_get_chn_attr_avail_options(const char *attr_name, char *attr_val, uint32_t chn_indx, uint32_t dev_indx)
Get channel available attributes options.
Definition: pl_gui_iio_wrapper.c:273
int32_t pl_gui_save_dev_param_desc(struct iio_init_param *param)
Save the iio init params descriptor for future use.
Definition: pl_gui_iio_wrapper.c:48
int32_t pl_gui_get_chn_unit(char *chn_unit, uint32_t chn_indx, uint32_t dev_indx)
Get IIO channels unit type (in string format)
Definition: pl_gui_iio_wrapper.c:120