| ICM40609D eMD Driver 2.0.0 Documentation of the eMD Driver API

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

Classes | Enumerations | Functions
Icm406xxDefs.h File Reference

File exposing the device register map. More...

`#include <stdint.h>`
Include dependency graph for Icm406xxDefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
union | fifo_header_t

## Enumerations
enum | ICM406XX_GYRO_CONFIG0_FS_SEL_t { ICM406XX_GYRO_CONFIG0_FS_SEL_16dps = (7 << BIT_GYRO_CONFIG0_FS_SEL_POS) , ICM406XX_GYRO_CONFIG0_FS_SEL_31dps = (6 << BIT_GYRO_CONFIG0_FS_SEL_POS) , ICM406XX_GYRO_CONFIG0_FS_SEL_62dps = (5 << BIT_GYRO_CONFIG0_FS_SEL_POS) , ICM406XX_GYRO_CONFIG0_FS_SEL_125dps = (4 << BIT_GYRO_CONFIG0_FS_SEL_POS) , ICM406XX_GYRO_CONFIG0_FS_SEL_250dps = (3 << BIT_GYRO_CONFIG0_FS_SEL_POS) , ICM406XX_GYRO_CONFIG0_FS_SEL_500dps = (2 << BIT_GYRO_CONFIG0_FS_SEL_POS) , ICM406XX_GYRO_CONFIG0_FS_SEL_1000dps = (1 << BIT_GYRO_CONFIG0_FS_SEL_POS) , ICM406XX_GYRO_CONFIG0_FS_SEL_2000dps = (0 << BIT_GYRO_CONFIG0_FS_SEL_POS) }
| Gyroscope FSR selection. More...
enum | ICM406XX_GYRO_CONFIG0_ODR_t { ICM406XX_GYRO_CONFIG0_ODR_6_25_HZ = 0x0C , ICM406XX_GYRO_CONFIG0_ODR_12_5_HZ = 0x0B , ICM406XX_GYRO_CONFIG0_ODR_25_HZ = 0x0A , ICM406XX_GYRO_CONFIG0_ODR_50_HZ = 0x09 , ICM406XX_GYRO_CONFIG0_ODR_100_HZ = 0x08 , ICM406XX_GYRO_CONFIG0_ODR_200_HZ = 0x07 , ICM406XX_GYRO_CONFIG0_ODR_1_KHZ = 0x06 , ICM406XX_GYRO_CONFIG0_ODR_2_KHZ = 0x05 , ICM406XX_GYRO_CONFIG0_ODR_4_KHZ = 0x04 , ICM406XX_GYRO_CONFIG0_ODR_8_KHZ = 0x03 , ICM406XX_GYRO_CONFIG0_ODR_16_KHZ = 0x02 , ICM406XX_GYRO_CONFIG0_ODR_32_KHZ = 0x01 , ICM406XX_GYRO_CONFIG0_ODR_64_KHZ = 0x00 }
| Gyroscope ODR selection. More...
enum | ICM406XX_ACCEL_CONFIG0_FS_SEL_t { ICM406XX_ACCEL_CONFIG0_FS_SEL_1g = (0x4 << BIT_ACCEL_CONFIG0_FS_SEL_POS) , ICM406XX_ACCEL_CONFIG0_FS_SEL_2g = (0x3 << BIT_ACCEL_CONFIG0_FS_SEL_POS) , ICM406XX_ACCEL_CONFIG0_FS_SEL_4g = (0x2 << BIT_ACCEL_CONFIG0_FS_SEL_POS) , ICM406XX_ACCEL_CONFIG0_FS_SEL_8g = (0x1 << BIT_ACCEL_CONFIG0_FS_SEL_POS) , ICM406XX_ACCEL_CONFIG0_FS_SEL_16g = (0x0 << BIT_ACCEL_CONFIG0_FS_SEL_POS) }
| Accelerometer FSR selection. More...
enum | ICM406XX_ACCEL_CONFIG0_ODR_t { ICM406XX_ACCEL_CONFIG0_ODR_6_25_HZ = 0xC , ICM406XX_ACCEL_CONFIG0_ODR_12_5_HZ = 0xB , ICM406XX_ACCEL_CONFIG0_ODR_25_HZ = 0xA , ICM406XX_ACCEL_CONFIG0_ODR_50_HZ = 0x9 , ICM406XX_ACCEL_CONFIG0_ODR_100_HZ = 0x8 , ICM406XX_ACCEL_CONFIG0_ODR_200_HZ = 0x7 , ICM406XX_ACCEL_CONFIG0_ODR_1_KHZ = 0x6 , ICM406XX_ACCEL_CONFIG0_ODR_2_KHZ = 0x5 , ICM406XX_ACCEL_CONFIG0_ODR_4_KHZ = 0x4 , ICM406XX_ACCEL_CONFIG0_ODR_8_KHZ = 0x3 , ICM406XX_ACCEL_CONFIG0_ODR_16_KHZ = 0x2 , ICM406XX_ACCEL_CONFIG0_ODR_32_KHZ = 0x1 , ICM406XX_ACCEL_CONFIG0_ODR_64_KHZ = 0x0 }
| Accelerometer ODR selection. More...

## Functions
int | inv_icm406xx_wr_device_config_spi_mode (struct inv_icm406xx *s, ICM406XX_DEVICE_CONFIG_SPI_MODE_t new_value)
| Set DEVICE_CONFIG register SPI_MODE bits. More...
int | inv_icm406xx_wr_device_config_reset (struct inv_icm406xx *s, ICM406XX_DEVICE_CONFIG_RESET_t new_value)
| Set DEVICE_CONFIG register SOFT_RESET_CONFIG bit. More...
int | inv_icm406xx_wr_int_cfg_int1_drive_circuit (struct inv_icm406xx *s, ICM406XX_INT_CONFIG_INT1_DRIVE_CIRCUIT_t new_value)
| Set INT_CONFIG register INT1_DRIVE_CIRCUIT bit. More...
int | inv_icm406xx_wr_int_cfg_int1_polarity (struct inv_icm406xx *s, ICM406XX_INT_CONFIG_INT1_POLARITY_t new_value)
| Set INT_CONFIG register INT1_POLARITY bit. More...
int | inv_icm406xx_wr_fifo_config_mode (struct inv_icm406xx *s, ICM406XX_FIFO_CONFIG_MODE_t new_value)
| Set FIFO_CONFIG register FIFO_MODE bit. More...
int | inv_icm406xx_rd_fifo_config_mode (struct inv_icm406xx *s, ICM406XX_FIFO_CONFIG_MODE_t *value)
| Read FIFO_CONFIG register FIFO_MODE bit. More...
int | inv_icm406xx_rd_int_status (struct inv_icm406xx *s, uint8_t *value)
| Get INT_STATUS register value. More...
int | inv_icm406xx_rd_fifo_count (struct inv_icm406xx *s, uint8_t value[2])
| Get FIFO count from FIFO_COUNTL and FIFO_COUNTH registers. More...
int | inv_icm406xx_rd_fifo (struct inv_icm406xx *s, int len, uint8_t *value)
| Read FIFO_DATA_REG. More...
int | inv_icm406xx_wr_signal_path_rst_tmst_strobe (struct inv_icm406xx *s, ICM406XX_SIGNAL_PATH_RESET_TMST_STROBE_t new_value)
| Set SIGNAL_PATH_RESET register TMST_STROBE bit. More...
int | inv_icm406xx_wr_signal_path_rst_fifo_flush (struct inv_icm406xx *s, ICM406XX_SIGNAL_PATH_RESET_FIFO_FLUSH_t new_value)
| Set SIGNAL_PATH_RESET register FIFO_FLUSH bit. More...
int | inv_icm406xx_wr_intf_config0_fifo_sreg_invalid_ind (struct inv_icm406xx *s, ICM406XX_INTF_CONFIG0_FIFO_SREG_INVALID_IND_t new_value)
| Set INTF_CONFIG0 register FIFO_SREG_INVALID_IND bit. More...
int | inv_icm406xx_wr_intf_config0_fifo_count_rec (struct inv_icm406xx *s, ICM406XX_INTF_CONFIG0_FIFO_COUNT_REC_t new_value)
| Set INTF_CONFIG0 register FIFO_COUNT_REC bit. More...
int | inv_icm406xx_wr_intf_config0_fifo_count_endian (struct inv_icm406xx *s, ICM406XX_INTF_CONFIG0_FIFO_COUNT_ENDIAN_t new_value)
| Set INTF_CONFIG0 register FIFO_COUNT_ENDIAN bit. More...
int | inv_icm406xx_wr_intf_config0_data_endian (struct inv_icm406xx *s, ICM406XX_INTF_CONFIG0_DATA_COUNT_ENDIAN_t new_value)
| Set INTF_CONFIG0 register DATA_ENDIAN bit. More...
int | inv_icm406xx_rd_intf_config0_data_endian (struct inv_icm406xx *s, ICM406XX_INTF_CONFIG0_DATA_COUNT_ENDIAN_t *value)
| Get INTF_CONFIG0 register DATA_ENDIAN bit. More...
int | inv_icm406xx_wr_intf_config0_spi_mode_ois2 (struct inv_icm406xx *s, ICM406XX_INTF_CONFIG0_SPI_MODE_OIS2_t new_value)
| Set INTF_CONFIG0 register SPI_MODE_AUX2 bit. More...
int | inv_icm406xx_wr_intf_config0_spi_mode_ois1 (struct inv_icm406xx *s, ICM406XX_INTF_CONFIG0_SPI_MODE_OIS1_t new_value)
| Set INTF_CONFIG0 register SPI_MODE_OIS1 bit. More...
int | inv_icm406xx_wr_intf_config1_accel_lp_clk_sel (struct inv_icm406xx *s, ICM406XX_INTF_CONFIG1_ACCEL_LP_CLK_SEL_t new_value)
| Set INTF_CONFIG1 register ACCEL_LP_CLK_SEL bit. More...
int | inv_icm406xx_wr_pwr_mgmt0_temp_en (struct inv_icm406xx *s, ICM406XX_PWR_MGMT_0_TEMP_t new_value)
| Set PWR_MGMT_0 register TEMP_DIS bit. More...
int | inv_icm406xx_rd_pwr_mgmt0_temp_en (struct inv_icm406xx *s, ICM406XX_PWR_MGMT_0_TEMP_t *value)
| Read PWR_MGMT_0 register TEMP_DIS bit. More...
int | inv_icm406xx_wr_pwr_mgmt0_gyro_mode (struct inv_icm406xx *s, ICM406XX_PWR_MGMT_0_GYRO_MODE_t new_value)
| Set PWR_MGMT_0 register GYRO_MODE bit. More...
int | inv_icm406xx_rd_pwr_mgmt0_gyro_mode (struct inv_icm406xx *s, ICM406XX_PWR_MGMT_0_GYRO_MODE_t *value)
| Read PWR_MGMT_0 register GYRO_MODE bit. More...
int | inv_icm406xx_wr_pwr_mgmt0_accel_mode (struct inv_icm406xx *s, ICM406XX_PWR_MGMT_0_ACCEL_MODE_t new_value)
| Set PWR_MGMT_0 register ACCEL_MODE bit. More...
int | inv_icm406xx_rd_pwr_mgmt0_accel_mode (struct inv_icm406xx *s, ICM406XX_PWR_MGMT_0_ACCEL_MODE_t *value)
| Read PWR_MGMT_0 register ACCEL_MODE bit. More...
int | inv_icm406xx_wr_gyro_config0_fs_sel (struct inv_icm406xx *s, ICM406XX_GYRO_CONFIG0_FS_SEL_t new_value)
| Set GYRO_CONFIG0 register GYRO_FS_SEL bits. More...
int | inv_icm406xx_rd_gyro_config0_fs_sel (struct inv_icm406xx *s, ICM406XX_GYRO_CONFIG0_FS_SEL_t *value)
| Get GYRO_CONFIG0 register GYRO_FS_SEL bits. More...
int | inv_icm406xx_wr_gyro_config0_odr (struct inv_icm406xx *s, ICM406XX_GYRO_CONFIG0_ODR_t new_value)
| Set GYRO_CONFIG0 register GYRO_ODR bits. More...
int | inv_icm406xx_rd_gyro_config0_odr (struct inv_icm406xx *s, ICM406XX_GYRO_CONFIG0_ODR_t *value)
| Get GYRO_CONFIG0 register GYRO_ODR bits. More...
int | inv_icm406xx_wr_accel_config0_fs_sel (struct inv_icm406xx *s, ICM406XX_ACCEL_CONFIG0_FS_SEL_t new_value)
| Set ACCEL_CONFIG0 register ACCEL_FS_SEL bits. More...
int | inv_icm406xx_rd_accel_config0_fs_sel (struct inv_icm406xx *s, ICM406XX_ACCEL_CONFIG0_FS_SEL_t *value)
| Get ACCEL_CONFIG0 register ACCEL_FS_SEL bits. More...
int | inv_icm406xx_wr_accel_config0_odr (struct inv_icm406xx *s, ICM406XX_ACCEL_CONFIG0_ODR_t new_value)
| Set ACCEL_CONFIG0 register ACCEL_ODR bits. More...
int | inv_icm406xx_rd_accel_config0_odr (struct inv_icm406xx *s, ICM406XX_ACCEL_CONFIG0_ODR_t *value)
| Read ACCEL_CONFIG0 register ACCEL_ODR bits. More...
int | inv_icm406xx_wr_gyro_config1_avg_filt_rate (struct inv_icm406xx *s, ICM406XX_GYRO_CONFIG1_AVG_FILT_RATE_t new_value)
| Set GYRO_CONFIG1 register AVG_FILT_RATE bit. More...
int | inv_icm406xx_wr_gyro_accel_config0_accel_filt_bw (struct inv_icm406xx *s, ICM406XX_GYRO_ACCEL_CONFIG0_ACCEL_FILT_BW_t new_value)
| Set GYRO_ACCEL_CONFIG0 register ACCEL_FILT bit. More...
int | inv_icm406xx_rd_gyro_accel_config0_accel_filt_bw (struct inv_icm406xx *s, ICM406XX_GYRO_ACCEL_CONFIG0_ACCEL_FILT_BW_t *value)
| Get GYRO_ACCEL_CONFIG0 register ACCEL_FILT bit. More...
int | inv_icm406xx_wr_gyro_accel_config0_accel_filt_avg (struct inv_icm406xx *s, ICM406XX_GYRO_ACCEL_CONFIG0_ACCEL_FILT_AVG_t new_value)
| Set GYRO_ACCEL_CONFIG0 register ACCEL_FILT bit. More...
int | inv_icm406xx_rd_gyro_accel_config0_accel_filt_avg (struct inv_icm406xx *s, ICM406XX_GYRO_ACCEL_CONFIG0_ACCEL_FILT_AVG_t *value)
| Get GYRO_ACCEL_CONFIG0 register ACCEL_FILT bit. More...
int | inv_icm406xx_wr_gyro_accel_config0_gyro_filt_bw (struct inv_icm406xx *s, ICM406XX_GYRO_ACCEL_CONFIG0_GYRO_FILT_BW_t new_value)
| Set GYRO_ACCEL_CONFIG0 register GYRO_FILT_BW bit. More...
int | inv_icm406xx_rd_gyro_accel_config0_gyro_filt_bw (struct inv_icm406xx *s, ICM406XX_GYRO_ACCEL_CONFIG0_GYRO_FILT_BW_t *value)
| Get GYRO_ACCEL_CONFIG0 register GYRO_FILT_BW bit. More...
int | inv_icm406xx_wr_gyro_accel_config0_gyro_filt_avg (struct inv_icm406xx *s, ICM406XX_GYRO_ACCEL_CONFIG0_GYRO_FILT_AVG_t new_value)
| Set GYRO_ACCEL_CONFIG0 register GYRO_FILT_AVG bit. More...
int | inv_icm406xx_wr_accel_config1_avg_filt_rate (struct inv_icm406xx *s, ICM406XX_ACCEL_CONFIG1_AVG_FILT_RATE_t new_value)
| Set ACCEL_CONFIG1 register AVG_FILT_RATE bit. More...
int | inv_icm406xx_rd_accel_config1_avg_filt_rate (struct inv_icm406xx *s, ICM406XX_ACCEL_CONFIG1_AVG_FILT_RATE_t *value)
| Get ACCEL_CONFIG1 register AVG_FILT_RATE bit. More...
int | inv_icm406xx_wr_accel_wom_x_thr (struct inv_icm406xx *s, uint8_t new_value)
| Set ACCEL_WOM_X_THR register WOM_X_TH bits. More...
int | inv_icm406xx_wr_accel_wom_y_thr (struct inv_icm406xx *s, uint8_t new_value)
| Set ACCEL_WOM_Y_THR register WOM_Y_TH bits. More...
int | inv_icm406xx_wr_accel_wom_z_thr (struct inv_icm406xx *s, uint8_t new_value)
| Set ACCEL_WOM_Z_THR register WOM_Z_TH bits. More...
int | inv_icm406xx_wr_smd_config_wom_int_mode (struct inv_icm406xx *s, ICM406XX_SMD_CONFIG_WOM_INT_MODE_t new_value)
| Set MPUREG_SMD_CONFIG register WOM_INT_MODE bit. More...
int | inv_icm406xx_rd_smd_config_wom_int_mode (struct inv_icm406xx *s, ICM406XX_SMD_CONFIG_WOM_INT_MODE_t *value)
| Get MPUREG_SMD_CONFIG register WOM_INT_MODE bit. More...
int | inv_icm406xx_wr_smd_config_wom_mode (struct inv_icm406xx *s, ICM406XX_SMD_CONFIG_WOM_MODE_t new_value)
| Set MPUREG_SMD_CONFIG register WOM_MODE bit. More...
int | inv_icm406xx_rd_smd_config_wom_mode (struct inv_icm406xx *s, ICM406XX_SMD_CONFIG_WOM_MODE_t *value)
| Get MPUREG_SMD_CONFIG register WOM_MODE bit. More...
int | inv_icm406xx_wr_smd_config_smd_mode (struct inv_icm406xx *s, ICM406XX_SMD_CONFIG_SMD_MODE_t new_value)
| Set MPUREG_SMD_CONFIG register SMD_MODE bit. More...
int | inv_icm406xx_rd_smd_config_smd_mode (struct inv_icm406xx *s, ICM406XX_SMD_CONFIG_SMD_MODE_t *value)
| Get MPUREG_SMD_CONFIG register SMD_MODE bit. More...
int | inv_icm406xx_rd_int_status2 (struct inv_icm406xx *s, uint8_t *value)
| Get INT_STATUS2 register value. More...
int | inv_icm406xx_wr_tmst_config_tmst_to_reg (struct inv_icm406xx *s, ICM406XX_TMST_CONFIG_TMST_TO_REGS_EN_t new_value)
| Set TMST_CONFIG register TMST_TO_REGS_EN bit. More...
int | inv_icm406xx_wr_tmst_config_resolution (struct inv_icm406xx *s, ICM406XX_TMST_CONFIG_RESOL_t new_value)
| Set TMST_CONFIG register TMST_RES bit. More...
int | inv_icm406xx_wr_tmst_config_fsync_en (struct inv_icm406xx *s, ICM406XX_TMST_CONFIG_TMST_FSYNC_EN_t new_value)
| Set TMST_CONFIG register TMST_FSYNC bit. More...
int | inv_icm406xx_rd_tmst_config_fsync_en (struct inv_icm406xx *s, ICM406XX_TMST_CONFIG_TMST_FSYNC_EN_t *value)
| Read TMST_CONFIG register TMST_FSYNC bit. More...
int | inv_icm406xx_wr_tmst_config_en (struct inv_icm406xx *s, ICM406XX_TMST_CONFIG_TMST_EN_t new_value)
| Set TMST_CONFIG register ICM406XX_TMST_CONFIG_EN bit. More...
int | inv_icm406xx_wr_fifo_config1_wm_gt_th (struct inv_icm406xx *s, ICM406XX_FIFO_CONFIG1_WM_GT_t new_value)
| Set FIFO_CONFIG1 register FIFO_WM_GT_TH bit. More...
int | inv_icm406xx_wr_fifo_config1_hires (struct inv_icm406xx *s, ICM406XX_FIFO_CONFIG1_HIRES_t new_value)
| Set FIFO_CONFIG1 register FIFO_HIRES_EN bit. More...
int | inv_icm406xx_wr_fifo_config1_tmst_fsync (struct inv_icm406xx *s, ICM406XX_FIFO_CONFIG1_TMST_FSYNC_t new_value)
| Set FIFO_CONFIG1 register FIFO_TMST_FSYNC_EN bit. More...
int | inv_icm406xx_wr_fifo_config1_temp_en (struct inv_icm406xx *s, ICM406XX_FIFO_CONFIG1_TEMP_t new_value)
| Set FIFO_CONFIG1 register FIFO_TEMP_EN bit. More...
int | inv_icm406xx_wr_fifo_config1_gyro_en (struct inv_icm406xx *s, ICM406XX_FIFO_CONFIG1_GYRO_t new_value)
| Set FIFO_CONFIG1 register FIFO_GYRO_EN bit. More...
int | inv_icm406xx_wr_fifo_config1_accel_en (struct inv_icm406xx *s, ICM406XX_FIFO_CONFIG1_ACCEL_t new_value)
| Set FIFO_CONFIG1 register FIFO_ACCEL_EN bit. More...
int | inv_icm406xx_wr_fifo_config2 (struct inv_icm406xx *s, uint8_t new_value)
| Set FIFO_CONFIG2 register value. More...
int | inv_icm406xx_fsync_config_ui_sel (struct inv_icm406xx *s, ICM406XX_FSYNC_CONFIG_UI_SEL_t new_value)
| Set FSYNC_CONFIG register FSYNC_UI_SEL bit. More...
int | inv_icm406xx_wr_int_config1_asy_rst_dis (struct inv_icm406xx *s, ICM406XX_INT_CONFIG1_ASY_RST_t new_value)
| Set INT_CONFIG1 register ASY_RESET_DISABLE bit. More...
int | inv_icm406xx_wr_int_source0 (struct inv_icm406xx *s, uint8_t new_value)
| Set INT_SOURCE0 register value. More...
int | inv_icm406xx_rd_int_source0 (struct inv_icm406xx *s, uint8_t *value)
| Get INT_SOURCE0 register value. More...
int | inv_icm406xx_wr_int_source1 (struct inv_icm406xx *s, uint8_t new_value)
| Set INT_SOURCE1 register value. More...
int | inv_icm406xx_rd_int_source1 (struct inv_icm406xx *s, uint8_t *value)
| Get INT_SOURCE1 register value. More...
int | inv_icm406xx_rd_who_am_i (struct inv_icm406xx *s, uint8_t *value)
| Get WHO_AM_I register value. More...
int | inv_icm406xx_wr_reg_bank_sel (struct inv_icm406xx *s, uint8_t new_value)
| Set REG_BANK_SEL register value. More...
int | inv_icm406xx_rd_tmst_val (struct inv_icm406xx *s, uint8_t value[3])
| Get TMST_VAL from TMST_VAL0_B1, TMST_VAL1_B1 and TMST_VAL2_B1 registers. More...
int | inv_icm406xx_wr_intf_config4_aux_spi (struct inv_icm406xx *s, ICM406XX_INTF_CONFIG4_AUX_SPI_t new_value)
| Set INTF_CONFIG4_B1 register SPI_AUX1_4WIRE bit. More...
int | inv_icm406xx_rd_intf_config4_aux_spi (struct inv_icm406xx *s, ICM406XX_INTF_CONFIG4_AUX_SPI_t *value)
| Get INTF_CONFIG4_B1 register SPI_AUX1_4WIRE bit. More...
int | inv_icm406xx_wr_intf_config4_ap_spi (struct inv_icm406xx *s, ICM406XX_INTF_CONFIG4_AP_SPI_t new_value)
| Set INTF_CONFIG4_B1 register SPI_AP_4WIRE bit. More...
int | inv_icm406xx_rd_intf_config4_ap_spi (struct inv_icm406xx *s, ICM406XX_INTF_CONFIG4_AP_SPI_t *value)
| Get INTF_CONFIG4_B1 register SPI_AP_4WIRE bit. More...
int | inv_icm406xx_wr_ois1_config1_dec (struct inv_icm406xx *s, ICM406XX_OIS1_CONFIG1_DEC_t new_value)
| Set AUX1_CONFIG1 register AUX1_DEC bit. More...
int | inv_icm406xx_wr_ois1_config1_gyro_en (struct inv_icm406xx *s, ICM406XX_OIS1_CONFIG1_GYRO_EN_t new_value)
| Set AUX1_CONFIG1 register GYRO_AUX1_EN bit. More...
int | inv_icm406xx_wr_ois1_config2_gyro_fs_sel (struct inv_icm406xx *s, ICM406XX_OIS1_CONFIG2_GYRO_FS_SEL_t new_value)
| Set AUX1_CONFIG2 register GYRO_AUX1_FS_SEL bit. More...
int | inv_icm406xx_rd_ois1_config2_gyro_fs_sel (struct inv_icm406xx *s, ICM406XX_OIS1_CONFIG2_GYRO_FS_SEL_t *value)
| Get AUX1_CONFIG2 register GYRO_AUX1_FS_SEL bit. More...
int | inv_icm406xx_rd_gyro_data_ois1 (struct inv_icm406xx *s, uint8_t value[GYRO_DATA_SIZE])
| Get MPUREG_GYRO_DATA_X0_AUX1_B2. More...
int | inv_icm406xx_rd_int_status_aux1 (struct inv_icm406xx *s, uint8_t *value)
| Get INT_STATUS_AUX1 register value. More...
int | inv_icm406xx_wr_ois2_config1_dec (struct inv_icm406xx *s, ICM406XX_OIS2_CONFIG1_DEC_t new_value)
| Set AUX2_CONFIG1 register AUX2_DEC bit. More...
int | inv_icm406xx_wr_ois2_config1_gyro_en (struct inv_icm406xx *s, ICM406XX_OIS2_CONFIG1_GYRO_EN_t new_value)
| Set AUX2_CONFIG1 register GYRO_AUX2_EN bit. More...
int | inv_icm406xx_wr_ois2_config2_gyro_fs_sel (struct inv_icm406xx *s, ICM406XX_OIS2_CONFIG2_GYRO_FS_SEL_t new_value)
| Set AUX2_CONFIG2 register GYRO_AUX2_FS_SEL bit. More...
int | inv_icm406xx_rd_ois2_config2_gyro_fs_sel (struct inv_icm406xx *s, ICM406XX_OIS2_CONFIG2_GYRO_FS_SEL_t *value)
| Get AUX2_CONFIG2 register GYRO_AUX2_FS_SEL bit. More...
int | inv_icm406xx_rd_gyro_data_ois2 (struct inv_icm406xx *s, uint8_t value[GYRO_DATA_SIZE])
| Get MPUREG_GYRO_DATA_X0_AUX2_B2. More...

## Detailed Description

File exposing the device register map.

## Enumeration Type Documentation

## ◆ ICM406XX_ACCEL_CONFIG0_FS_SEL_t

enum ICM406XX_ACCEL_CONFIG0_FS_SEL_t

Accelerometer FSR selection.

Enumerator
ICM406XX_ACCEL_CONFIG0_FS_SEL_1g | 1g
ICM406XX_ACCEL_CONFIG0_FS_SEL_2g | 2g
ICM406XX_ACCEL_CONFIG0_FS_SEL_4g | 4g
ICM406XX_ACCEL_CONFIG0_FS_SEL_8g | 8g
ICM406XX_ACCEL_CONFIG0_FS_SEL_16g | 16g

## ◆ ICM406XX_ACCEL_CONFIG0_ODR_t

enum ICM406XX_ACCEL_CONFIG0_ODR_t

Accelerometer ODR selection.

Enumerator
ICM406XX_ACCEL_CONFIG0_ODR_6_25_HZ | 6.25 Hz (160 ms)
ICM406XX_ACCEL_CONFIG0_ODR_12_5_HZ | 12.5 Hz (80 ms)
ICM406XX_ACCEL_CONFIG0_ODR_25_HZ | 25 Hz (40 ms)
ICM406XX_ACCEL_CONFIG0_ODR_50_HZ | 50 Hz (20 ms)
ICM406XX_ACCEL_CONFIG0_ODR_100_HZ | 100 Hz (10 ms)
ICM406XX_ACCEL_CONFIG0_ODR_200_HZ | 200 Hz (5 ms)
ICM406XX_ACCEL_CONFIG0_ODR_1_KHZ | 1 KHz (1 ms)
ICM406XX_ACCEL_CONFIG0_ODR_2_KHZ | 2 KHz (500 us)
ICM406XX_ACCEL_CONFIG0_ODR_4_KHZ | 4 KHz (250 us)
ICM406XX_ACCEL_CONFIG0_ODR_8_KHZ | 8 KHz (125 us)
ICM406XX_ACCEL_CONFIG0_ODR_16_KHZ | 16 KHz (62.5 us)
ICM406XX_ACCEL_CONFIG0_ODR_32_KHZ | 32 KHz (31.25 us)
ICM406XX_ACCEL_CONFIG0_ODR_64_KHZ | 64 KHz (15.625 us)

## ◆ ICM406XX_GYRO_CONFIG0_FS_SEL_t

enum ICM406XX_GYRO_CONFIG0_FS_SEL_t

Gyroscope FSR selection.

Enumerator
ICM406XX_GYRO_CONFIG0_FS_SEL_16dps | 16dps
ICM406XX_GYRO_CONFIG0_FS_SEL_31dps | 31dps
ICM406XX_GYRO_CONFIG0_FS_SEL_62dps | 62dps
ICM406XX_GYRO_CONFIG0_FS_SEL_125dps | 125dps
ICM406XX_GYRO_CONFIG0_FS_SEL_250dps | 250dps
ICM406XX_GYRO_CONFIG0_FS_SEL_500dps | 500dps
ICM406XX_GYRO_CONFIG0_FS_SEL_1000dps | 1000dps
ICM406XX_GYRO_CONFIG0_FS_SEL_2000dps | 2000dps

## ◆ ICM406XX_GYRO_CONFIG0_ODR_t

enum ICM406XX_GYRO_CONFIG0_ODR_t

Gyroscope ODR selection.

Enumerator
ICM406XX_GYRO_CONFIG0_ODR_6_25_HZ | 6.25 Hz (160 ms)
ICM406XX_GYRO_CONFIG0_ODR_12_5_HZ | 12.5 Hz (80 ms)
ICM406XX_GYRO_CONFIG0_ODR_25_HZ | 25 Hz (40 ms)
ICM406XX_GYRO_CONFIG0_ODR_50_HZ | 50 Hz (20 ms)
ICM406XX_GYRO_CONFIG0_ODR_100_HZ | 100 Hz (10 ms)
ICM406XX_GYRO_CONFIG0_ODR_200_HZ | 200 Hz (5 ms)
ICM406XX_GYRO_CONFIG0_ODR_1_KHZ | 1 KHz (1 ms)
ICM406XX_GYRO_CONFIG0_ODR_2_KHZ | 2 KHz (500 us)
ICM406XX_GYRO_CONFIG0_ODR_4_KHZ | 4 KHz (250 us)
ICM406XX_GYRO_CONFIG0_ODR_8_KHZ | 8 KHz (125 us)
ICM406XX_GYRO_CONFIG0_ODR_16_KHZ | 16 KHz (62.5 us)
ICM406XX_GYRO_CONFIG0_ODR_32_KHZ | 32 KHz (31.25 us)
ICM406XX_GYRO_CONFIG0_ODR_64_KHZ | 64 KHz (15.625 us)