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