48static const char *
const ad74413r_diag_available[] = {
Header file of AD74413r Driver.
#define AD74413R_N_DIAG_CHANNELS
Definition ad74413r.h:42
ad74413r_diag_mode
Possible values to be loaded in the DIAG_RESULT register.
Definition ad74413r.h:241
@ AD74413R_SENSEL_B
Definition ad74413r.h:253
@ AD74413R_SENSEL_A
Definition ad74413r.h:252
@ AD74413R_DIAG_DLDO_1V8
Definition ad74413r.h:249
@ AD74413R_DIAG_AGND
Definition ad74413r.h:242
@ AD74413R_DIAG_ALDO_5V
Definition ad74413r.h:247
@ AD74413R_DIAG_IOVDD
Definition ad74413r.h:251
@ AD74413R_DIAG_AVDD
Definition ad74413r.h:244
@ AD74413R_SENSEL_D
Definition ad74413r.h:255
@ AD74413R_SENSEL_C
Definition ad74413r.h:254
@ AD74413R_DIAG_ALDO_1V8
Definition ad74413r.h:248
@ AD74413R_DIAG_DVCC
Definition ad74413r.h:250
@ AD74413R_DIAG_REFOUT
Definition ad74413r.h:246
@ AD74413R_DIAG_AVSS
Definition ad74413r.h:245
@ AD74413R_DIAG_TEMP
Definition ad74413r.h:243
#define AD74413R_N_CHANNELS
Definition ad74413r.h:41
ad74413r_conv_seq
ADC conversion sequence commands.
Definition ad74413r.h:220
int ad74413r_iio_remove(struct ad74413r_iio_desc *)
Free an iio descriptor.
Definition iio_ad74413r.c:1567
int ad74413r_iio_init(struct ad74413r_iio_desc **, struct ad74413r_iio_desc_init_param *)
Initializes the AD74413R IIO descriptor.
Definition iio_ad74413r.c:1516
Header file for iio_trigger.
Device channel state.
Definition ad74413r.h:313
Structure used to store a set of channel specific to an operation mode.
Definition iio_ad74413r.h:94
uint32_t num_channels
Definition iio_ad74413r.h:96
struct iio_channel * channels
Definition iio_ad74413r.h:95
Diagnostics channel state.
Definition iio_ad74413r.h:43
bool enabled
Definition iio_ad74413r.h:44
enum ad74413r_diag_mode function
Definition iio_ad74413r.h:45
Init parameter for the iio descriptor.
Definition iio_ad74413r.h:83
struct ad74413r_init_param * ad74413r_init_param
Definition iio_ad74413r.h:84
struct ad74413r_channel_config channel_configs[AD74413R_N_CHANNELS]
Definition iio_ad74413r.h:85
struct ad74413r_diag_channel_config diag_channel_configs[AD74413R_N_DIAG_CHANNELS]
Definition iio_ad74413r.h:87
struct iio_hw_trig * trigger
Definition iio_ad74413r.h:86
Descriptor that stores a iio specific state.
Definition iio_ad74413r.h:68
struct ad74413r_diag_channel_config diag_channel_configs[AD74413R_N_DIAG_CHANNELS]
Definition iio_ad74413r.h:76
struct ad74413r_channel_config channel_configs[AD74413R_N_CHANNELS]
Definition iio_ad74413r.h:73
uint32_t active_channels
Definition iio_ad74413r.h:71
struct iio_device * iio_dev
Definition iio_ad74413r.h:70
uint8_t no_of_active_channels
Definition iio_ad74413r.h:72
enum ad74413r_conv_seq conv_state
Definition iio_ad74413r.h:75
struct iio_hw_trig * trigger
Definition iio_ad74413r.h:74
struct ad74413r_desc * ad74413r_desc
Definition iio_ad74413r.h:69
Struct describing the scan type.
Definition iio_types.h:159
Structure holding channels and attributes of a device.
Definition iio_types.h:238
IIO hardware trigger structure.
Definition iio_trigger.h:47