Go to the documentation of this file.
34 #ifndef IIO_ADXRS290_H
35 #define IIO_ADXRS290_H
int32_t adxrs290_get_lpf(struct adxrs290_dev *dev, enum adxrs290_lpf *lpf)
Get the low-pass filter pole location.
Definition: adxrs290.c:120
struct iio_trigger adxrs290_iio_trig_desc
Definition: iio_adxrs290_trig.c:47
#define END_ATTRIBUTES_ARRAY
Definition: iio_types.h:116
Header file for iio_trigger.
@ IIO_ANGL_VEL
Definition: iio_types.h:68
Struct describing the scan type.
Definition: iio_types.h:168
char sign
Definition: iio_types.h:153
int32_t adxrs290_set_hpf(struct adxrs290_dev *dev, enum adxrs290_hpf hpf)
Set the low-pass filter pole location.
Definition: adxrs290.c:181
Structure holding channel attributess.
Definition: iio_types.h:103
int32_t adxrs290_get_burst_data(struct adxrs290_dev *dev, int16_t *burst_data, uint8_t *ch_cnt)
Get the burst data.
Definition: adxrs290.c:253
int32_t adxrs290_reg_read(struct adxrs290_dev *dev, uint8_t address, uint8_t *data)
Read device register.
Definition: adxrs290.c:55
Definition: ad9361_util.h:69
enum iio_chan_type ch_type
Definition: iio_types.h:172
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
#define ADXRS290_CHANNEL_COUNT
Definition: adxrs290.h:90
struct iio_device adxrs290_iio_descriptor
Definition: iio_adxrs290.c:305
@ IIO_MOD_Y
Definition: iio_types.h:91
const char * name
Definition: iio_types.h:131
int32_t adxrs290_set_active_channels(struct adxrs290_dev *dev, uint32_t mask)
Set the ADXRS290 active channels.
Definition: adxrs290.c:293
int32_t adxrs290_get_data_ready(struct adxrs290_dev *dev, bool *rdy)
Get the state of data ready.
Definition: adxrs290.c:306
Implementation of ADXRS290 Driver.
int32_t adxrs290_get_rate_data(struct adxrs290_dev *dev, enum adxrs290_channel ch, int16_t *rate)
Get the Gyro data channels.
Definition: adxrs290.c:203
Structure holding pointers to show and store functions.
Definition: iio_types.h:129
int32_t adxrs290_set_lpf(struct adxrs290_dev *dev, enum adxrs290_lpf lpf)
Set the low-pass filter pole location.
Definition: adxrs290.c:140
Device driver handler.
Definition: adxrs290.h:174
@ ADXRS290_CHANNEL_TEMP
Definition: adxrs290.h:117
struct iio_attribute * attributes
Definition: iio_types.h:186
Header file for iio_types.
uint16_t num_ch
Definition: iio_types.h:252
@ IIO_MOD_X
Definition: iio_types.h:90
@ IIO_TEMP
Definition: iio_types.h:69
int32_t adxrs290_reg_write(struct adxrs290_dev *dev, uint8_t address, uint8_t data)
Write device register.
Definition: adxrs290.c:77
Definition: iio_types.h:231
#define NULL
Definition: wrapper.h:64
int16_t ch_num
Definition: iio_types.h:105
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
Definition: iio_types.h:151
adxrs290_lpf
Low-Pass filter pole location.
Definition: adxrs290.h:124
adxrs290_hpf
High-Pass filter pole location.
Definition: adxrs290.h:139
Header file of utility functions.
Definition: iio_types.h:226
int32_t adxrs290_get_hpf(struct adxrs290_dev *dev, enum adxrs290_hpf *hpf)
Get the high-pass filter pole location.
Definition: adxrs290.c:161
int iio_buffer_push_scan(struct iio_buffer *buffer, void *data)
Definition: iio.c:1434
struct iio_device adxrs290_iio_descriptor
Definition: iio_adxrs290.c:305