Go to the documentation of this file.
34 #ifndef __ADIS1655X_H__
35 #define __ADIS1655X_H__
#define ADIS_SYNC_DEFAULT
Definition: adis.h:61
struct adis_field sync_mode
Definition: adis_internals.h:287
void no_os_memswap64(void *buf, uint32_t bytes, uint32_t step)
int adis_write_up_scale(struct adis_dev *adis, uint32_t up_scale)
Write external clock scale factor value.
Definition: adis.c:3338
ADIS frequency limit for input synchronization clock.
Definition: adis_internals.h:100
@ ADIS_GYRO_CHAN
Definition: adis.h:116
#define ADIS_4_BYTES_SIZE
Definition: adis.h:57
uint8_t rx[8]
Definition: adis.h:288
#define ADIS_HAS_BURST_DELTA_DATA
Definition: adis_internals.h:39
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:3075
Internal include file used for specific chip driver definitions, which are not useful for the user.
void adis_update_temp_flags(struct adis_dev *adis, uint16_t temp_reg)
Update device temperature flags according to the received parameter.
Definition: adis.c:632
int32_t no_os_spi_write_and_read(struct no_os_spi_desc *desc, uint8_t *data, uint16_t bytes_number)
Write and read data to/from SPI.
Definition: no_os_spi.c:159
ADIS generic scale members structure.
Definition: adis_internals.h:110
@ ADIS16550
Definition: adis.h:102
ADIS chip timeouts.
Definition: adis_internals.h:55
uint16_t temp_msb
Definition: adis.h:250
#define RAD_TO_DEGREE(rad)
Definition: no_os_units.h:77
ADIS burst data structure.
Definition: adis.h:248
uint32_t min_freq
Definition: adis_internals.h:102
uint16_t x_accel_lsb
Definition: adis.h:259
#define ADIS1655X_STALL_PERIOD_BURST_US
Definition: adis1655x.c:53
#define ADIS_2_BYTES_SIZE
Definition: adis.h:58
uint16_t y_gyro_msb
Definition: adis.h:256
adis_chan_type
Supported channels.
Definition: adis.h:114
Definition: no_os_spi.h:100
Header file of Delay functions.
uint16_t y_gyro_lsb
Definition: adis.h:255
#define ADIS_SYNC_DIRECT
Definition: adis.h:62
uint16_t z_gyro_msb
Definition: adis.h:258
@ ADIS_ACCL_CHAN
Definition: adis.h:115
#define M_S_2_TO_G(ms2)
Definition: no_os_units.h:84
uint16_t y_accel_msb
Definition: adis.h:262
bool is_locked
Definition: adis.h:300
uint16_t x_gyro_msb
Definition: adis.h:254
uint16_t z_gyro_lsb
Definition: adis.h:257
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
uint16_t data_cntr_lsb
Definition: adis.h:251
#define ADIS_REG_PAGE_ID
Definition: adis_internals.h:47
uint8_t * tx_buff
Definition: no_os_spi.h:102
ADIS specific chip information structure.
Definition: adis_internals.h:422
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:3063
uint8_t tx[12]
Definition: adis.h:286
#define ADIS_HAS_BURST32
Definition: adis_internals.h:38
uint16_t z_accel_msb
Definition: adis.h:264
#define ADIS1655X_CRC32_SEED
Definition: adis1655x.c:52
ADIS device descriptor structure.
Definition: adis.h:270
const struct adis_clk_freq_limit * sync_clk_freq_limits
Definition: adis_internals.h:428
uint32_t max_freq
Definition: adis_internals.h:104
const struct adis_data_field_map_def * field_map
Definition: adis_internals.h:426
uint16_t z_accel_lsb
Definition: adis.h:263
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:3087
uint32_t ext_clk
Definition: adis.h:292
const struct adis_chip_info * info
Definition: adis.h:276
uint32_t scale_m2
Definition: adis_internals.h:112
Implementation of adis.h.
struct adis_field sw_res
Definition: adis_internals.h:350
uint32_t write_delay
Definition: adis_internals.h:438
#define ADIS1655X_WRITE_REQ
Definition: adis1655x.c:50
@ ADIS_DELTAANGL_CHAN
Definition: adis.h:118
uint32_t cs_change_delay
Definition: adis_internals.h:440
uint32_t scale_m1
Definition: adis_internals.h:111
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:3099
Implementation of adis1655x.h.
int32_t no_os_spi_transfer(struct no_os_spi_desc *desc, struct no_os_spi_msg *msgs, uint32_t len)
Iterate over head list and send all spi messages.
Definition: no_os_spi.c:185
adis_axis_type
Supported axes.
Definition: adis.h:125
#define ADIS_PAGE_SIZE
Definition: adis_internals.h:46
#define NO_OS_BIT(x)
Definition: no_os_util.h:45
uint16_t reg_addr
Definition: adis_internals.h:120
const struct adis_chip_info adis1655x_chip_info
Definition: adis1655x.c:888
uint16_t temp_lsb
Definition: adis.h:249
void no_os_udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: aducm3029_delay.c:114
uint8_t sync_mode_max
Definition: adis_internals.h:452
int adis_read_field_u32(struct adis_dev *adis, struct adis_field field, uint32_t *field_val)
Read field to uint32 value.
Definition: adis.c:404
uint16_t reset_ms
Definition: adis_internals.h:57
uint32_t no_os_get_unaligned_be32(uint8_t *buf)
uint32_t read_delay
Definition: adis_internals.h:436
uint16_t data_cntr_msb
Definition: adis.h:252
#define DEGREE_TO_RAD(deg)
Definition: no_os_units.h:74
ADIS filed map definition structure.
Definition: adis_internals.h:130
#define ADIS1655X_READ_REQ
Definition: adis1655x.c:51
#define ADIS1655X_ID_NO_OFFSET(x)
Definition: adis1655x.c:49
uint16_t x_accel_msb
Definition: adis.h:260
struct no_os_spi_desc * spi_desc
Definition: adis.h:272
uint16_t no_os_get_unaligned_be16(uint8_t *buf)
@ ADIS_DELTAVEL_CHAN
Definition: adis.h:119
int adis_write_field_u32(struct adis_dev *adis, struct adis_field field, uint32_t field_val)
Write field from uint32 value.
Definition: adis.c:449
#define ADIS_SYNC_SCALED
Definition: adis.h:63
uint16_t x_gyro_lsb
Definition: adis.h:253
struct adis_field x_gyro
Definition: adis_internals.h:196
const struct adis_clk_freq_limit sampling_clk_limits
Definition: adis_internals.h:430
const struct adis_chip_info adis1655x_chip_info
Definition: adis1655x.c:888
uint16_t y_accel_lsb
Definition: adis.h:261
void adis_update_diag_flags(struct adis_dev *adis, uint32_t diag_stat)
Update device diagnosis flags according to the received parameter.
Definition: adis.c:507
enum adis_device_id dev_id
Definition: adis.h:282
@ ADIS_TEMP_CHAN
Definition: adis.h:117
uint32_t current_page
Definition: adis.h:284