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 
45 
47 
48 #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:125
END_ATTRIBUTES_ARRAY
#define END_ATTRIBUTES_ARRAY
Definition: iio_types.h:109
IIO_ANGL_VEL
@ IIO_ANGL_VEL
Definition: iio_types.h:74
iio_channel
Struct describing the scan type.
Definition: iio_types.h:172
scan_type::sign
char sign
Definition: iio_types.h:157
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:186
iio_ch_info
Structure holding channel attributess.
Definition: iio_types.h:96
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:258
adxrs290_reg_read
int32_t adxrs290_reg_read(struct adxrs290_dev *dev, uint8_t address, uint8_t *data)
Read device register.
Definition: adxrs290.c:60
device
Definition: ad9361_util.h:75
iio_channel::ch_type
enum iio_chan_type ch_type
Definition: iio_types.h:176
NO_OS_ARRAY_SIZE
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:53
ADXRS290_CHANNEL_COUNT
#define ADXRS290_CHANNEL_COUNT
Definition: adxrs290.h:96
adxrs290_iio_descriptor
struct iio_device adxrs290_iio_descriptor
Definition: iio_adxrs290.c:296
no_os_error.h
Error codes definition.
IIO_MOD_Y
@ IIO_MOD_Y
Definition: iio_types.h:87
iio_attribute::name
const char * name
Definition: iio_types.h:135
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:298
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:311
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:208
iio_attribute
Structure holding pointers to show and store functions.
Definition: iio_types.h:133
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:145
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:190
iio_types.h
Header file for iio_types.
iio_device::num_ch
uint16_t num_ch
Definition: iio_types.h:247
IIO_MOD_X
@ IIO_MOD_X
Definition: iio_types.h:86
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:82
NULL
#define NULL
Definition: wrapper.h:64
iio_ch_info::ch_num
int16_t ch_num
Definition: iio_types.h:98
iio_device
Structure holding channels and attributes of a device.
Definition: iio_types.h:242
scan_type
Definition: iio_types.h:155
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
Implementation of utility functions.
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:166
adxrs290_iio_descriptor
struct iio_device adxrs290_iio_descriptor
Definition: iio_adxrs290.c:296