Go to the documentation of this file.
34 #ifndef IIO_ADPD410X_H
35 #define IIO_ADPD410X_H
50 #endif //IIO_ADPD410X_H
#define END_ATTRIBUTES_ARRAY
Definition: iio_types.h:116
Struct describing the scan type.
Definition: iio_types.h:168
char sign
Definition: iio_types.h:153
struct iio_device const adpd410x_iio_descriptor
Definition: iio_adpd410x.c:396
uint64_t sampling_freq
Definition: headless.c:73
int32_t adpd410x_get_opmode(struct adpd410x_dev *dev, enum adpd410x_opmode *mode)
Get operation mode.
Definition: adpd410x.c:244
Structure holding channel attributess.
Definition: iio_types.h:103
struct iio_device const adpd410x_iio_descriptor
Definition: iio_adpd410x.c:396
@ ADPD410X_GOMODE
Definition: adpd410x.h:923
Definition: ad9361_util.h:69
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
uint32_t no_os_str_to_uint32(const char *str)
int32_t adpd410x_set_last_timeslot(struct adpd410x_dev *dev, enum adpd410x_timeslots timeslot_no)
Set number of active time slots.
Definition: adpd410x.c:265
const char * name
Definition: iio_types.h:131
Device driver handler.
Definition: adpd410x.h:1178
int32_t adpd410x_get_last_timeslot(struct adpd410x_dev *dev, enum adpd410x_timeslots *timeslot_no)
Get number of active time slots.
Definition: adpd410x.c:278
Structure holding pointers to show and store functions.
Definition: iio_types.h:129
@ ADPD410X_STANDBY
Definition: adpd410x.h:921
adpd410x_opmode
Operation modes of the device.
Definition: adpd410x.h:919
int32_t adpd410x_get_sampling_freq(struct adpd410x_dev *dev, uint32_t *sampling_freq)
Get device sampling frequency.
Definition: adpd410x.c:334
struct iio_attribute * attributes
Definition: iio_types.h:186
Header file for iio_types.
uint16_t num_ch
Definition: iio_types.h:252
#define NULL
Definition: wrapper.h:64
int32_t adpd410x_set_sampling_freq(struct adpd410x_dev *dev, uint32_t sampling_freq)
Set device sampling frequency.
Definition: adpd410x.c:299
int16_t ch_num
Definition: iio_types.h:105
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
int32_t adpd410x_get_data(struct adpd410x_dev *dev, uint32_t *data)
Get a full data packet from the device containing data from all active time slots.
Definition: adpd410x.c:626
int32_t adpd410x_reg_read(struct adpd410x_dev *dev, uint16_t address, uint16_t *data)
Read device register.
Definition: adpd410x.c:56
#define ADPD410X_IIO_NUM_CH
Definition: iio_adpd410x.c:50
Definition: iio_types.h:151
Header file of utility functions.
#define ADPD410X_IIO_CHANN_DEF(nm, ch)
Definition: iio_adpd410x.c:339
int32_t adpd410x_reg_write(struct adpd410x_dev *dev, uint16_t address, uint16_t data)
Write device register.
Definition: adpd410x.c:138
int32_t adpd410x_set_opmode(struct adpd410x_dev *dev, enum adpd410x_opmode mode)
Set operation mode.
Definition: adpd410x.c:231