no-OS
iio_adis1646x.h
Go to the documentation of this file.
1 /***************************************************************************/
34 #ifndef IIO_ADIS1646X_H
35 #define IIO_ADIS1646X_H
36 
37 /******************************************************************************/
38 /***************************** Include Files **********************************/
39 /******************************************************************************/
40 
41 #include "iio_adis_internals.h"
42 #include "adis1646x.h"
43 
44 /******************************************************************************/
45 /************************ Functions Declarations ******************************/
46 /******************************************************************************/
47 
50  struct adis_init_param *init_param);
51 
53 void adis1646x_iio_remove(struct adis_iio_dev *desc);
54 
55 #endif
adis_write_dr_polarity
int adis_write_dr_polarity(struct adis_dev *adis, uint32_t dr_polarity)
Write data ready polarity encoded value.
Definition: adis.c:2600
IIO_ACCEL
@ IIO_ACCEL
Definition: iio_types.h:71
adis_write_gpio_lvl
int adis_write_gpio_lvl(struct adis_dev *adis, uint8_t dio_nb, uint32_t level)
Write gpio level configuration.
Definition: adis.c:3002
adis_write_zg_scale
int adis_write_zg_scale(struct adis_dev *adis, int32_t zg_scale)
Write raw gyroscope scale adjustment on z axis.
Definition: adis.c:1754
adis_write_fifo_en
int adis_write_fifo_en(struct adis_dev *adis, uint32_t fifo_en)
Write FIFO enable bit value.
Definition: adis.c:1846
ADIS16475_3
@ ADIS16475_3
Definition: adis.h:84
ADIS_CMD_SNSR_SELF_TEST
@ ADIS_CMD_SNSR_SELF_TEST
Definition: iio_adis_internals.h:173
adis_read_prod_id
int adis_read_prod_id(struct adis_dev *adis, uint32_t *prod_id)
Read product id value.
Definition: adis.c:3790
ADIS_DELTA_ANGL_Z
@ ADIS_DELTA_ANGL_Z
Definition: iio_adis_internals.h:62
adis_read_fir_en_xa
int adis_read_fir_en_xa(struct adis_dev *adis, uint32_t *fir_en_xa)
Read x axis accelerometer filter enable bit value.
Definition: adis.c:2140
ADIS_DIO_3_DIR
@ ADIS_DIO_3_DIR
Definition: iio_adis_internals.h:132
adis_iio_read_offset
int adis_iio_read_offset(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the read request for offset attribute.
Definition: iio_adis.c:246
adis_write_up_scale
int adis_write_up_scale(struct adis_dev *adis, uint32_t up_scale)
Write external clock scale factor value.
Definition: adis.c:3337
ADIS16465_1
@ ADIS16465_1
Definition: adis.h:75
adis_iio_pre_enable
int adis_iio_pre_enable(void *dev, uint32_t mask)
API to be called before trigger is enabled.
Definition: iio_adis.c:1412
adis_iio_write_lpf
int adis_iio_write_lpf(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the write request for lpf attribute.
Definition: iio_adis.c:562
ADIS_FIR_BANK_SEL_ZG
@ ADIS_FIR_BANK_SEL_ZG
Definition: iio_adis_internals.h:155
adis_cmd_snsr_self_test
int adis_cmd_snsr_self_test(struct adis_dev *adis)
Command: sensor self test.
Definition: adis.c:3612
adis_read_lot_num
int adis_read_lot_num(struct adis_dev *adis, uint32_t *lot_num)
Read lot specific number value.
Definition: adis.c:3812
no_os_alloc.h
END_ATTRIBUTES_ARRAY
#define END_ATTRIBUTES_ARRAY
Definition: iio_types.h:116
adis_dev_attrs
struct iio_attribute adis_dev_attrs[]
Definition: iio_adis.c:1803
adis_iio_dev::burst_sel
uint32_t burst_sel
Definition: iio_adis_internals.h:232
adis_iio_delta_vel_attrs
struct iio_attribute adis_iio_delta_vel_attrs[]
Definition: iio_adis.c:1880
ADIS_DIAG_FLS_MEM_WR_CNT_EXCEED
@ ADIS_DIAG_FLS_MEM_WR_CNT_EXCEED
Definition: iio_adis_internals.h:103
iio_buffer::samples
uint32_t samples
Definition: iio_types.h:217
ADIS16470
@ ADIS16470
Definition: adis.h:81
adis_iio_write_sampling_freq
int adis_iio_write_sampling_freq(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the write request for sampling frequency attribute.
Definition: iio_adis.c:753
iio_trigger.h
Header file for iio_trigger.
ADIS_FIR_EN_XG
@ ADIS_FIR_EN_XG
Definition: iio_adis_internals.h:147
adis_read_diag_config_calib_crc_error
int adis_read_diag_config_calib_crc_error(struct adis_dev *adis, uint32_t *config_calib_crc_error)
Diagnosis: read configuration and/or calibration CRC error flag value.
Definition: adis.c:1021
adis_read_fir_en_za
int adis_read_fir_en_za(struct adis_dev *adis, uint32_t *fir_en_za)
Read z axis accelerometer filter enable bit value.
Definition: adis.c:2188
adis_write_fir_en_xa
int adis_write_fir_en_xa(struct adis_dev *adis, uint32_t fir_en_xa)
Write x axis accelerometer filter enable bit value.
Definition: adis.c:2152
adis_read_firm_m
int adis_read_firm_m(struct adis_dev *adis, uint32_t *firm_m)
Read firmware factory configuration month value.
Definition: adis.c:3757
adis_get_deltaangl_scale
int adis_get_deltaangl_scale(struct adis_dev *adis, struct adis_scale_fractional_log2 *deltaangl_scale)
Read adis device delta angle scale in fractional form.
Definition: adis.c:4176
adis_read_y_deltang
int adis_read_y_deltang(struct adis_dev *adis, int32_t *y_deltang)
Read raw delta angle data on y axis.
Definition: adis.c:1448
ADIS_GYRO_CHAN
@ ADIS_GYRO_CHAN
Definition: adis.h:116
adis_read_diag_snsr_failure
int adis_read_diag_snsr_failure(struct adis_dev *adis, uint32_t *snsr_failure)
Diagnosis: read sensor self test error flag value.
Definition: adis.c:754
IIO_ANGL_VEL
@ IIO_ANGL_VEL
Definition: iio_types.h:68
adis_iio_dev::samples_lost
uint16_t samples_lost
Definition: iio_adis_internals.h:224
IIO_VAL_INT
@ IIO_VAL_INT
Definition: iio_types.h:50
iio_channel
Struct describing the scan type.
Definition: iio_types.h:168
ADIS_DIAG_EXT_5V_SUPPLY_ERR
@ ADIS_DIAG_EXT_5V_SUPPLY_ERR
Definition: iio_adis_internals.h:99
ADIS_FIFO_WM_INT_EN
@ ADIS_FIFO_WM_INT_EN
Definition: iio_adis_internals.h:114
ADIS_ACCEL_Z
@ ADIS_ACCEL_Z
Definition: iio_adis_internals.h:58
scan_type::sign
char sign
Definition: iio_types.h:153
ADIS_DIAG_POWER_SUPPLY_FAILURE
@ ADIS_DIAG_POWER_SUPPLY_FAILURE
Definition: iio_adis_internals.h:94
ADIS_DIAG_FLS_MEM_UPDATE_FAILURE
@ ADIS_DIAG_FLS_MEM_UPDATE_FAILURE
Definition: iio_adis_internals.h:75
adis_read_fifo_wm_int_pol
int adis_read_fifo_wm_int_pol(struct adis_dev *adis, uint32_t *fifo_wm_int_pol)
Read FIFO watermark interrupt polarity bit value.
Definition: adis.c:1913
ADIS_HAS_BURST_DELTA_DATA
#define ADIS_HAS_BURST_DELTA_DATA
Definition: adis_internals.h:39
adis_write_timestamp32
int adis_write_timestamp32(struct adis_dev *adis, uint32_t timestamp32)
Write timestamp32 enable bit value.
Definition: adis.c:3274
adis_write_accl_fir_enable
int adis_write_accl_fir_enable(struct adis_dev *adis, uint32_t accl_fir_enable)
Write accelerometer FIR filter control bit value.
Definition: adis.c:3074
adis_read_z_deltvel
int adis_read_z_deltvel(struct adis_dev *adis, int32_t *z_deltvel)
Read raw delta velocity data on z axis.
Definition: adis.c:1524
adis_internals.h
Internal include file used for specific chip driver definitions, which are not useful for the user.
adis_read_fir_bank_sel_za
int adis_read_fir_bank_sel_za(struct adis_dev *adis, uint32_t *fir_bank_sel_za)
Read z axis accelerometer filter bank selection encoded value.
Definition: adis.c:2376
adis_read_diag_aduc_mcu_fault
int adis_read_diag_aduc_mcu_fault(struct adis_dev *adis, uint32_t *aduc_mcu_fault)
Diagnosis: read ADuC microcontroller fault flag value.
Definition: adis.c:1000
adis_read_diag_power_supply_failure
int adis_read_diag_power_supply_failure(struct adis_dev *adis, uint32_t *power_supply_failure)
Diagnosis: read power supply error flag value.
Definition: adis.c:1084
ADIS_DR_ENABLE
@ ADIS_DR_ENABLE
Definition: iio_adis_internals.h:121
ADIS_GYRO_Z
@ ADIS_GYRO_Z
Definition: iio_adis_internals.h:55
IIO_SHARED_BY_TYPE
@ IIO_SHARED_BY_TYPE
Definition: iio_types.h:120
ADIS_ALARM_IND_ENABLE
@ ADIS_ALARM_IND_ENABLE
Definition: iio_adis_internals.h:127
ADIS_BOOT_REV
@ ADIS_BOOT_REV
Definition: iio_adis_internals.h:181
NO_OS_GENMASK
#define NO_OS_GENMASK(h, l)
Definition: no_os_util.h:82
adis_read_diag_checksum_err
void adis_read_diag_checksum_err(struct adis_dev *adis, uint32_t *checksum_err)
Diagnosis: read checksum error flag value.
Definition: adis.c:1251
adis_read_diag_x_axis_accl_failure
int adis_read_diag_x_axis_accl_failure(struct adis_dev *adis, uint32_t *x_axis_accl_failure)
Diagnosis: read X-Axis Accelerometer failure flag value.
Definition: adis.c:937
iio_device::channels
struct iio_channel * channels
Definition: iio_types.h:254
adis_iio_dev::sync_mode
uint32_t sync_mode
Definition: iio_adis_internals.h:234
ADIS16467_3
@ ADIS16467_3
Definition: adis.h:80
adis_update_ext_clk_freq
int adis_update_ext_clk_freq(struct adis_dev *adis, uint32_t clk_freq)
Update external clock frequency.
Definition: adis.c:4094
adis_iio_dev::hw_trig_desc
struct iio_hw_trig * hw_trig_desc
Definition: iio_adis_internals.h:241
adis_read_boot_rev
int adis_read_boot_rev(struct adis_dev *adis, uint32_t *boot_rev)
Read boot loader revision value.
Definition: adis.c:3779
adis_iio_dev::iio_dev
struct iio_device * iio_dev
Definition: iio_adis_internals.h:222
IIO_VAL_FRACTIONAL_LOG2
@ IIO_VAL_FRACTIONAL_LOG2
Definition: iio_types.h:56
iio_device_data::dev
void * dev
Definition: iio_types.h:227
adis_init_param
ADIS device initialization parameters.
Definition: adis.h:306
adis_write_bias_corr_en_xa
int adis_write_bias_corr_en_xa(struct adis_dev *adis, uint32_t bias_corr_en_xa)
Write x axis accelerometer bias correction enable bit value.
Definition: adis.c:3519
adis_read_fir_bank_sel_ya
int adis_read_fir_bank_sel_ya(struct adis_dev *adis, uint32_t *fir_bank_sel_ya)
Read y axis accelerometer filter bank selection encoded value.
Definition: adis.c:2344
adis_read_sync_polarity
int adis_read_sync_polarity(struct adis_dev *adis, uint32_t *sync_polarity)
Read sync polarity encoded value.
Definition: adis.c:2698
ADIS_BURST_SEL
@ ADIS_BURST_SEL
Definition: iio_adis_internals.h:141
adis_read_xg_bias
int adis_read_xg_bias(struct adis_dev *adis, int32_t *xg_bias)
Read raw gyroscope offset correction on x axis.
Definition: adis.c:1565
ADIS_FIFO_WM_LVL
@ ADIS_FIFO_WM_LVL
Definition: iio_adis_internals.h:116
adis_read_burst_sel
int adis_read_burst_sel(struct adis_dev *adis, uint32_t *burst_sel)
Read burst selection encoded value.
Definition: adis.c:3182
adis_write_fir_en_xg
int adis_write_fir_en_xg(struct adis_dev *adis, uint32_t fir_en_xg)
Write x axis gyroscope filter enable bit value.
Definition: adis.c:2080
ADIS_ALARM_IND_POLARITY
@ ADIS_ALARM_IND_POLARITY
Definition: iio_adis_internals.h:128
adis_read_usr_scr_4
int adis_read_usr_scr_4(struct adis_dev *adis, uint32_t *usr_scr_4)
Read user scratch register 4 value.
Definition: adis.c:3889
ADIS_FIRM_REV
@ ADIS_FIRM_REV
Definition: iio_adis_internals.h:182
ADIS_BIAS_CORR_EN_YG
@ ADIS_BIAS_CORR_EN_YG
Definition: iio_adis_internals.h:165
adis_write_usr_scr_1
int adis_write_usr_scr_1(struct adis_dev *adis, uint32_t usr_scr_1)
Write user scratch register 1 value.
Definition: adis.c:3834
adis_burst_data
ADIS burst data structure.
Definition: adis.h:248
iio_ch_info
Structure holding channel attributess.
Definition: iio_types.h:103
adis_read_bias_corr_tbc
int adis_read_bias_corr_tbc(struct adis_dev *adis, uint32_t *bias_corr_tbc)
Read time base control value.
Definition: adis.c:3400
adis_write_bias_corr_tbc
int adis_write_bias_corr_tbc(struct adis_dev *adis, uint32_t bias_corr_tbc)
Write time base control value.
Definition: adis.c:3412
ADIS_FIFO_EN
@ ADIS_FIFO_EN
Definition: iio_adis_internals.h:112
no_os_units.h
Header file of Units.
adis_read_diag_accl_failure
int adis_read_diag_accl_failure(struct adis_dev *adis, uint32_t *accl_failure)
Diagnosis: read accelerometer self test error flag value.
Definition: adis.c:854
ADIS_SYNC_LINE_SEL
@ ADIS_SYNC_LINE_SEL
Definition: iio_adis_internals.h:125
ADIS_USR_SCR_2
@ ADIS_USR_SCR_2
Definition: iio_adis_internals.h:188
ADIS_CMD_FACT_CALIB_RESTORE
@ ADIS_CMD_FACT_CALIB_RESTORE
Definition: iio_adis_internals.h:172
adis_read_z_deltang
int adis_read_z_deltang(struct adis_dev *adis, int32_t *z_deltang)
Read raw delta angle data on z axis.
Definition: adis.c:1467
adis_get_accl_scale
int adis_get_accl_scale(struct adis_dev *adis, struct adis_scale_fractional *accl_scale)
Read adis device acceleration scale in fractional form.
Definition: adis.c:4160
ADIS_DR_POLARITY
@ ADIS_DR_POLARITY
Definition: iio_adis_internals.h:122
adis_read_xa_bias
int adis_read_xa_bias(struct adis_dev *adis, int32_t *xa_bias)
Read raw acceleration offset correction on x axis.
Definition: adis.c:1631
iio_trig_disable
int iio_trig_disable(void *trig)
Disable system interrupt which is linked to the given trigger.
Definition: iio_trigger.c:127
adis_scale_fractional::dividend
uint32_t dividend
Definition: adis.h:229
adis_read_y_gyro
int adis_read_y_gyro(struct adis_dev *adis, int32_t *y_gyro)
Read raw gyroscope data on y axis.
Definition: adis.c:1293
adis_iio_write_debug_attrs
int adis_iio_write_debug_attrs(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the write request for debug attributes.
Definition: iio_adis.c:1221
adis_read_usr_scr_3
int adis_read_usr_scr_3(struct adis_dev *adis, uint32_t *usr_scr_3)
Read user scratch register 3 value.
Definition: adis.c:3867
scan_type::storagebits
uint8_t storagebits
Definition: iio_types.h:157
IIO_VAL_FRACTIONAL
@ IIO_VAL_FRACTIONAL
Definition: iio_types.h:55
ADIS_BURST_DATA_SEL_0_CHN_MASK
#define ADIS_BURST_DATA_SEL_0_CHN_MASK
Definition: iio_adis.c:51
adis_read_usr_scr_1
int adis_read_usr_scr_1(struct adis_dev *adis, uint32_t *usr_scr_1)
Read user scratch register 1 value.
Definition: adis.c:3823
no_os_delay.h
Header file of Delay functions.
adis_write_usr_scr_4
int adis_write_usr_scr_4(struct adis_dev *adis, uint32_t usr_scr_4)
Write user scratch register 4 value.
Definition: adis.c:3900
adis_read_x_gyro
int adis_read_x_gyro(struct adis_dev *adis, int32_t *x_gyro)
Read raw gyroscope data on x axis.
Definition: adis.c:1274
adis_read_diag_int_snsr_supply_err
int adis_read_diag_int_snsr_supply_err(struct adis_dev *adis, uint32_t *int_snsr_supply_err)
Diagnosis: read internal sensor supply error flag value.
Definition: adis.c:1210
adis_write_lpf
int adis_write_lpf(struct adis_dev *adis, enum adis_chan_type chan, enum adis_axis_type axis, uint32_t freq)
Configure filter for the given filter frequency.
Definition: adis.c:2031
adis_read_yg_bias
int adis_read_yg_bias(struct adis_dev *adis, int32_t *yg_bias)
Read raw gyroscope offset correction on y axis.
Definition: adis.c:1587
ADIS_DIO_1_LVL
@ ADIS_DIO_1_LVL
Definition: iio_adis_internals.h:134
adis_write_ya_bias
int adis_write_ya_bias(struct adis_dev *adis, int32_t ya_bias)
Write raw acceleration offset correction on y axis.
Definition: adis.c:1664
adis_write_fir_bank_sel_zg
int adis_write_fir_bank_sel_zg(struct adis_dev *adis, uint32_t fir_bank_sel_zg)
Write z axis gyroscope filter bank selection encoded value.
Definition: adis.c:2296
ADIS_DELTA_VEL_Y
@ ADIS_DELTA_VEL_Y
Definition: iio_adis_internals.h:64
ADIS_ACCL_CHAN
@ ADIS_ACCL_CHAN
Definition: adis.h:115
adis_write_sync_4khz
int adis_write_sync_4khz(struct adis_dev *adis, uint32_t sync_4khz)
Write 4khz internal sync enable bit value.
Definition: adis.c:3305
adis_cmd_fls_mem_test
int adis_cmd_fls_mem_test(struct adis_dev *adis)
Command: flash memory test.
Definition: adis.c:3652
ADIS_FILT_SIZE_VAR_B
@ ADIS_FILT_SIZE_VAR_B
Definition: iio_adis_internals.h:118
adis_write_xg_scale
int adis_write_xg_scale(struct adis_dev *adis, int32_t xg_scale)
Write raw gyroscope scale adjustment on x axis.
Definition: adis.c:1708
adis_write_zg_bias
int adis_write_zg_bias(struct adis_dev *adis, int32_t zg_bias)
Write raw gyroscope offset correction on z axis.
Definition: adis.c:1620
ADIS_DIAG_LOST_SAMPLES_COUNT
@ ADIS_DIAG_LOST_SAMPLES_COUNT
Definition: iio_adis_internals.h:104
device
Definition: ad9361_util.h:69
ADIS_SYNC_4KHZ
@ ADIS_SYNC_4KHZ
Definition: iio_adis_internals.h:144
adis_read_time_stamp
int adis_read_time_stamp(struct adis_dev *adis, uint32_t *time_stamp)
Read raw time stamp data.
Definition: adis.c:1407
adis_read_dr_polarity
int adis_read_dr_polarity(struct adis_dev *adis, uint32_t *dr_polarity)
Read data ready polarity encoded value.
Definition: adis.c:2588
ADIS16475_1
@ ADIS16475_1
Definition: adis.h:82
adis_read_firm_d
int adis_read_firm_d(struct adis_dev *adis, uint32_t *firm_d)
Read firmware factory configuration day value.
Definition: adis.c:3746
adis_read_diag_gyro1_failure
int adis_read_diag_gyro1_failure(struct adis_dev *adis, uint32_t *gyro1_failure)
Diagnosis: read gyroscope1 self test error flag value.
Definition: adis.c:814
adis_scale_fractional::divisor
uint32_t divisor
Definition: adis.h:231
adis_read_fir_bank_sel_xa
int adis_read_fir_bank_sel_xa(struct adis_dev *adis, uint32_t *fir_bank_sel_xa)
Read x axis accelerometer filter bank selection encoded value.
Definition: adis.c:2312
adis_write_yg_scale
int adis_write_yg_scale(struct adis_dev *adis, int32_t yg_scale)
Write raw gyroscope scale adjustment on y axis.
Definition: adis.c:1731
adis_write_burst32
int adis_write_burst32(struct adis_dev *adis, uint32_t burst32)
Write burst32 enable bit value.
Definition: adis.c:3241
ADIS16467_1
@ ADIS16467_1
Definition: adis.h:78
ADIS_FIR_EN_ZA
@ ADIS_FIR_EN_ZA
Definition: iio_adis_internals.h:152
adis_iio_dev::has_fifo
bool has_fifo
Definition: iio_adis_internals.h:238
adis_read_fifo_en
int adis_read_fifo_en(struct adis_dev *adis, uint32_t *fifo_en)
Definition: adis.c:1835
no_os_calloc
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:54
NO_OS_ARRAY_SIZE
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
ADIS_PROC_REV
@ ADIS_PROC_REV
Definition: iio_adis_internals.h:180
adis1646x.h
Implementation of adis1646x.h.
adis_read_diag_z_axis_gyro_failure
int adis_read_diag_z_axis_gyro_failure(struct adis_dev *adis, uint32_t *z_axis_gyro_failure)
Diagnosis: read Z-Axis Gyroscope failure flag value.
Definition: adis.c:916
ADIS_EXT_CLK_FREQ
@ ADIS_EXT_CLK_FREQ
Definition: iio_adis_internals.h:192
adis_read_timestamp32
int adis_read_timestamp32(struct adis_dev *adis, uint32_t *timestamp32)
Read timestamp32 enable bit value.
Definition: adis.c:3262
ADIS_DIAG_ACCL_FAILURE
@ ADIS_DIAG_ACCL_FAILURE
Definition: iio_adis_internals.h:83
adis_write_burst_sel
int adis_write_burst_sel(struct adis_dev *adis, uint32_t burst_sel)
Write burst selection encoded value.
Definition: adis.c:3201
adis_read_usr_scr_2
int adis_read_usr_scr_2(struct adis_dev *adis, uint32_t *usr_scr_2)
Read user scratch register 2 value.
Definition: adis.c:3845
adis_read_x_deltang
int adis_read_x_deltang(struct adis_dev *adis, int32_t *x_deltang)
Read raw delta angle data on x axis.
Definition: adis.c:1429
adis_get_anglvel_scale
int adis_get_anglvel_scale(struct adis_dev *adis, struct adis_scale_fractional *anglvel_scale)
Read adis device gyroscope scale in fractional form.
Definition: adis.c:4144
adis_write_reg
int adis_write_reg(struct adis_dev *adis, uint32_t reg, uint32_t val, uint32_t size)
Write N bytes to register.
Definition: adis.c:305
adis_write_dr_enable
int adis_write_dr_enable(struct adis_dev *adis, uint32_t dr_enable)
Write data ready enable encoded value.
Definition: adis.c:2635
adis_write_fir_en_zg
int adis_write_fir_en_zg(struct adis_dev *adis, uint32_t fir_en_zg)
Write z axis gyroscope filter enable bit value.
Definition: adis.c:2128
adis_read_x_accl
int adis_read_x_accl(struct adis_dev *adis, int32_t *x_accl)
Read raw acceleration data on x axis.
Definition: adis.c:1331
ADIS_LOT_NUM
@ ADIS_LOT_NUM
Definition: iio_adis_internals.h:186
ADIS_ACCEL_X
@ ADIS_ACCEL_X
Definition: iio_adis_internals.h:56
ADIS_DIAG_TEMP_ERR
@ ADIS_DIAG_TEMP_ERR
Definition: iio_adis_internals.h:93
adis_read_burst_data
int adis_read_burst_data(struct adis_dev *adis, struct adis_burst_data *data, bool burst32, uint8_t burst_sel, bool fifo_pop, bool crc_check)
Read burst data.
Definition: adis.c:3976
adis_write_fir_bank_sel_xg
int adis_write_fir_bank_sel_xg(struct adis_dev *adis, uint32_t fir_bank_sel_xg)
Write x axis gyroscope filter bank selection encoded value.
Definition: adis.c:2232
ADIS_SYNC_POLARITY
@ ADIS_SYNC_POLARITY
Definition: iio_adis_internals.h:124
ADIS16467_2
@ ADIS16467_2
Definition: adis.h:79
ADIS_DATA_CNTR
@ ADIS_DATA_CNTR
Definition: iio_adis_internals.h:107
adis_read_spi_chksum
int adis_read_spi_chksum(struct adis_dev *adis, uint32_t *checksum)
Read current sample SPI transaction checksum.
Definition: adis.c:1554
adis_scale_fractional_log2
ADIS fractional log2 scale format structure; scale = dividend/2^power.
Definition: adis.h:237
adis_read_fifo_overflow
int adis_read_fifo_overflow(struct adis_dev *adis, uint32_t *fifo_overflow)
Read FIFO overflow bit value.
Definition: adis.c:1865
adis_write_bias_corr_en_zg
int adis_write_bias_corr_en_zg(struct adis_dev *adis, uint32_t bias_corr_en_zg)
Write z axis gyroscope bias correction enable bit value.
Definition: adis.c:3493
adis_read_accl_fir_enable
int adis_read_accl_fir_enable(struct adis_dev *adis, uint32_t *accl_fir_enable)
Read accelerometer FIR filter control bit value.
Definition: adis.c:3062
adis_chip_info::dec_rate_max
uint16_t dec_rate_max
Definition: adis_internals.h:450
ADIS_GYRO_Y
@ ADIS_GYRO_Y
Definition: iio_adis_internals.h:54
ADIS_FIR_EN_ZG
@ ADIS_FIR_EN_ZG
Definition: iio_adis_internals.h:149
adis_write_gpio_dir
int adis_write_gpio_dir(struct adis_dev *adis, uint8_t dio_nb, uint32_t dir)
Write gpio direction configuration.
Definition: adis.c:2967
ADIS_DIO_2_DIR
@ ADIS_DIO_2_DIR
Definition: iio_adis_internals.h:131
adis_iio_write_calibbias
int adis_iio_write_calibbias(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the write request for calibbias attribute.
Definition: iio_adis.c:344
adis_iio_dev
ADIS IIO device descriptor structure.
Definition: iio_adis_internals.h:218
ADIS_HAS_BURST32
#define ADIS_HAS_BURST32
Definition: adis_internals.h:38
IIO_SHARED_BY_ALL
@ IIO_SHARED_BY_ALL
Definition: iio_types.h:122
no_os_lowest_common_multiple
uint32_t no_os_lowest_common_multiple(uint32_t a, uint32_t b)
adis_scale_fractional_log2::power
uint32_t power
Definition: adis.h:241
ADIS_FIR_BANK_SEL_XA
@ ADIS_FIR_BANK_SEL_XA
Definition: iio_adis_internals.h:156
adis_write_xa_scale
int adis_write_xa_scale(struct adis_dev *adis, int32_t xa_scale)
Write raw acceleration scale adjustment on x axis.
Definition: adis.c:1777
ADIS_DIAG_Y_AXIS_ACCL_FAILURE
@ ADIS_DIAG_Y_AXIS_ACCL_FAILURE
Definition: iio_adis_internals.h:88
ADIS16465_3
@ ADIS16465_3
Definition: adis.h:77
adis_iio_dev::data
uint16_t data[26]
Definition: iio_adis_internals.h:236
adis_init
int adis_init(struct adis_dev **adis, const struct adis_init_param *ip)
Initialize adis device.
Definition: adis.c:99
adis_read_x_deltvel
int adis_read_x_deltvel(struct adis_dev *adis, int32_t *x_deltvel)
Read raw delta velocity data on x axis.
Definition: adis.c:1486
adis_read_lpf
int adis_read_lpf(struct adis_dev *adis, enum adis_chan_type chan, enum adis_axis_type axis, uint32_t *freq)
Read configured filter frequency.
Definition: adis.c:1999
adis_read_z_accl
int adis_read_z_accl(struct adis_dev *adis, int32_t *z_accl)
Read raw acceleration data on z axis.
Definition: adis.c:1369
adis_read_y_accl
int adis_read_y_accl(struct adis_dev *adis, int32_t *y_accl)
Read raw acceleration data on y axis.
Definition: adis.c:1350
adis_read_diag_y_axis_gyro_failure
int adis_read_diag_y_axis_gyro_failure(struct adis_dev *adis, uint32_t *y_axis_gyro_failure)
Diagnosis: read Y-Axis Gyroscope failure flag value.
Definition: adis.c:895
ADIS_BIAS_CORR_EN_ZG
@ ADIS_BIAS_CORR_EN_ZG
Definition: iio_adis_internals.h:166
ADIS_SPI_CHKSUM
@ ADIS_SPI_CHKSUM
Definition: iio_adis_internals.h:110
adis_cmd_bias_corr_update
int adis_cmd_bias_corr_update(struct adis_dev *adis)
Command: bias correction update.
Definition: adis.c:3582
adis_dev
ADIS device descriptor structure.
Definition: adis.h:270
ADIS_PROD_ID
@ ADIS_PROD_ID
Definition: iio_adis_internals.h:184
adis_read_diag_temp_err
int adis_read_diag_temp_err(struct adis_dev *adis, uint32_t *temp_err)
Diagnosis: read temperature error flag value.
Definition: adis.c:1063
adis_read_diag_reg_nvm_err
int adis_read_diag_reg_nvm_err(struct adis_dev *adis, uint32_t *reg_nvm_err)
Diagnosis: read register NVM error flag value.
Definition: adis.c:1126
adis_read_fifo_wm_int_en
int adis_read_fifo_wm_int_en(struct adis_dev *adis, uint32_t *fifo_wm_int_en)
Read FIFO watermark interrupt enable bit value.
Definition: adis.c:1889
adis_clk_freq_limit::max_freq
uint32_t max_freq
Definition: adis_internals.h:104
ADIS_X_AXIS
@ ADIS_X_AXIS
Definition: adis.h:126
iio_attribute::name
const char * name
Definition: iio_types.h:131
adis_read_proc_rev
int adis_read_proc_rev(struct adis_dev *adis, uint32_t *proc_rev)
Read processor revision value.
Definition: adis.c:3724
adis_write_ya_scale
int adis_write_ya_scale(struct adis_dev *adis, int32_t ya_scale)
Write raw acceleration scale adjustment on y axis.
Definition: adis.c:1800
adis_read_sync_mode
int adis_read_sync_mode(struct adis_dev *adis, uint32_t *sync_mode)
Read synchronization mode encoded value.
Definition: adis.c:2733
ADIS_BIAS_CORR_EN_ZA
@ ADIS_BIAS_CORR_EN_ZA
Definition: iio_adis_internals.h:169
ADIS_DELTA_ANGL_X
@ ADIS_DELTA_ANGL_X
Definition: iio_adis_internals.h:60
adis_read_diag_fls_mem_wr_cnt_exceed
void adis_read_diag_fls_mem_wr_cnt_exceed(struct adis_dev *adis, uint32_t *fls_mem_wr_cnt_exceed)
Diagnosis: read flash memory write counts exceeded flag value.
Definition: adis.c:1261
ADIS_DIAG_WDG_TIMER_FLAG
@ ADIS_DIAG_WDG_TIMER_FLAG
Definition: iio_adis_internals.h:97
ADIS_SENS_BW
@ ADIS_SENS_BW
Definition: iio_adis_internals.h:138
adis_read_xa_scale
int adis_read_xa_scale(struct adis_dev *adis, int32_t *xa_scale)
Read raw acceleration scale adjustment on x axis.
Definition: adis.c:1766
ADIS_TIMESTAMP32
@ ADIS_TIMESTAMP32
Definition: iio_adis_internals.h:143
adis_read_gyro_fir_enable
int adis_read_gyro_fir_enable(struct adis_dev *adis, uint32_t *gyro_fir_enable)
Read gyroscope FIR filter control bit value.
Definition: adis.c:3086
adis_cmd_fifo_flush
int adis_cmd_fifo_flush(struct adis_dev *adis)
Command: fifo flush.
Definition: adis.c:3671
adis_dev::ext_clk
uint32_t ext_clk
Definition: adis.h:292
ADIS_DIAG_Z_AXIS_GYRO_FAILURE
@ ADIS_DIAG_Z_AXIS_GYRO_FAILURE
Definition: iio_adis_internals.h:86
ADIS_DIAG_DATA_PATH_OVERRUN
@ ADIS_DIAG_DATA_PATH_OVERRUN
Definition: iio_adis_internals.h:74
adis_dev::info
const struct adis_chip_info * info
Definition: adis.h:276
adis_read_alarm_polarity
int adis_read_alarm_polarity(struct adis_dev *adis, uint32_t *alarm_polarity)
Read alarm polarity encoded value.
Definition: adis.c:2832
ADIS_DIAG_ADUC_MCU_FAULT
@ ADIS_DIAG_ADUC_MCU_FAULT
Definition: iio_adis_internals.h:90
ADIS_CMD_FLS_MEM_UPDATE
@ ADIS_CMD_FLS_MEM_UPDATE
Definition: iio_adis_internals.h:174
adis_read_sens_bw
int adis_read_sens_bw(struct adis_dev *adis, uint32_t *sens_bw)
Read internal sensor bandwidth encoded value.
Definition: adis.c:3032
adis_write_dr_selection
int adis_write_dr_selection(struct adis_dev *adis, uint32_t dr_selection)
Write data ready selection encoded value.
Definition: adis.c:2568
adis_read_temp_out
int adis_read_temp_out(struct adis_dev *adis, int32_t *temp_out)
Read raw temperature data.
Definition: adis.c:1388
iio_adis1646x.h
Implementation of iio_adis1646x.h.
adis_write_alarm_selection
int adis_write_alarm_selection(struct adis_dev *adis, uint32_t alarm_selection)
Write alarm selection encoded value.
Definition: adis.c:2812
ADIS_DELTA_VEL_X
@ ADIS_DELTA_VEL_X
Definition: iio_adis_internals.h:63
adis_scale_fractional
ADIS fractional scale format structure; scale = dividend/divisor.
Definition: adis.h:227
ADIS_BIAS_CORR_EN_XA
@ ADIS_BIAS_CORR_EN_XA
Definition: iio_adis_internals.h:167
adis_write_fir_bank_sel_ya
int adis_write_fir_bank_sel_ya(struct adis_dev *adis, uint32_t fir_bank_sel_ya)
Write y axis accelerometer filter bank selection encoded value.
Definition: adis.c:2360
ADIS_GYRO_X
@ ADIS_GYRO_X
Definition: iio_adis_internals.h:53
iio_trig_enable
int iio_trig_enable(void *trig)
Enable system interrupt which is linked to the given trigger.
Definition: iio_trigger.c:110
adis_read_fls_mem_wr_cntr
int adis_read_fls_mem_wr_cntr(struct adis_dev *adis, uint32_t *fls_mem_wr_cntr)
Read flash memory write cycle counter value.
Definition: adis.c:3911
ADIS_FIR_EN_YA
@ ADIS_FIR_EN_YA
Definition: iio_adis_internals.h:151
iio_adis_internals.h
Internal include file used for specific chip IIO driver definitions which are not useful for the user...
adis_write_fifo_wm_int_en
int adis_write_fifo_wm_int_en(struct adis_dev *adis, uint32_t fifo_wm_int_en)
Write FIFO watermark interrupt enable bit value.
Definition: adis.c:1901
adis_read_fir_en_zg
int adis_read_fir_en_zg(struct adis_dev *adis, uint32_t *fir_en_zg)
Read z axis gyroscope filter enable bit value.
Definition: adis.c:2116
adis_read_z_gyro
int adis_read_z_gyro(struct adis_dev *adis, int32_t *z_gyro)
Read raw gyroscope data on z axis.
Definition: adis.c:1312
adis_get_temp_scale
int adis_get_temp_scale(struct adis_dev *adis, struct adis_scale_fractional *temp_scale)
Read adis device temperature scale in fractional form.
Definition: adis.c:4208
adis_read_diag_fls_mem_update_failure
int adis_read_diag_fls_mem_update_failure(struct adis_dev *adis, uint32_t *fls_mem_update_failure)
Diagnosis: read flash memory update error flag value.
Definition: adis.c:692
ADIS_TIME_STAMP
@ ADIS_TIME_STAMP
Definition: iio_adis_internals.h:106
adis_write_xg_bias
int adis_write_xg_bias(struct adis_dev *adis, int32_t xg_bias)
Write raw gyroscope offset correction on x axis.
Definition: adis.c:1576
ADIS_SYNC_MODE
@ ADIS_SYNC_MODE
Definition: iio_adis_internals.h:126
adis_iio_trigger_handler_with_fifo
int adis_iio_trigger_handler_with_fifo(struct iio_device_data *dev_data)
Handles trigger: reads all available samples in FIFO and writes them to the buffer.
Definition: iio_adis.c:1744
ADIS_DIAG_OVERRANGE
@ ADIS_DIAG_OVERRANGE
Definition: iio_adis_internals.h:92
ADIS_DIAG_GYRO1_FAILURE
@ ADIS_DIAG_GYRO1_FAILURE
Definition: iio_adis_internals.h:81
adis.h
Implementation of adis.h.
iio_attribute
Structure holding pointers to show and store functions.
Definition: iio_types.h:129
ADIS_DIAG_CONFIG_CALIB_CRC_ERR
@ ADIS_DIAG_CONFIG_CALIB_CRC_ERR
Definition: iio_adis_internals.h:91
adis_read_firm_y
int adis_read_firm_y(struct adis_dev *adis, uint32_t *firm_y)
Read firmware factory configuration year value.
Definition: adis.c:3768
adis_read_dec_rate
int adis_read_dec_rate(struct adis_dev *adis, uint32_t *dec_rate)
Read decimation rate value.
Definition: adis.c:3367
ADIS_CMD_FLS_MEM_TEST
@ ADIS_CMD_FLS_MEM_TEST
Definition: iio_adis_internals.h:175
adis_write_sync_polarity
int adis_write_sync_polarity(struct adis_dev *adis, uint32_t sync_polarity)
Write sync polarity encoded value.
Definition: adis.c:2710
adis_read_diag_z_axis_accl_failure
int adis_read_diag_z_axis_accl_failure(struct adis_dev *adis, uint32_t *z_axis_accl_failure)
Diagnosis: read Z-Axis Accelerometer failure flag value.
Definition: adis.c:979
adis_iio_read_reg
int adis_iio_read_reg(struct adis_iio_dev *device, uint32_t reg, uint32_t *readval)
Wrapper for reading adis register.
Definition: iio_adis.c:69
iio_buffer
Definition: iio_types.h:209
ADIS_DIAG_CHECKSUM_ERR
@ ADIS_DIAG_CHECKSUM_ERR
Definition: iio_adis_internals.h:102
ADIS_Y_AXIS
@ ADIS_Y_AXIS
Definition: adis.h:127
iio_buffer::active_mask
uint32_t active_mask
Definition: iio_types.h:211
adis_read_bias_corr_en_ya
int adis_read_bias_corr_en_ya(struct adis_dev *adis, uint32_t *bias_corr_en_ya)
Read y axis accelerometer bias correction enable bit value.
Definition: adis.c:3532
adis_read_diag_gyro2_failure
int adis_read_diag_gyro2_failure(struct adis_dev *adis, uint32_t *gyro2_failure)
Diagnosis: read gyroscope2 self test error flag value.
Definition: adis.c:834
adis_write_alarm_enable
int adis_write_alarm_enable(struct adis_dev *adis, uint32_t alarm_enable)
Write alarm enable encoded value.
Definition: adis.c:2879
adis_write_za_bias
int adis_write_za_bias(struct adis_dev *adis, int32_t za_bias)
Write raw acceleration offset correction on z axis.
Definition: adis.c:1686
ADIS_DELTA_VEL_Z
@ ADIS_DELTA_VEL_Z
Definition: iio_adis_internals.h:65
adis_iio_dev::rang_mdl_txt
const char * rang_mdl_txt
Definition: iio_adis_internals.h:240
adis_read_xg_scale
int adis_read_xg_scale(struct adis_dev *adis, int32_t *xg_scale)
Read raw gyroscope scale adjustment on x axis.
Definition: adis.c:1697
adis_write_gyro_fir_enable
int adis_write_gyro_fir_enable(struct adis_dev *adis, uint32_t gyro_fir_enable)
Write gyroscope FIR filter control bit value.
Definition: adis.c:3098
adis_iio_accel_attrs
struct iio_attribute adis_iio_accel_attrs[]
Definition: iio_adis.c:1837
ADIS_FIR_BANK_SEL_YG
@ ADIS_FIR_BANK_SEL_YG
Definition: iio_adis_internals.h:154
iio_parse_value
int32_t iio_parse_value(char *buf, enum iio_val fmt, int32_t *val, int32_t *val2)
Definition: iio.c:630
ADIS_FIR_BANK_SEL_ZA
@ ADIS_FIR_BANK_SEL_ZA
Definition: iio_adis_internals.h:158
ADIS_DELTA_ANGL_Y
@ ADIS_DELTA_ANGL_Y
Definition: iio_adis_internals.h:61
adis_read_fir_bank_sel_yg
int adis_read_fir_bank_sel_yg(struct adis_dev *adis, uint32_t *fir_bank_sel_yg)
Read y axis gyroscope filter bank selection encoded value.
Definition: adis.c:2248
adis_iio_anglvel_attrs
struct iio_attribute adis_iio_anglvel_attrs[]
Definition: iio_adis.c:1819
adis_iio_write_calibscale
int adis_iio_write_calibscale(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the write request for calibscale attribute.
Definition: iio_adis.c:449
adis_read_linear_accl_comp
int adis_read_linear_accl_comp(struct adis_dev *adis, uint32_t *linear_accl_comp)
Read linear acceleration compensation enable bit value.
Definition: adis.c:3147
adis_read_y_deltvel
int adis_read_y_deltvel(struct adis_dev *adis, int32_t *y_deltvel)
Read raw delta velocity data on y axis.
Definition: adis.c:1505
adis_iio_post_disable
int adis_iio_post_disable(void *dev, uint32_t mask)
API to be called after trigger is disabled.
Definition: iio_adis.c:1472
adis_chip_info::flags
const uint32_t flags
Definition: adis_internals.h:434
adis_read_fifo_cnt
int adis_read_fifo_cnt(struct adis_dev *adis, uint32_t *fifo_cnt)
Read output FIFO sample count.
Definition: adis.c:1543
ADIS_DIAG_INT_SNSR_SUPPLY_ERR
@ ADIS_DIAG_INT_SNSR_SUPPLY_ERR
Definition: iio_adis_internals.h:100
adis_write_bias_corr_en_za
int adis_write_bias_corr_en_za(struct adis_dev *adis, uint32_t bias_corr_en_za)
Write z axis accelerometer bias correction enable bit value.
Definition: adis.c:3571
adis_write_za_scale
int adis_write_za_scale(struct adis_dev *adis, int32_t za_scale)
Write raw acceleration scale adjustment on z axis.
Definition: adis.c:1823
adis_read_bias_corr_en_zg
int adis_read_bias_corr_en_zg(struct adis_dev *adis, uint32_t *bias_corr_en_zg)
Read z axis gyroscope bias correction enable bit value.
Definition: adis.c:3480
adis_write_bias_corr_en_ya
int adis_write_bias_corr_en_ya(struct adis_dev *adis, uint32_t bias_corr_en_ya)
Write y axis accelerometer bias correction enable bit value.
Definition: adis.c:3545
ADIS_Z_AXIS
@ ADIS_Z_AXIS
Definition: adis.h:128
ADIS_DIO_4_DIR
@ ADIS_DIO_4_DIR
Definition: iio_adis_internals.h:133
ADIS_DIO_3_LVL
@ ADIS_DIO_3_LVL
Definition: iio_adis_internals.h:136
ADIS_FIFO_CNT
@ ADIS_FIFO_CNT
Definition: iio_adis_internals.h:109
ADIS_DIAG_REG_NVM_ERR
@ ADIS_DIAG_REG_NVM_ERR
Definition: iio_adis_internals.h:96
adis_cmd_fact_calib_restore
int adis_cmd_fact_calib_restore(struct adis_dev *adis)
Command: factory calibration restore.
Definition: adis.c:3593
adis_read_fir_bank_sel_xg
int adis_read_fir_bank_sel_xg(struct adis_dev *adis, uint32_t *fir_bank_sel_xg)
Read x axis gyroscope filter bank selection encoded value.
Definition: adis.c:2216
adis_read_diag_spi_comm_err
int adis_read_diag_spi_comm_err(struct adis_dev *adis, uint32_t *spi_comm_err)
Diagnosis: read spi communication error flag value.
Definition: adis.c:713
adis_iio_delta_angl_attrs
struct iio_attribute adis_iio_delta_angl_attrs[]
Definition: iio_adis.c:1867
iio_device_data::buffer
struct iio_buffer * buffer
Definition: iio_types.h:228
adis_read_diag_int_proc_supply_err
int adis_read_diag_int_proc_supply_err(struct adis_dev *adis, uint32_t *int_proc_supply_err)
Diagnosis: read internal processor supply error flag value.
Definition: adis.c:1168
adis_write_alarm_polarity
int adis_write_alarm_polarity(struct adis_dev *adis, uint32_t alarm_polarity)
Write alarm polarity encoded value.
Definition: adis.c:2844
adis_iio_trigger_handler
int adis_iio_trigger_handler(struct iio_device_data *dev_data)
Handles trigger: reads one data-set and writes it to the buffer.
Definition: iio_adis.c:1722
adis_iio_read_lpf
int adis_iio_read_lpf(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the read request for lpf attribute.
Definition: iio_adis.c:498
ADIS_DIAG_SNSR_FAILURE
@ ADIS_DIAG_SNSR_FAILURE
Definition: iio_adis_internals.h:78
ADIS_DEC_RATE
@ ADIS_DEC_RATE
Definition: iio_adis_internals.h:161
ADIS_DIO_4_LVL
@ ADIS_DIO_4_LVL
Definition: iio_adis_internals.h:137
ADIS_DIAG_Z_AXIS_ACCL_FAILURE
@ ADIS_DIAG_Z_AXIS_ACCL_FAILURE
Definition: iio_adis_internals.h:89
adis_read_pt_of_perc_algnmt
int adis_read_pt_of_perc_algnmt(struct adis_dev *adis, uint32_t *pt_of_perc_algnmt)
Read point of percussion alignment enable bit value.
Definition: adis.c:3111
ADIS1646X_ID_NO_OFFSET
#define ADIS1646X_ID_NO_OFFSET(x)
Definition: adis1646x.h:47
adis_read_diag_standby_mode
int adis_read_diag_standby_mode(struct adis_dev *adis, uint32_t *standby_mode)
Diagnosis: read standby mode flag value.
Definition: adis.c:733
ADIS_DIAG_GYRO2_FAILURE
@ ADIS_DIAG_GYRO2_FAILURE
Definition: iio_adis_internals.h:82
adis_iio_read_sampling_freq
int adis_iio_read_sampling_freq(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the read request for sampling frequency attribute.
Definition: iio_adis.c:657
iio_format_value
int iio_format_value(char *buf, uint32_t len, enum iio_val fmt, int32_t size, int32_t *vals)
Definition: iio.c:686
adis_read_fir_en_yg
int adis_read_fir_en_yg(struct adis_dev *adis, uint32_t *fir_en_yg)
Read y axis gyroscope filter enable bit value.
Definition: adis.c:2092
ADIS_DIAG_SNSR_INIT_FAILURE
@ ADIS_DIAG_SNSR_INIT_FAILURE
Definition: iio_adis_internals.h:73
ADIS_FIR_EN_YG
@ ADIS_FIR_EN_YG
Definition: iio_adis_internals.h:148
iio_ch_info::address
uint32_t address
Definition: iio_types.h:113
adis_read_filt_size_var_b
int adis_read_filt_size_var_b(struct adis_dev *adis, uint32_t *filt_size_var_b)
Read filter size variable B value.
Definition: adis.c:1961
adis_read_ya_scale
int adis_read_ya_scale(struct adis_dev *adis, int32_t *ya_scale)
Read raw acceleration scale adjustment on y axis.
Definition: adis.c:1789
adis_read_alarm_selection
int adis_read_alarm_selection(struct adis_dev *adis, uint32_t *alarm_selection)
Read alarm selection encoded value.
Definition: adis.c:2796
ADIS_NUM_CHAN
@ ADIS_NUM_CHAN
Definition: iio_adis_internals.h:66
adis_get_sync_clk_freq
int adis_get_sync_clk_freq(struct adis_dev *adis, uint32_t *clk_freq)
Read adis synchronization clock frequency value in Hertz.
Definition: adis.c:4122
ADIS_UP_SCALE
@ ADIS_UP_SCALE
Definition: iio_adis_internals.h:160
ADIS_DELTA_ANGL_CHAN_NO_SCAN
#define ADIS_DELTA_ANGL_CHAN_NO_SCAN(mod, idx, attr)
Definition: iio_adis_internals.h:278
iio_device::num_ch
uint16_t num_ch
Definition: iio_types.h:252
iio_channel::scan_type
struct scan_type * scan_type
Definition: iio_types.h:184
adis_get_temp_offset
int adis_get_temp_offset(struct adis_dev *adis, int *temp_offset)
Read adis device temperature offset in integer.
Definition: adis.c:4224
ADIS_ACCL_FIR_ENABLE
@ ADIS_ACCL_FIR_ENABLE
Definition: iio_adis_internals.h:146
no_os_free
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
adis_iio_write_reg
int adis_iio_write_reg(struct adis_iio_dev *device, uint32_t reg, uint32_t writeval)
Wrapper for writing to adis register.
Definition: iio_adis.c:82
IIO_TEMP
@ IIO_TEMP
Definition: iio_types.h:69
iio_ch_info::type
enum iio_chan_type type
Definition: iio_types.h:109
adis_read_diag_x_axis_gyro_failure
int adis_read_diag_x_axis_gyro_failure(struct adis_dev *adis, uint32_t *x_axis_gyro_failure)
Diagnosis: read X-Axis Gyroscope failure flag value.
Definition: adis.c:874
adis_read_gpio_lvl
int adis_read_gpio_lvl(struct adis_dev *adis, uint8_t dio_nb, uint32_t *level)
Read gpio configured data level.
Definition: adis.c:2937
ADIS_DIAG_MEM_FAILURE
@ ADIS_DIAG_MEM_FAILURE
Definition: iio_adis_internals.h:79
ADIS_FIR_BANK_SEL_XG
@ ADIS_FIR_BANK_SEL_XG
Definition: iio_adis_internals.h:153
ADIS_FIFO_WM_INT_POL
@ ADIS_FIFO_WM_INT_POL
Definition: iio_adis_internals.h:115
ADIS_FLS_MEM_WR_CNTR
@ ADIS_FLS_MEM_WR_CNTR
Definition: iio_adis_internals.h:191
adis_iio_read_calibbias
int adis_iio_read_calibbias(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the read request for calibbias attribute.
Definition: iio_adis.c:288
ADIS_DIAG_CLK_ERR
@ ADIS_DIAG_CLK_ERR
Definition: iio_adis_internals.h:80
ADIS_DIAG_Y_AXIS_GYRO_FAILURE
@ ADIS_DIAG_Y_AXIS_GYRO_FAILURE
Definition: iio_adis_internals.h:85
adis_write_fir_bank_sel_xa
int adis_write_fir_bank_sel_xa(struct adis_dev *adis, uint32_t fir_bank_sel_xa)
Write x axis accelerometer filter bank selection encoded value.
Definition: adis.c:2328
adis_write_fifo_wm_lvl
int adis_write_fifo_wm_lvl(struct adis_dev *adis, uint32_t fifo_wm_lvl)
Write FIFO watermark threshold level value.
Definition: adis.c:1949
adis_read_yg_scale
int adis_read_yg_scale(struct adis_dev *adis, int32_t *yg_scale)
Read raw gyroscope scale adjustment on y axis.
Definition: adis.c:1720
adis_read_zg_scale
int adis_read_zg_scale(struct adis_dev *adis, int32_t *zg_scale)
Read raw gyroscope scale adjustment on z axis.
Definition: adis.c:1743
adis_read_fir_en_ya
int adis_read_fir_en_ya(struct adis_dev *adis, uint32_t *fir_en_ya)
Read y axis accelerometer filter enable bit value.
Definition: adis.c:2164
no_os_udelay
void no_os_udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: aducm3029_delay.c:114
adis_read_sync_4khz
int adis_read_sync_4khz(struct adis_dev *adis, uint32_t *sync_4khz)
Read 4khz internal sync enable bit value.
Definition: adis.c:3294
NO_OS_U16_MAX
#define NO_OS_U16_MAX
Definition: no_os_util.h:112
NULL
#define NULL
Definition: wrapper.h:64
ADIS_DIAG_INT_PROC_SUPPLY_ERR
@ ADIS_DIAG_INT_PROC_SUPPLY_ERR
Definition: iio_adis_internals.h:98
ADIS16475_2
@ ADIS16475_2
Definition: adis.h:83
adis_write_xa_bias
int adis_write_xa_bias(struct adis_dev *adis, int32_t xa_bias)
Write raw acceleration offset correction on x axis.
Definition: adis.c:1642
adis_read_diag_y_axis_accl_failure
int adis_read_diag_y_axis_accl_failure(struct adis_dev *adis, uint32_t *y_axis_accl_failure)
Diagnosis: read Y-Axis Accelerometer failure flag value.
Definition: adis.c:958
adis_read_fifo_wm_lvl
int adis_read_fifo_wm_lvl(struct adis_dev *adis, uint32_t *fifo_wm_lvl)
Read FIFO watermark threshold level value.
Definition: adis.c:1937
adis_write_bias_corr_en_xg
int adis_write_bias_corr_en_xg(struct adis_dev *adis, uint32_t bias_corr_en_xg)
Write x axis gyroscope bias correction enable bit value.
Definition: adis.c:3441
adis_iio_read_scale
int adis_iio_read_scale(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the read request for scale attribute.
Definition: iio_adis.c:174
ADIS_CMD_FIFO_FLUSH
@ ADIS_CMD_FIFO_FLUSH
Definition: iio_adis_internals.h:176
adis_read_reg
int adis_read_reg(struct adis_dev *adis, uint32_t reg, uint32_t *val, uint32_t size)
Read N bytes from register.
Definition: adis.c:211
adis_read_data_cntr
int adis_read_data_cntr(struct adis_dev *adis, uint32_t *data_cntr)
Read data counter value.
Definition: adis.c:1418
ADIS_DIAG_X_AXIS_ACCL_FAILURE
@ ADIS_DIAG_X_AXIS_ACCL_FAILURE
Definition: iio_adis_internals.h:87
ADIS_SERIAL_NUM
@ ADIS_SERIAL_NUM
Definition: iio_adis_internals.h:185
init_param
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
adis_read_za_scale
int adis_read_za_scale(struct adis_dev *adis, int32_t *za_scale)
Read raw acceleration scale adjustment on z axis.
Definition: adis.c:1812
ADIS_LINEAR_ACCL_COMP
@ ADIS_LINEAR_ACCL_COMP
Definition: iio_adis_internals.h:140
ADIS_DIAG_SPI_COMM_ERR
@ ADIS_DIAG_SPI_COMM_ERR
Definition: iio_adis_internals.h:76
ADIS_BURST_DATA_SEL_1_CHN_MASK
#define ADIS_BURST_DATA_SEL_1_CHN_MASK
Definition: iio_adis.c:52
iio_device
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
adis_read_diag_data_path_overrun
int adis_read_diag_data_path_overrun(struct adis_dev *adis, uint32_t *data_path_overrun_err)
Diagnosis: read data path overrun flag value.
Definition: adis.c:671
adis_write_filt_size_var_b
int adis_write_filt_size_var_b(struct adis_dev *adis, uint32_t filt_size_var_b)
Write filter size variable B value.
Definition: adis.c:1973
ADIS_USR_SCR_3
@ ADIS_USR_SCR_3
Definition: iio_adis_internals.h:189
adis1646x_iio_init
int adis1646x_iio_init(struct adis_iio_dev **iio_dev, struct adis_init_param *init_param)
Initialize adis1646x iio device.
Definition: iio_adis1646x.c:360
adis_write_sync_mode
int adis_write_sync_mode(struct adis_dev *adis, uint32_t sync_mode, uint32_t ext_clk)
Update synchronization mode.
Definition: adis.c:2749
adis_iio_temp_attrs
struct iio_attribute adis_iio_temp_attrs[]
Definition: iio_adis.c:1855
adis_iio_read_calibscale
int adis_iio_read_calibscale(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the read request for calibscale attribute.
Definition: iio_adis.c:393
adis_read_bias_corr_en_xg
int adis_read_bias_corr_en_xg(struct adis_dev *adis, uint32_t *bias_corr_en_xg)
Read x axis gyroscope bias correction enable bit value.
Definition: adis.c:3428
ADIS_DIAG_STANDBY_MODE
@ ADIS_DIAG_STANDBY_MODE
Definition: iio_adis_internals.h:77
adis_write_fifo_overflow
int adis_write_fifo_overflow(struct adis_dev *adis, uint32_t fifo_overflow)
Write FIFO overflow bit value.
Definition: adis.c:1877
adis_read_burst32
int adis_read_burst32(struct adis_dev *adis, uint32_t *burst32)
Read burst32 enable bit value.
Definition: adis.c:3222
adis_write_usr_scr_3
int adis_write_usr_scr_3(struct adis_dev *adis, uint32_t usr_scr_3)
Write user scratch register 3 value.
Definition: adis.c:3878
adis_read_ya_bias
int adis_read_ya_bias(struct adis_dev *adis, int32_t *ya_bias)
Read raw acceleration offset correction on y axis.
Definition: adis.c:1653
adis_iio_read_raw
int adis_iio_read_raw(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the read request for raw attribute.
Definition: iio_adis.c:97
ADIS_DIO_1_DIR
@ ADIS_DIO_1_DIR
Definition: iio_adis_internals.h:130
ADIS_DIAG_X_AXIS_GYRO_FAILURE
@ ADIS_DIAG_X_AXIS_GYRO_FAILURE
Definition: iio_adis_internals.h:84
adis_write_fir_bank_sel_za
int adis_write_fir_bank_sel_za(struct adis_dev *adis, uint32_t fir_bank_sel_za)
Write z axis accelerometer filter bank selection encoded value.
Definition: adis.c:2392
ADIS_BIAS_CORR_EN_XG
@ ADIS_BIAS_CORR_EN_XG
Definition: iio_adis_internals.h:164
adis_cmd_sw_res
int adis_cmd_sw_res(struct adis_dev *adis)
Command: software reset.
Definition: adis.c:3682
ADIS_BURST32
@ ADIS_BURST32
Definition: iio_adis_internals.h:142
adis_write_fir_en_ya
int adis_write_fir_en_ya(struct adis_dev *adis, uint32_t fir_en_ya)
Write y axis accelerometer filter enable bit value.
Definition: adis.c:2176
ADIS_DR_LINE_SEL
@ ADIS_DR_LINE_SEL
Definition: iio_adis_internals.h:123
ADIS_BIAS_CORR_EN_YA
@ ADIS_BIAS_CORR_EN_YA
Definition: iio_adis_internals.h:168
adis_write_pt_of_perc_algnmt
int adis_write_pt_of_perc_algnmt(struct adis_dev *adis, uint32_t pt_of_perc_algnmt)
Write point of percussion alignment enable bit value.
Definition: adis.c:3125
adis_write_bias_corr_en_yg
int adis_write_bias_corr_en_yg(struct adis_dev *adis, uint32_t bias_corr_en_yg)
Write y axis gyroscope bias correction enable bit value.
Definition: adis.c:3467
adis_write_fir_bank_sel_yg
int adis_write_fir_bank_sel_yg(struct adis_dev *adis, uint32_t fir_bank_sel_yg)
Write y axis gyroscope filter bank selection encoded value.
Definition: adis.c:2264
adis_iio_dev::burst_size
uint32_t burst_size
Definition: iio_adis_internals.h:230
adis_read_diag_wdg_timer_flag
int adis_read_diag_wdg_timer_flag(struct adis_dev *adis, uint32_t *wdg_timer_flag)
Diagnosis: read watchdog timer flag value.
Definition: adis.c:1147
ADIS_DIAG_BOOT_MEMORY_FAILURE
@ ADIS_DIAG_BOOT_MEMORY_FAILURE
Definition: iio_adis_internals.h:95
ADIS_BIAS_CORR_TBC
@ ADIS_BIAS_CORR_TBC
Definition: iio_adis_internals.h:163
ADIS_FIFO_OVERFLOW
@ ADIS_FIFO_OVERFLOW
Definition: iio_adis_internals.h:113
adis_write_sens_bw
int adis_write_sens_bw(struct adis_dev *adis, uint32_t sens_bw)
Write internal sensor bandwidth encoded value.
Definition: adis.c:3043
adis_read_dr_selection
int adis_read_dr_selection(struct adis_dev *adis, uint32_t *dr_selection)
Read data ready selection encoded value.
Definition: adis.c:2552
adis_write_sync_selection
int adis_write_sync_selection(struct adis_dev *adis, uint32_t sync_selection)
Write sync selection encoded value.
Definition: adis.c:2678
ADIS_PT_OF_PERC_ALGNMT
@ ADIS_PT_OF_PERC_ALGNMT
Definition: iio_adis_internals.h:139
scan_type
Definition: iio_types.h:151
adis_iio_dev::adis_dev
struct adis_dev * adis_dev
Definition: iio_adis_internals.h:220
IIO_DELTA_ANGL
@ IIO_DELTA_ANGL
Definition: iio_types.h:79
adis_read_diag_overrange
int adis_read_diag_overrange(struct adis_dev *adis, uint32_t *overrange)
Diagnosis: read overrange for inertial sensors flag value.
Definition: adis.c:1042
adis_read_bias_corr_en_yg
int adis_read_bias_corr_en_yg(struct adis_dev *adis, uint32_t *bias_corr_en_yg)
Read y axis gyroscope bias correction enable bit value.
Definition: adis.c:3454
ADIS_FIRM_DATE
@ ADIS_FIRM_DATE
Definition: iio_adis_internals.h:183
adis_cmd_fls_mem_update
int adis_cmd_fls_mem_update(struct adis_dev *adis)
Command: flash memory update.
Definition: adis.c:3631
adis_get_deltavelocity_scale
int adis_get_deltavelocity_scale(struct adis_dev *adis, struct adis_scale_fractional_log2 *deltavelocity_scale)
Read adis device delta velocity scale in fractional form.
Definition: adis.c:4192
ADIS_SYNC_SCALED
#define ADIS_SYNC_SCALED
Definition: adis.h:63
adis_write_yg_bias
int adis_write_yg_bias(struct adis_dev *adis, int32_t yg_bias)
Write raw gyroscope offset correction on y axis.
Definition: adis.c:1598
iio_device_data
Definition: iio_types.h:226
adis_iio_dev::data_cntr
uint32_t data_cntr
Definition: iio_adis_internals.h:226
adis_scale_fractional_log2::dividend
uint32_t dividend
Definition: adis.h:239
adis_read_bias_corr_en_xa
int adis_read_bias_corr_en_xa(struct adis_dev *adis, uint32_t *bias_corr_en_xa)
Read x axis accelerometer bias correction enable bit value.
Definition: adis.c:3506
adis_iio_dev::sampling_frequency
uint32_t sampling_frequency
Definition: iio_adis_internals.h:228
adis_write_fir_en_yg
int adis_write_fir_en_yg(struct adis_dev *adis, uint32_t fir_en_yg)
Write y axis gyroscope filter enable bit value.
Definition: adis.c:2104
ADIS16465_2
@ ADIS16465_2
Definition: adis.h:76
adis_read_dr_enable
int adis_read_dr_enable(struct adis_dev *adis, uint32_t *dr_enable)
Read data ready enable encoded value.
Definition: adis.c:2623
ADIS_DELTA_VEL_CHAN_NO_SCAN
#define ADIS_DELTA_VEL_CHAN_NO_SCAN(mod, idx, attr)
Definition: iio_adis_internals.h:296
ADIS_DIAG_INT_REG_ERR
@ ADIS_DIAG_INT_REG_ERR
Definition: iio_adis_internals.h:101
adis_read_alarm_enable
int adis_read_alarm_enable(struct adis_dev *adis, uint32_t *alarm_enable)
Read alarm enable encoded value.
Definition: adis.c:2867
adis_write_fifo_wm_int_pol
int adis_write_fifo_wm_int_pol(struct adis_dev *adis, uint32_t fifo_wm_int_pol)
Write FIFO watermark interrupt polarity bit value.
Definition: adis.c:1925
adis_read_diag_ext_5v_supply_err
int adis_read_diag_ext_5v_supply_err(struct adis_dev *adis, uint32_t *ext_5v_supply_err)
Diagnosis: read external 5V supply error flag value.
Definition: adis.c:1189
adis1646x_iio_remove
void adis1646x_iio_remove(struct adis_iio_dev *desc)
Remove adis1646x iio device.
Definition: iio_adis1646x.c:393
adis_read_diag_boot_memory_failure
int adis_read_diag_boot_memory_failure(struct adis_dev *adis, uint32_t *boot_memory_failure)
Diagnosis: read boot memory failure error flag value.
Definition: adis.c:1105
adis1646x_iio_init
int adis1646x_iio_init(struct adis_iio_dev **iio_dev, struct adis_init_param *init_param)
Initialize adis1646x iio device.
Definition: iio_adis1646x.c:360
adis_remove
void adis_remove(struct adis_dev *adis)
Remove adis device.
Definition: adis.c:162
adis_chip_info::sampling_clk_limits
const struct adis_clk_freq_limit sampling_clk_limits
Definition: adis_internals.h:430
ADIS_CMD_SW_RES
@ ADIS_CMD_SW_RES
Definition: iio_adis_internals.h:177
adis_read_diag_mem_failure
int adis_read_diag_mem_failure(struct adis_dev *adis, uint32_t *mem_failure)
Diagnosis: read flash memory test error flag value.
Definition: adis.c:774
ADIS_USR_SCR_1
@ ADIS_USR_SCR_1
Definition: iio_adis_internals.h:187
ADIS_ALARM_IND_LINE_SEL
@ ADIS_ALARM_IND_LINE_SEL
Definition: iio_adis_internals.h:129
ADIS_GYRO_FIR_ENABLE
@ ADIS_GYRO_FIR_ENABLE
Definition: iio_adis_internals.h:145
ADIS_TEMP
@ ADIS_TEMP
Definition: iio_adis_internals.h:59
ADIS_FIR_BANK_SEL_YA
@ ADIS_FIR_BANK_SEL_YA
Definition: iio_adis_internals.h:157
ADIS_ACCEL_CHAN
#define ADIS_ACCEL_CHAN(mod, idx, adis_nb, attr)
Definition: iio_adis_internals.h:248
adis_read_sync_selection
int adis_read_sync_selection(struct adis_dev *adis, uint32_t *sync_selection)
Read sync selection encoded value.
Definition: adis.c:2662
adis_write_fir_en_za
int adis_write_fir_en_za(struct adis_dev *adis, uint32_t fir_en_za)
Write z axis accelerometer filter enable bit value.
Definition: adis.c:2200
adis_read_za_bias
int adis_read_za_bias(struct adis_dev *adis, int32_t *za_bias)
Read raw acceleration offset correction on z axis.
Definition: adis.c:1675
ADIS_CMD_WRITE_LOCK
@ ADIS_CMD_WRITE_LOCK
Definition: iio_adis_internals.h:178
adis_read_diag_snsr_init_failure
int adis_read_diag_snsr_init_failure(struct adis_dev *adis, uint32_t *snsr_init_failure)
Diagnosis: read sensor initialization failure flag value.
Definition: adis.c:650
adis_write_dec_rate
int adis_write_dec_rate(struct adis_dev *adis, uint32_t dec_rate)
Write decimation rate value.
Definition: adis.c:3378
adis_read_serial_num
int adis_read_serial_num(struct adis_dev *adis, uint32_t *serial_num)
Read serial number value.
Definition: adis.c:3801
ADIS_USR_SCR_4
@ ADIS_USR_SCR_4
Definition: iio_adis_internals.h:190
ADIS_FIR_EN_XA
@ ADIS_FIR_EN_XA
Definition: iio_adis_internals.h:150
adis1646x_iio_remove
void adis1646x_iio_remove(struct adis_iio_dev *desc)
Remove adis1646x iio device.
Definition: iio_adis1646x.c:393
adis_read_up_scale
int adis_read_up_scale(struct adis_dev *adis, uint32_t *up_scale)
Read external clock scale factor value.
Definition: adis.c:3326
adis_read_fir_en_xg
int adis_read_fir_en_xg(struct adis_dev *adis, uint32_t *fir_en_xg)
Read x axis gyroscope filter enable bit value.
Definition: adis.c:2068
ADIS_ACCEL_Y
@ ADIS_ACCEL_Y
Definition: iio_adis_internals.h:57
adis_iio_read_debug_attrs
int adis_iio_read_debug_attrs(void *dev, char *buf, uint32_t len, const struct iio_ch_info *channel, intptr_t priv)
Handles the read request for debug attributes.
Definition: iio_adis.c:877
adis_iio_read_gyro_meas_range
int adis_iio_read_gyro_meas_range(struct adis_iio_dev *iio_adis, char *buf)
Reads gyroscope measurement range value and returns it in char format.
Definition: iio_adis.c:863
adis_cmd_write_lock
int adis_cmd_write_lock(struct adis_dev *adis)
Command: write lock.
Definition: adis.c:3703
adis_read_zg_bias
int adis_read_zg_bias(struct adis_dev *adis, int32_t *zg_bias)
Read raw gyroscope offset correction on z axis.
Definition: adis.c:1609
adis_write_usr_scr_2
int adis_write_usr_scr_2(struct adis_dev *adis, uint32_t usr_scr_2)
Write user scratch register 2 value.
Definition: adis.c:3856
adis_read_gpio_dir
int adis_read_gpio_dir(struct adis_dev *adis, uint8_t dio_nb, uint32_t *dir)
Read gpio configured direction.
Definition: adis.c:2907
ADIS_DIO_2_LVL
@ ADIS_DIO_2_LVL
Definition: iio_adis_internals.h:135
iio_buffer_push_scan
int iio_buffer_push_scan(struct iio_buffer *buffer, void *data)
Definition: iio.c:1434
IIO_DELTA_VELOCITY
@ IIO_DELTA_VELOCITY
Definition: iio_types.h:80
adis_read_fir_bank_sel_zg
int adis_read_fir_bank_sel_zg(struct adis_dev *adis, uint32_t *fir_bank_sel_zg)
Read z axis gyroscope filter bank selection encoded value.
Definition: adis.c:2280
NO_OS_DIV_ROUND_CLOSEST
#define NO_OS_DIV_ROUND_CLOSEST(x, y)
Definition: no_os_util.h:54
adis_read_diag_clk_err
int adis_read_diag_clk_err(struct adis_dev *adis, uint32_t *clk_err)
Diagnosis: read clock error flag value.
Definition: adis.c:794
adis_read_firm_rev
int adis_read_firm_rev(struct adis_dev *adis, uint32_t *firm_rev)
Read firmware revision value.
Definition: adis.c:3735
adis_read_bias_corr_en_za
int adis_read_bias_corr_en_za(struct adis_dev *adis, uint32_t *bias_corr_en_za)
Read z axis accelerometer bias correction enable bit value.
Definition: adis.c:3558
ADIS_GYRO_MEAS_RANGE
@ ADIS_GYRO_MEAS_RANGE
Definition: iio_adis_internals.h:119
ADIS_CMD_BIAS_CORR_UPDATE
@ ADIS_CMD_BIAS_CORR_UPDATE
Definition: iio_adis_internals.h:171
ADIS_TEMP_CHAN
@ ADIS_TEMP_CHAN
Definition: adis.h:117
adis_write_linear_accl_comp
int adis_write_linear_accl_comp(struct adis_dev *adis, uint32_t linear_accl_comp)
Write linear acceleration compensation enable bit value.
Definition: adis.c:3161