no-OS
iio_adxrs290.h
Go to the documentation of this file.
1 /***************************************************************************/
40 #ifndef IIO_ADXRS290_H
41 #define IIO_ADXRS290_H
42 
43 #include "iio_types.h"
44 #include "iio_trigger.h"
45 
48 
49 #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:126
adxrs290_iio_trig_desc
struct iio_trigger adxrs290_iio_trig_desc
Definition: iio_adxrs290_trig.c:53
END_ATTRIBUTES_ARRAY
#define END_ATTRIBUTES_ARRAY
Definition: iio_types.h:122
iio_trigger.h
Header file for iio_trigger.
IIO_ANGL_VEL
@ IIO_ANGL_VEL
Definition: iio_types.h:74
iio_channel
Struct describing the scan type.
Definition: iio_types.h:174
scan_type::sign
char sign
Definition: iio_types.h:159
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:187
iio_ch_info
Structure holding channel attributess.
Definition: iio_types.h:109
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:259
adxrs290_reg_read
int32_t adxrs290_reg_read(struct adxrs290_dev *dev, uint8_t address, uint8_t *data)
Read device register.
Definition: adxrs290.c:61
device
Definition: ad9361_util.h:75
iio_channel::ch_type
enum iio_chan_type ch_type
Definition: iio_types.h:178
NO_OS_ARRAY_SIZE
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:55
ADXRS290_CHANNEL_COUNT
#define ADXRS290_CHANNEL_COUNT
Definition: adxrs290.h:96
adxrs290_iio_descriptor
struct iio_device adxrs290_iio_descriptor
Definition: iio_adxrs290.c:311
iio.h
Header file of iio.
no_os_error.h
Error codes definition.
IIO_MOD_Y
@ IIO_MOD_Y
Definition: iio_types.h:97
iio_attribute::name
const char * name
Definition: iio_types.h:137
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:299
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:312
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:209
iio_attribute
Structure holding pointers to show and store functions.
Definition: iio_types.h:135
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:146
adxrs290_dev
Device driver handler.
Definition: adxrs290.h:180
ADXRS290_CHANNEL_TEMP
@ ADXRS290_CHANNEL_TEMP
Definition: adxrs290.h:123
iio_channel::attributes
struct iio_attribute * attributes
Definition: iio_types.h:192
iio_types.h
Header file for iio_types.
iio_device::num_ch
uint16_t num_ch
Definition: iio_types.h:258
IIO_MOD_X
@ IIO_MOD_X
Definition: iio_types.h:96
IIO_TEMP
@ IIO_TEMP
Definition: iio_types.h:75
adxrs290_reg_write
int32_t adxrs290_reg_write(struct adxrs290_dev *dev, uint8_t address, uint8_t data)
Write device register.
Definition: adxrs290.c:83
iio_trigger
Definition: iio_types.h:237
NULL
#define NULL
Definition: wrapper.h:64
iio_ch_info::ch_num
int16_t ch_num
Definition: iio_types.h:111
iio_device
Structure holding channels and attributes of a device.
Definition: iio_types.h:253
scan_type
Definition: iio_types.h:157
adxrs290_lpf
adxrs290_lpf
Low-Pass filter pole location.
Definition: adxrs290.h:130
adxrs290_hpf
adxrs290_hpf
High-Pass filter pole location.
Definition: adxrs290.h:145
no_os_util.h
Header file of utility functions.
iio_device_data
Definition: iio_types.h:232
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:167
iio_buffer_push_scan
int iio_buffer_push_scan(struct iio_buffer *buffer, void *data)
Definition: iio.c:1413
adxrs290_iio_descriptor
struct iio_device adxrs290_iio_descriptor
Definition: iio_adxrs290.c:311