41#define MAX22200_HOLD_MAX_VAL 0xFF
42#define MAX22200_HIT_T_MAX_VAL 0xFF
76static const char *
const max22200_scale_avail[2] = {
81static const char *
const max22200_channel_trig_avail[2] = {
86static const char *
const max22200_ch_drive_avail[2] = {
91static const char *
const max22200_ch_side_avail[2] = {
96static const char *
const max22200_ch_op_mode_avail[3] = {
102static const char *
const max22200_channel_freq_avail[4] = {
109static const char *
const max22200_chopping_freq_avail[2] = {
max22200_iio_fault_mask
Definition iio_max22200.h:44
@ MAX22200_IIO_COMER_MASK
Definition iio_max22200.h:46
@ MAX22200_IIO_DPM_MASK
Definition iio_max22200.h:47
@ MAX22200_IIO_OCP_MASK
Definition iio_max22200.h:50
@ MAX22200_IIO_HHF_MASK
Definition iio_max22200.h:48
@ MAX22200_IIO_UVM_MASK
Definition iio_max22200.h:45
@ MAX22200_IIO_OVT_MASK
Definition iio_max22200.h:51
@ MAX22200_IIO_OLF_MASK
Definition iio_max22200.h:49
max22200_iio_ch_attrs
Definition iio_max22200.h:54
@ MAX22200_IIO_SCALE
Definition iio_max22200.h:55
@ MAX22200_IIO_CH_SIDE
Definition iio_max22200.h:61
@ MAX22200_IIO_HIT_CURRENT
Definition iio_max22200.h:56
@ MAX22200_IIO_HOLD_CURRENT
Definition iio_max22200.h:58
@ MAX22200_IIO_CH_TRIG
Definition iio_max22200.h:59
@ MAX22200_IIO_CH_DRIVE
Definition iio_max22200.h:60
@ MAX22200_IIO_HIT_TIME
Definition iio_max22200.h:57
@ MAX22200_IIO_CH_OP_MODE
Definition iio_max22200.h:62
@ MAX22200_IIO_CH_FREQ
Definition iio_max22200.h:63
max22200_iio_available
Definition iio_max22200.h:66
@ MAX22200_IIO_CH_DRIVE_AVAILABLE
Definition iio_max22200.h:71
@ MAX22200_IIO_CH_TRIG_AVAILABLE
Definition iio_max22200.h:68
@ MAX22200_IIO_CH_SIDE_AVAILABLE
Definition iio_max22200.h:72
@ MAX22200_IIO_CH_FREQ_AVAILABLE
Definition iio_max22200.h:69
@ MAX22200_IIO_SCALE_AVAILABLE
Definition iio_max22200.h:67
@ MAX22200_IIO_CHOP_FREQ_AVAILABLE
Definition iio_max22200.h:70
@ MAX22200_IIO_CH_OP_MODE_AVAILABLE
Definition iio_max22200.h:73
int max22200_iio_init(struct max22200_iio_desc **, struct max22200_iio_desc_init_param *)
Initializes the MAX22200 IIO descriptor.
Definition iio_max22200.c:1041
int max22200_iio_remove(struct max22200_iio_desc *)
Free resources allocated by the init function.
Definition iio_max22200.c:1080
Header file of MAX22200 Driver.
#define MAX22200_CHANNELS
Definition max22200.h:44
Structure holding channels and attributes of a device.
Definition iio_types.h:238
Initalization parameter fr the MAX22200 IIO descriptor.
Definition iio_max22200.h:125
struct max22200_init_param * max22200_init_param
Definition iio_max22200.h:126
bool ch_enable[MAX22200_CHANNELS]
Definition iio_max22200.h:127
MAX22200 specific IIO descriptor.
Definition iio_max22200.h:117
struct iio_device * iio_dev
Definition iio_max22200.h:119
struct max22200_desc * max22200_desc
Definition iio_max22200.h:118