JeVois
1.22
JeVois Smart Embedded Machine Vision Toolkit
|
|
Go to the source code of this file.
Variables | |
const int | DMP_Quat9_Byte_Ordering [icm_20948_DMP_Quat9_Bytes] |
const int | DMP_Quat6_Byte_Ordering [icm_20948_DMP_Quat6_Bytes] |
const int | DMP_PQuat6_Byte_Ordering [icm_20948_DMP_PQuat6_Bytes] |
const int | DMP_Raw_Gyro_Byte_Ordering [icm_20948_DMP_Raw_Gyro_Bytes+icm_20948_DMP_Gyro_Bias_Bytes] |
const int | DMP_Activity_Recognition_Byte_Ordering [icm_20948_DMP_Activity_Recognition_Bytes] |
const int | DMP_Secondary_On_Off_Byte_Ordering [icm_20948_DMP_Secondary_On_Off_Bytes] |
const uint16_t | inv_androidSensor_to_control_bits [ANDROID_SENSOR_NUM_MAX] |
const ICM_20948_Serif_t | NullSerif |
ICM_20948_Status_e ICM_20948_check_id | ( | ICM_20948_Device_t * | pdev | ) |
Definition at line 397 of file ICM_20948_C.c.
References ICM_20948_get_who_am_i(), ICM_20948_Stat_Ok, ICM_20948_Stat_WrongID, and ICM_20948_WHOAMI.
ICM_20948_Status_e ICM_20948_data_ready | ( | ICM_20948_Device_t * | pdev | ) |
Definition at line 413 of file ICM_20948_C.c.
References AGB0_REG_INT_STATUS_1, ICM_20948_execute_r(), ICM_20948_set_bank(), ICM_20948_Stat_NoData, ICM_20948_Stat_Ok, and ICM_20948_INT_STATUS_1_t::RAW_DATA_0_RDY_INT.
ICM_20948_Status_e ICM_20948_enable_dlpf | ( | ICM_20948_Device_t * | pdev, |
ICM_20948_InternalSensorID_bm | sensors, | ||
bool | enable | ||
) |
Definition at line 756 of file ICM_20948_C.c.
References ICM_20948_ACCEL_CONFIG_t::ACCEL_FCHOICE, AGB2_REG_ACCEL_CONFIG, AGB2_REG_GYRO_CONFIG_1, ICM_20948_GYRO_CONFIG_1_t::GYRO_FCHOICE, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_Internal_Acc, ICM_20948_Internal_Gyr, ICM_20948_set_bank(), ICM_20948_Stat_Err, ICM_20948_Stat_Ok, and ICM_20948_Stat_SensorNotSupported.
ICM_20948_Status_e ICM_20948_enable_DMP | ( | ICM_20948_Device_t * | pdev, |
bool | enable | ||
) |
Definition at line 1254 of file ICM_20948_C.c.
References AGB0_REG_USER_CTRL, ICM_20948_USER_CTRL_t::DMP_EN, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
ICM_20948_Status_e ICM_20948_enable_FIFO | ( | ICM_20948_Device_t * | pdev, |
bool | enable | ||
) |
Definition at line 1104 of file ICM_20948_C.c.
References AGB0_REG_USER_CTRL, ICM_20948_USER_CTRL_t::FIFO_EN, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
ICM_20948_Status_e ICM_20948_execute_r | ( | ICM_20948_Device_t * | pdev, |
uint8_t | regaddr, | ||
uint8_t * | pdata, | ||
uint32_t | len | ||
) |
Definition at line 158 of file ICM_20948_C.c.
References ICM_20948_Device_t::_serif, ICM_20948_Stat_NotImpl, ICM_20948_Serif_t::read, and ICM_20948_Serif_t::user.
Referenced by ICM_20948_data_ready(), ICM_20948_enable_dlpf(), ICM_20948_enable_DMP(), ICM_20948_enable_FIFO(), ICM_20948_get_agmt(), ICM_20948_get_FIFO_count(), ICM_20948_get_who_am_i(), ICM_20948_i2c_controller_periph4_txn(), ICM_20948_i2c_master_enable(), ICM_20948_i2c_master_passthrough(), ICM_20948_i2c_master_reset(), ICM_20948_int_enable(), ICM_20948_int_pin_cfg(), ICM_20948_low_power(), ICM_20948_read_FIFO(), ICM_20948_reset_DMP(), ICM_20948_reset_FIFO(), ICM_20948_set_clock_source(), ICM_20948_set_dlpf_cfg(), ICM_20948_set_FIFO_mode(), ICM_20948_set_full_scale(), ICM_20948_set_sample_mode(), ICM_20948_sleep(), ICM_20948_sw_reset(), ICM_20948_wom_logic(), ICM_20948_wom_threshold(), inv_icm20948_read_mems(), and inv_icm20948_set_gyro_sf().
ICM_20948_Status_e ICM_20948_execute_w | ( | ICM_20948_Device_t * | pdev, |
uint8_t | regaddr, | ||
uint8_t * | pdata, | ||
uint32_t | len | ||
) |
Definition at line 149 of file ICM_20948_C.c.
References ICM_20948_Device_t::_serif, ICM_20948_Stat_NotImpl, ICM_20948_Serif_t::user, and ICM_20948_Serif_t::write.
Referenced by ICM_20948_enable_dlpf(), ICM_20948_enable_DMP(), ICM_20948_enable_FIFO(), ICM_20948_i2c_controller_configure_peripheral(), ICM_20948_i2c_controller_periph4_txn(), ICM_20948_i2c_master_enable(), ICM_20948_i2c_master_passthrough(), ICM_20948_i2c_master_reset(), ICM_20948_int_enable(), ICM_20948_int_pin_cfg(), ICM_20948_low_power(), ICM_20948_reset_DMP(), ICM_20948_reset_FIFO(), ICM_20948_set_bank(), ICM_20948_set_clock_source(), ICM_20948_set_dlpf_cfg(), ICM_20948_set_dmp_start_address(), ICM_20948_set_FIFO_mode(), ICM_20948_set_full_scale(), ICM_20948_set_sample_mode(), ICM_20948_set_sample_rate(), ICM_20948_sleep(), ICM_20948_sw_reset(), ICM_20948_wom_logic(), ICM_20948_wom_threshold(), inv_icm20948_read_mems(), and inv_icm20948_write_mems().
ICM_20948_Status_e ICM_20948_firmware_load | ( | ICM_20948_Device_t * | pdev | ) |
Definition at line 1311 of file ICM_20948_C.c.
References DMP_LOAD_START, ICM_20948_Stat_DMPNotSupported, and inv_icm20948_firmware_load().
ICM_20948_Status_e ICM_20948_get_agmt | ( | ICM_20948_Device_t * | pdev, |
ICM_20948_AGMT_t * | pagmt | ||
) |
Definition at line 1055 of file ICM_20948_C.c.
References ICM_20948_fss_t::a, ICM_20948_AGMT_t::acc, ICM_20948_ACCEL_CONFIG_t::ACCEL_FS_SEL, AGB0_REG_ACCEL_XOUT_H, AGB2_REG_ACCEL_CONFIG, AGB2_REG_ACCEL_CONFIG_2, AGB2_REG_GYRO_CONFIG_1, ICM_20948_axis3named_t::axes, ICM_20948_AGMT_t::fss, ICM_20948_fss_t::g, ICM_20948_AGMT_t::gyr, ICM_20948_GYRO_CONFIG_1_t::GYRO_FS_SEL, ICM_20948_execute_r(), ICM_20948_set_bank(), ICM_20948_Stat_Ok, ICM_20948_Stat_ParamErr, ICM_20948_AGMT_t::mag, ICM_20948_AGMT_t::magStat1, ICM_20948_AGMT_t::magStat2, ICM_20948_AGMT_t::tmp, ICM_20948_AGMT_t::val, ICM_20948_axis3named_t::x, ICM_20948_axis3named_t::y, and ICM_20948_axis3named_t::z.
ICM_20948_Status_e ICM_20948_get_FIFO_count | ( | ICM_20948_Device_t * | pdev, |
uint16_t * | count | ||
) |
Definition at line 1202 of file ICM_20948_C.c.
References AGB0_REG_FIFO_COUNT_H, AGB0_REG_FIFO_COUNT_L, ICM_20948_FIFO_COUNTH_t::FIFO_COUNTH, ICM_20948_FIFO_COUNTL_t::FIFO_COUNTL, ICM_20948_execute_r(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
Referenced by inv_icm20948_read_dmp_data().
ICM_20948_Status_e ICM_20948_get_who_am_i | ( | ICM_20948_Device_t * | pdev, |
uint8_t * | whoami | ||
) |
Definition at line 387 of file ICM_20948_C.c.
References AGB0_REG_WHO_AM_I, ICM_20948_execute_r(), ICM_20948_set_bank(), and ICM_20948_Stat_ParamErr.
Referenced by ICM_20948_check_id().
ICM_20948_Status_e ICM_20948_i2c_controller_configure_peripheral | ( | ICM_20948_Device_t * | pdev, |
uint8_t | peripheral, | ||
uint8_t | addr, | ||
uint8_t | reg, | ||
uint8_t | len, | ||
bool | Rw, | ||
bool | enable, | ||
bool | data_only, | ||
bool | grp, | ||
bool | swap, | ||
uint8_t | dataOut | ||
) |
Definition at line 955 of file ICM_20948_C.c.
References AGB3_REG_I2C_PERIPH0_ADDR, AGB3_REG_I2C_PERIPH0_CTRL, AGB3_REG_I2C_PERIPH0_DO, AGB3_REG_I2C_PERIPH0_REG, AGB3_REG_I2C_PERIPH1_ADDR, AGB3_REG_I2C_PERIPH1_CTRL, AGB3_REG_I2C_PERIPH1_DO, AGB3_REG_I2C_PERIPH1_REG, AGB3_REG_I2C_PERIPH2_ADDR, AGB3_REG_I2C_PERIPH2_CTRL, AGB3_REG_I2C_PERIPH2_DO, AGB3_REG_I2C_PERIPH2_REG, AGB3_REG_I2C_PERIPH3_ADDR, AGB3_REG_I2C_PERIPH3_CTRL, AGB3_REG_I2C_PERIPH3_DO, AGB3_REG_I2C_PERIPH3_REG, ICM_20948_I2C_PERIPHX_CTRL_t::BYTE_SW, ICM_20948_I2C_PERIPHX_DO_t::DO, ICM_20948_I2C_PERIPHX_CTRL_t::EN, ICM_20948_I2C_PERIPHX_CTRL_t::GRP, ICM_20948_execute_w(), ICM_20948_set_bank(), ICM_20948_Stat_Ok, ICM_20948_Stat_ParamErr, ICM_20948_I2C_PERIPHX_ADDR_t::ID, ICM_20948_I2C_PERIPHX_CTRL_t::LENG, ICM_20948_I2C_PERIPHX_REG_t::REG, ICM_20948_I2C_PERIPHX_CTRL_t::REG_DIS, and ICM_20948_I2C_PERIPHX_ADDR_t::RNW.
ICM_20948_Status_e ICM_20948_i2c_controller_periph4_txn | ( | ICM_20948_Device_t * | pdev, |
uint8_t | addr, | ||
uint8_t | reg, | ||
uint8_t * | data, | ||
uint8_t | len, | ||
bool | Rw, | ||
bool | send_reg_addr | ||
) |
Definition at line 169 of file ICM_20948_C.c.
References AGB0_REG_I2C_MST_STATUS, AGB3_REG_I2C_PERIPH4_ADDR, AGB3_REG_I2C_PERIPH4_CTRL, AGB3_REG_I2C_PERIPH4_DI, AGB3_REG_I2C_PERIPH4_DO, AGB3_REG_I2C_PERIPH4_REG, ICM_20948_I2C_PERIPH4_CTRL_t::DLY, ICM_20948_I2C_PERIPH4_CTRL_t::EN, ICM_20948_I2C_MST_STATUS_t::I2C_PERIPH4_NACK, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), ICM_20948_Stat_Err, ICM_20948_Stat_Ok, ICM_20948_I2C_PERIPH4_CTRL_t::INT_EN, and ICM_20948_I2C_PERIPH4_CTRL_t::REG_DIS.
Referenced by ICM_20948_i2c_master_single_r(), and ICM_20948_i2c_master_single_w().
ICM_20948_Status_e ICM_20948_i2c_master_enable | ( | ICM_20948_Device_t * | pdev, |
bool | enable | ||
) |
Definition at line 870 of file ICM_20948_C.c.
References AGB0_REG_USER_CTRL, AGB3_REG_I2C_MST_CTRL, ICM_20948_I2C_MST_CTRL_t::I2C_MST_CLK, ICM_20948_USER_CTRL_t::I2C_MST_EN, ICM_20948_I2C_MST_CTRL_t::I2C_MST_P_NSR, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_i2c_master_passthrough(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
ICM_20948_Status_e ICM_20948_i2c_master_passthrough | ( | ICM_20948_Device_t * | pdev, |
bool | passthrough | ||
) |
Definition at line 845 of file ICM_20948_C.c.
References AGB0_REG_INT_PIN_CONFIG, ICM_20948_INT_PIN_CFG_t::BYPASS_EN, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
Referenced by ICM_20948_i2c_master_enable().
ICM_20948_Status_e ICM_20948_i2c_master_reset | ( | ICM_20948_Device_t * | pdev | ) |
Definition at line 928 of file ICM_20948_C.c.
References AGB0_REG_USER_CTRL, ICM_20948_USER_CTRL_t::I2C_MST_RST, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
ICM_20948_Status_e ICM_20948_i2c_master_single_r | ( | ICM_20948_Device_t * | pdev, |
uint8_t | addr, | ||
uint8_t | reg, | ||
uint8_t * | data | ||
) |
Definition at line 261 of file ICM_20948_C.c.
References ICM_20948_i2c_controller_periph4_txn().
ICM_20948_Status_e ICM_20948_i2c_master_single_w | ( | ICM_20948_Device_t * | pdev, |
uint8_t | addr, | ||
uint8_t | reg, | ||
uint8_t * | data | ||
) |
Definition at line 256 of file ICM_20948_C.c.
References ICM_20948_i2c_controller_periph4_txn().
ICM_20948_Status_e ICM_20948_init_struct | ( | ICM_20948_Device_t * | pdev | ) |
Definition at line 125 of file ICM_20948_C.c.
References ICM_20948_Device_t::_last_bank, and ICM_20948_Stat_Ok.
ICM_20948_Status_e ICM_20948_int_enable | ( | ICM_20948_Device_t * | pdev, |
ICM_20948_INT_enable_t * | write, | ||
ICM_20948_INT_enable_t * | read | ||
) |
Definition at line 458 of file ICM_20948_C.c.
References AGB0_REG_INT_ENABLE, AGB0_REG_INT_ENABLE_1, AGB0_REG_INT_ENABLE_2, AGB0_REG_INT_ENABLE_3, ICM_20948_INT_enable_t::DMP_INT1_EN, ICM_20948_INT_ENABLE_t::DMP_INT1_EN, ICM_20948_INT_enable_t::FIFO_OVERFLOW_EN_0, ICM_20948_INT_ENABLE_2_t::FIFO_OVERFLOW_EN_0, ICM_20948_INT_enable_t::FIFO_OVERFLOW_EN_1, ICM_20948_INT_ENABLE_2_t::FIFO_OVERFLOW_EN_1, ICM_20948_INT_enable_t::FIFO_OVERFLOW_EN_2, ICM_20948_INT_ENABLE_2_t::FIFO_OVERFLOW_EN_2, ICM_20948_INT_enable_t::FIFO_OVERFLOW_EN_3, ICM_20948_INT_ENABLE_2_t::FIFO_OVERFLOW_EN_3, ICM_20948_INT_enable_t::FIFO_OVERFLOW_EN_4, ICM_20948_INT_ENABLE_2_t::FIFO_OVERFLOW_EN_4, ICM_20948_INT_enable_t::FIFO_WM_EN_0, ICM_20948_INT_ENABLE_3_t::FIFO_WM_EN_0, ICM_20948_INT_enable_t::FIFO_WM_EN_1, ICM_20948_INT_ENABLE_3_t::FIFO_WM_EN_1, ICM_20948_INT_enable_t::FIFO_WM_EN_2, ICM_20948_INT_ENABLE_3_t::FIFO_WM_EN_2, ICM_20948_INT_enable_t::FIFO_WM_EN_3, ICM_20948_INT_ENABLE_3_t::FIFO_WM_EN_3, ICM_20948_INT_enable_t::FIFO_WM_EN_4, ICM_20948_INT_ENABLE_3_t::FIFO_WM_EN_4, ICM_20948_INT_enable_t::I2C_MST_INT_EN, ICM_20948_INT_ENABLE_t::I2C_MST_INT_EN, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), ICM_20948_Stat_Ok, ICM_20948_INT_ENABLE_2_t::individual, ICM_20948_INT_ENABLE_3_t::individual, ICM_20948_INT_enable_t::PLL_RDY_EN, ICM_20948_INT_ENABLE_t::PLL_READY_EN, ICM_20948_INT_enable_t::RAW_DATA_0_RDY_EN, ICM_20948_INT_ENABLE_1_t::RAW_DATA_0_RDY_EN, ICM_20948_INT_enable_t::REG_WOF_EN, ICM_20948_INT_ENABLE_t::REG_WOF_EN, ICM_20948_INT_ENABLE_t::reserved_0, ICM_20948_INT_ENABLE_1_t::reserved_0, ICM_20948_INT_ENABLE_2_t::reserved_0, ICM_20948_INT_ENABLE_3_t::reserved_0, ICM_20948_INT_enable_t::WOM_INT_EN, and ICM_20948_INT_ENABLE_t::WOM_INT_EN.
ICM_20948_Status_e ICM_20948_int_pin_cfg | ( | ICM_20948_Device_t * | pdev, |
ICM_20948_INT_PIN_CFG_t * | write, | ||
ICM_20948_INT_PIN_CFG_t * | read | ||
) |
Definition at line 435 of file ICM_20948_C.c.
References AGB0_REG_INT_PIN_CONFIG, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
ICM_20948_Status_e ICM_20948_link_serif | ( | ICM_20948_Device_t * | pdev, |
const ICM_20948_Serif_t * | s | ||
) |
Definition at line 135 of file ICM_20948_C.c.
References ICM_20948_Device_t::_serif, ICM_20948_Stat_Ok, and ICM_20948_Stat_ParamErr.
ICM_20948_Status_e ICM_20948_low_power | ( | ICM_20948_Device_t * | pdev, |
bool | on | ||
) |
Definition at line 334 of file ICM_20948_C.c.
References AGB0_REG_PWR_MGMT_1, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), ICM_20948_Stat_Ok, and ICM_20948_PWR_MGMT_1_t::LP_EN.
Referenced by inv_icm20948_enable_dmp_sensor(), inv_icm20948_enable_dmp_sensor_int(), inv_icm20948_firmware_load(), and inv_icm20948_set_dmp_sensor_period().
ICM_20948_Status_e ICM_20948_read_FIFO | ( | ICM_20948_Device_t * | pdev, |
uint8_t * | data, | ||
uint8_t | len | ||
) |
Definition at line 1233 of file ICM_20948_C.c.
References AGB0_REG_FIFO_R_W, ICM_20948_execute_r(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
Referenced by inv_icm20948_read_dmp_data().
ICM_20948_Status_e ICM_20948_reset_DMP | ( | ICM_20948_Device_t * | pdev | ) |
Definition at line 1284 of file ICM_20948_C.c.
References AGB0_REG_USER_CTRL, ICM_20948_USER_CTRL_t::DMP_RST, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
ICM_20948_Status_e ICM_20948_reset_FIFO | ( | ICM_20948_Device_t * | pdev | ) |
Definition at line 1134 of file ICM_20948_C.c.
References AGB0_REG_FIFO_RST, ICM_20948_FIFO_RST_t::FIFO_RESET, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
ICM_20948_Status_e ICM_20948_set_bank | ( | ICM_20948_Device_t * | pdev, |
uint8_t | bank | ||
) |
Definition at line 266 of file ICM_20948_C.c.
References ICM_20948_Device_t::_last_bank, ICM_20948_execute_w(), ICM_20948_Stat_Ok, ICM_20948_Stat_ParamErr, and REG_BANK_SEL.
Referenced by ICM_20948_data_ready(), ICM_20948_enable_dlpf(), ICM_20948_enable_DMP(), ICM_20948_enable_FIFO(), ICM_20948_get_agmt(), ICM_20948_get_FIFO_count(), ICM_20948_get_who_am_i(), ICM_20948_i2c_controller_configure_peripheral(), ICM_20948_i2c_controller_periph4_txn(), ICM_20948_i2c_master_enable(), ICM_20948_i2c_master_passthrough(), ICM_20948_i2c_master_reset(), ICM_20948_int_enable(), ICM_20948_int_pin_cfg(), ICM_20948_low_power(), ICM_20948_read_FIFO(), ICM_20948_reset_DMP(), ICM_20948_reset_FIFO(), ICM_20948_set_clock_source(), ICM_20948_set_dlpf_cfg(), ICM_20948_set_dmp_start_address(), ICM_20948_set_FIFO_mode(), ICM_20948_set_full_scale(), ICM_20948_set_sample_mode(), ICM_20948_set_sample_rate(), ICM_20948_sleep(), ICM_20948_sw_reset(), ICM_20948_wom_logic(), ICM_20948_wom_threshold(), inv_icm20948_read_mems(), inv_icm20948_set_gyro_sf(), and inv_icm20948_write_mems().
ICM_20948_Status_e ICM_20948_set_clock_source | ( | ICM_20948_Device_t * | pdev, |
ICM_20948_PWR_MGMT_1_CLKSEL_e | source | ||
) |
Definition at line 364 of file ICM_20948_C.c.
References AGB0_REG_PWR_MGMT_1, ICM_20948_PWR_MGMT_1_t::CLKSEL, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
ICM_20948_Status_e ICM_20948_set_dlpf_cfg | ( | ICM_20948_Device_t * | pdev, |
ICM_20948_InternalSensorID_bm | sensors, | ||
ICM_20948_dlpcfg_t | cfg | ||
) |
Definition at line 722 of file ICM_20948_C.c.
References ICM_20948_dlpcfg_t::a, ICM_20948_ACCEL_CONFIG_t::ACCEL_DLPFCFG, AGB2_REG_ACCEL_CONFIG, AGB2_REG_GYRO_CONFIG_1, ICM_20948_dlpcfg_t::g, ICM_20948_GYRO_CONFIG_1_t::GYRO_DLPFCFG, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_Internal_Acc, ICM_20948_Internal_Gyr, ICM_20948_set_bank(), ICM_20948_Stat_Err, ICM_20948_Stat_Ok, and ICM_20948_Stat_SensorNotSupported.
ICM_20948_Status_e ICM_20948_set_dmp_start_address | ( | ICM_20948_Device_t * | pdev, |
unsigned short | address | ||
) |
Definition at line 1433 of file ICM_20948_C.c.
References ICM_20948_Device_t::_dmp_firmware_available, AGB2_REG_PRGM_START_ADDRH, ICM_20948_execute_w(), ICM_20948_set_bank(), ICM_20948_Stat_DMPNotSupported, and ICM_20948_Stat_Ok.
ICM_20948_Status_e ICM_20948_set_FIFO_mode | ( | ICM_20948_Device_t * | pdev, |
bool | snapshot | ||
) |
Definition at line 1172 of file ICM_20948_C.c.
References AGB0_REG_FIFO_MODE, ICM_20948_FIFO_MODE_t::FIFO_MODE, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
ICM_20948_Status_e ICM_20948_set_full_scale | ( | ICM_20948_Device_t * | pdev, |
ICM_20948_InternalSensorID_bm | sensors, | ||
ICM_20948_fss_t | fss | ||
) |
Definition at line 688 of file ICM_20948_C.c.
References ICM_20948_fss_t::a, ICM_20948_ACCEL_CONFIG_t::ACCEL_FS_SEL, AGB2_REG_ACCEL_CONFIG, AGB2_REG_GYRO_CONFIG_1, ICM_20948_fss_t::g, ICM_20948_GYRO_CONFIG_1_t::GYRO_FS_SEL, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_Internal_Acc, ICM_20948_Internal_Gyr, ICM_20948_set_bank(), ICM_20948_Stat_Err, ICM_20948_Stat_Ok, and ICM_20948_Stat_SensorNotSupported.
ICM_20948_Status_e ICM_20948_set_sample_mode | ( | ICM_20948_Device_t * | pdev, |
ICM_20948_InternalSensorID_bm | sensors, | ||
ICM_20948_LP_CONFIG_CYCLE_e | mode | ||
) |
Definition at line 626 of file ICM_20948_C.c.
References ICM_20948_LP_CONFIG_t::ACCEL_CYCLE, AGB0_REG_LP_CONFIG, ICM_20948_LP_CONFIG_t::GYRO_CYCLE, ICM_20948_LP_CONFIG_t::I2C_MST_CYCLE, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_Internal_Acc, ICM_20948_Internal_Gyr, ICM_20948_Internal_Mst, ICM_20948_set_bank(), ICM_20948_Stat_Err, ICM_20948_Stat_Ok, and ICM_20948_Stat_SensorNotSupported.
ICM_20948_Status_e ICM_20948_set_sample_rate | ( | ICM_20948_Device_t * | pdev, |
ICM_20948_InternalSensorID_bm | sensors, | ||
ICM_20948_smplrt_t | smplrt | ||
) |
Definition at line 818 of file ICM_20948_C.c.
References ICM_20948_smplrt_t::a, AGB2_REG_ACCEL_SMPLRT_DIV_1, AGB2_REG_ACCEL_SMPLRT_DIV_2, AGB2_REG_GYRO_SMPLRT_DIV, ICM_20948_smplrt_t::g, ICM_20948_execute_w(), ICM_20948_Internal_Acc, ICM_20948_Internal_Gyr, ICM_20948_set_bank(), ICM_20948_Stat_Ok, and ICM_20948_Stat_SensorNotSupported.
ICM_20948_Status_e ICM_20948_sleep | ( | ICM_20948_Device_t * | pdev, |
bool | on | ||
) |
Definition at line 304 of file ICM_20948_C.c.
References AGB0_REG_PWR_MGMT_1, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), ICM_20948_Stat_Ok, and ICM_20948_PWR_MGMT_1_t::SLEEP.
Referenced by inv_icm20948_enable_dmp_sensor(), inv_icm20948_enable_dmp_sensor_int(), inv_icm20948_firmware_load(), and inv_icm20948_set_dmp_sensor_period().
ICM_20948_Status_e ICM_20948_sw_reset | ( | ICM_20948_Device_t * | pdev | ) |
Definition at line 281 of file ICM_20948_C.c.
References AGB0_REG_PWR_MGMT_1, ICM_20948_PWR_MGMT_1_t::DEVICE_RESET, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
ICM_20948_Status_e ICM_20948_wom_logic | ( | ICM_20948_Device_t * | pdev, |
ICM_20948_ACCEL_INTEL_CTRL_t * | write, | ||
ICM_20948_ACCEL_INTEL_CTRL_t * | read | ||
) |
Definition at line 558 of file ICM_20948_C.c.
References ICM_20948_ACCEL_INTEL_CTRL_t::ACCEL_INTEL_EN, ICM_20948_ACCEL_INTEL_CTRL_t::ACCEL_INTEL_MODE_INT, AGB2_REG_ACCEL_INTEL_CTRL, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), and ICM_20948_Stat_Ok.
ICM_20948_Status_e ICM_20948_wom_threshold | ( | ICM_20948_Device_t * | pdev, |
ICM_20948_ACCEL_WOM_THR_t * | write, | ||
ICM_20948_ACCEL_WOM_THR_t * | read | ||
) |
Definition at line 593 of file ICM_20948_C.c.
References AGB2_REG_ACCEL_WOM_THR, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), ICM_20948_Stat_Ok, and ICM_20948_ACCEL_WOM_THR_t::WOM_THRESHOLD.
ICM_20948_Status_e inv_icm20948_enable_dmp_sensor | ( | ICM_20948_Device_t * | pdev, |
enum inv_icm20948_sensor | sensor, | ||
int | state | ||
) |
Definition at line 1734 of file ICM_20948_C.c.
References ICM_20948_Device_t::_dataOutCtl1, ICM_20948_Device_t::_dataOutCtl2, ICM_20948_Device_t::_dataRdyStatus, ICM_20948_Device_t::_dmp_firmware_available, ICM_20948_Device_t::_enabled_Android_0, ICM_20948_Device_t::_enabled_Android_1, ICM_20948_Device_t::_motionEventCtl, ANDROID_SENSOR_NUM_MAX, DATA_OUT_CTL1, DATA_OUT_CTL2, DATA_RDY_STATUS, DMP_Data_Output_Control_1_Accel, DMP_Data_Output_Control_1_Compass, DMP_Data_Output_Control_1_Compass_Calibr, DMP_Data_Output_Control_1_Geomag, DMP_Data_Output_Control_1_Gyro, DMP_Data_Output_Control_1_Gyro_Calibr, DMP_Data_Output_Control_1_Quat9, DMP_Data_Output_Control_1_Step_Detector, DMP_Data_Output_Control_1_Step_Ind_0, DMP_Data_Output_Control_1_Step_Ind_1, DMP_Data_Output_Control_1_Step_Ind_2, DMP_Data_Output_Control_2_Accel_Accuracy, DMP_Data_Output_Control_2_Compass_Accuracy, DMP_Data_Output_Control_2_Gyro_Accuracy, DMP_Data_ready_Accel, DMP_Data_ready_Gyro, DMP_Data_ready_Secondary_Compass, DMP_Motion_Event_Control_9axis, DMP_Motion_Event_Control_Accel_Calibr, DMP_Motion_Event_Control_Compass_Calibr, DMP_Motion_Event_Control_Geomag, DMP_Motion_Event_Control_Gyro_Calibr, DMP_Motion_Event_Control_Pedometer_Interrupt, ICM_20948_low_power(), ICM_20948_sleep(), ICM_20948_Stat_DMPNotSupported, ICM_20948_Stat_Ok, ICM_20948_Stat_SensorNotSupported, inv_androidSensor_to_control_bits, inv_icm20948_write_mems(), INV_NEEDS_ACCEL_MASK, INV_NEEDS_ACCEL_MASK1, INV_NEEDS_COMPASS_MASK, INV_NEEDS_COMPASS_MASK1, INV_NEEDS_GYRO_MASK, INV_NEEDS_GYRO_MASK1, MOTION_EVENT_CTL, and sensor_type_2_android_sensor().
ICM_20948_Status_e inv_icm20948_enable_dmp_sensor_int | ( | ICM_20948_Device_t * | pdev, |
enum inv_icm20948_sensor | sensor, | ||
int | state | ||
) |
Definition at line 1903 of file ICM_20948_C.c.
References ICM_20948_Device_t::_dataIntrCtl, ICM_20948_Device_t::_dmp_firmware_available, ICM_20948_Device_t::_enabled_Android_intr_0, ICM_20948_Device_t::_enabled_Android_intr_1, ANDROID_SENSOR_NUM_MAX, DATA_INTR_CTL, ICM_20948_low_power(), ICM_20948_sleep(), ICM_20948_Stat_DMPNotSupported, ICM_20948_Stat_Ok, ICM_20948_Stat_SensorNotSupported, inv_androidSensor_to_control_bits, inv_icm20948_write_mems(), and sensor_type_2_android_sensor().
ICM_20948_Status_e inv_icm20948_firmware_load | ( | ICM_20948_Device_t * | pdev, |
const unsigned char * | data_start, | ||
unsigned short | size_start, | ||
unsigned short | load_addr | ||
) |
Loads the DMP firmware from SRAM.
[in] | data | pointer where the image |
[in] | size | size if the image |
[in] | load_addr | address to loading the image |
Definition at line 1326 of file ICM_20948_C.c.
References ICM_20948_Device_t::_dmp_firmware_available, ICM_20948_Device_t::_firmware_loaded, ICM_20948_low_power(), ICM_20948_sleep(), ICM_20948_Stat_DMPNotSupported, ICM_20948_Stat_DMPVerifyFail, ICM_20948_Stat_Ok, inv_icm20948_read_mems(), inv_icm20948_write_mems(), INV_MAX_SERIAL_READ, INV_MAX_SERIAL_WRITE, and memcmp().
Referenced by ICM_20948_firmware_load().
ICM_20948_Status_e inv_icm20948_read_dmp_data | ( | ICM_20948_Device_t * | pdev, |
icm_20948_DMP_data_t * | data | ||
) |
Definition at line 1990 of file ICM_20948_C.c.
References ICM_20948_Device_t::_dmp_firmware_available, icm_20948_DMP_data_t::Accel_Accuracy, icm_20948_DMP_data_t::Activity_Recognition, icm_20948_DMP_data_t::ALS, icm_20948_DMP_data_t::Bytes, icm_20948_DMP_data_t::Compass, icm_20948_DMP_data_t::Compass_Accuracy, icm_20948_DMP_data_t::Compass_Calibr, DMP_Activity_Recognition_Byte_Ordering, DMP_header2_bitmap_Accel_Accuracy, DMP_header2_bitmap_Activity_Recog, DMP_header2_bitmap_Compass_Accuracy, DMP_header2_bitmap_Fsync, DMP_header2_bitmap_Gyro_Accuracy, DMP_header2_bitmap_Pickup, DMP_header2_bitmap_Secondary_On_Off, DMP_header_bitmap_Accel, DMP_header_bitmap_ALS, DMP_header_bitmap_Compass, DMP_header_bitmap_Compass_Calibr, DMP_header_bitmap_Geomag, DMP_header_bitmap_Gyro, DMP_header_bitmap_Gyro_Calibr, DMP_header_bitmap_Header2, DMP_header_bitmap_PQuat6, DMP_header_bitmap_Pressure, DMP_header_bitmap_Quat6, DMP_header_bitmap_Quat9, DMP_header_bitmap_Step_Detector, DMP_PQuat6_Byte_Ordering, DMP_Quat6_Byte_Ordering, DMP_Quat9_Byte_Ordering, DMP_Raw_Gyro_Byte_Ordering, DMP_Secondary_On_Off_Byte_Ordering, icm_20948_DMP_data_t::Footer, icm_20948_DMP_data_t::Geomag, icm_20948_DMP_data_t::Gyro_Accuracy, icm_20948_DMP_data_t::header, icm_20948_DMP_data_t::header2, icm_20948_DMP_Accel_Accuracy_Bytes, icm_20948_DMP_Activity_Recognition_Bytes, icm_20948_DMP_ALS_Bytes, icm_20948_DMP_Compass_Accuracy_Bytes, icm_20948_DMP_Compass_Bytes, icm_20948_DMP_Compass_Calibr_Bytes, icm_20948_DMP_Footer_Bytes, icm_20948_DMP_Geomag_Bytes, icm_20948_DMP_Gyro_Accuracy_Bytes, icm_20948_DMP_Gyro_Bias_Bytes, icm_20948_DMP_Header2_Bytes, icm_20948_DMP_Header_Bytes, icm_20948_DMP_Maximum_Bytes, icm_20948_DMP_Pickup_Bytes, icm_20948_DMP_PQuat6_Bytes, icm_20948_DMP_Pressure_Bytes, icm_20948_DMP_Quat6_Bytes, icm_20948_DMP_Quat9_Bytes, icm_20948_DMP_Raw_Accel_Bytes, icm_20948_DMP_Raw_Gyro_Bytes, icm_20948_DMP_Secondary_On_Off_Bytes, icm_20948_DMP_Step_Detector_Bytes, ICM_20948_get_FIFO_count(), ICM_20948_read_FIFO(), ICM_20948_Stat_DMPNotSupported, ICM_20948_Stat_FIFOIncompleteData, ICM_20948_Stat_FIFOMoreDataAvail, ICM_20948_Stat_FIFONoDataAvail, ICM_20948_Stat_Ok, icm_20948_DMP_data_t::Pedometer_Timestamp, icm_20948_DMP_data_t::Pickup, icm_20948_DMP_data_t::PQuat6, icm_20948_DMP_data_t::Pressure, icm_20948_DMP_data_t::Quat6, icm_20948_DMP_data_t::Quat9, icm_20948_DMP_data_t::Raw_Accel, icm_20948_DMP_data_t::Raw_Gyro, and icm_20948_DMP_data_t::Secondary_On_Off.
ICM_20948_Status_e inv_icm20948_read_mems | ( | ICM_20948_Device_t * | pdev, |
unsigned short | reg, | ||
unsigned int | length, | ||
unsigned char * | data | ||
) |
Read data from a register in DMP memory.
[in] | DMP | memory address |
[in] | number | of byte to be read |
[in] | input | data from the register |
Definition at line 1549 of file ICM_20948_C.c.
References ICM_20948_Device_t::_last_mems_bank, AGB0_REG_MEM_BANK_SEL, AGB0_REG_MEM_R_W, AGB0_REG_MEM_START_ADDR, ICM_20948_execute_r(), ICM_20948_execute_w(), ICM_20948_set_bank(), ICM_20948_Stat_NoData, ICM_20948_Stat_Ok, and INV_MAX_SERIAL_READ.
Referenced by inv_icm20948_firmware_load().
enum inv_icm20948_sensor inv_icm20948_sensor_android_2_sensor_type | ( | int | sensor | ) |
Definition at line 2523 of file ICM_20948_C.c.
References ANDROID_SENSOR_ACCELEROMETER, ANDROID_SENSOR_ACTIVITY_CLASSIFICATON, ANDROID_SENSOR_B2S, ANDROID_SENSOR_FLIP_PICKUP, ANDROID_SENSOR_GAME_ROTATION_VECTOR, ANDROID_SENSOR_GEOMAGNETIC_FIELD, ANDROID_SENSOR_GEOMAGNETIC_ROTATION_VECTOR, ANDROID_SENSOR_GRAVITY, ANDROID_SENSOR_GYROSCOPE, ANDROID_SENSOR_GYROSCOPE_UNCALIBRATED, ANDROID_SENSOR_LINEAR_ACCELERATION, ANDROID_SENSOR_MAGNETIC_FIELD_UNCALIBRATED, ANDROID_SENSOR_ORIENTATION, ANDROID_SENSOR_RAW_ACCELEROMETER, ANDROID_SENSOR_RAW_GYROSCOPE, ANDROID_SENSOR_ROTATION_VECTOR, ANDROID_SENSOR_STEP_COUNTER, ANDROID_SENSOR_STEP_DETECTOR, ANDROID_SENSOR_WAKEUP_SIGNIFICANT_MOTION, ANDROID_SENSOR_WAKEUP_TILT_DETECTOR, INV_ICM20948_SENSOR_ACCELEROMETER, INV_ICM20948_SENSOR_ACTIVITY_CLASSIFICATON, INV_ICM20948_SENSOR_B2S, INV_ICM20948_SENSOR_FLIP_PICKUP, INV_ICM20948_SENSOR_GAME_ROTATION_VECTOR, INV_ICM20948_SENSOR_GEOMAGNETIC_FIELD, INV_ICM20948_SENSOR_GEOMAGNETIC_ROTATION_VECTOR, INV_ICM20948_SENSOR_GRAVITY, INV_ICM20948_SENSOR_GYROSCOPE, INV_ICM20948_SENSOR_GYROSCOPE_UNCALIBRATED, INV_ICM20948_SENSOR_LINEAR_ACCELERATION, INV_ICM20948_SENSOR_MAGNETIC_FIELD_UNCALIBRATED, INV_ICM20948_SENSOR_MAX, INV_ICM20948_SENSOR_ORIENTATION, INV_ICM20948_SENSOR_RAW_ACCELEROMETER, INV_ICM20948_SENSOR_RAW_GYROSCOPE, INV_ICM20948_SENSOR_ROTATION_VECTOR, INV_ICM20948_SENSOR_STEP_COUNTER, INV_ICM20948_SENSOR_STEP_DETECTOR, INV_ICM20948_SENSOR_WAKEUP_SIGNIFICANT_MOTION, and INV_ICM20948_SENSOR_WAKEUP_TILT_DETECTOR.
ICM_20948_Status_e inv_icm20948_set_dmp_sensor_period | ( | ICM_20948_Device_t * | pdev, |
enum DMP_ODR_Registers | odr_reg, | ||
uint16_t | interval | ||
) |
Definition at line 1615 of file ICM_20948_C.c.
References ICM_20948_Device_t::_dmp_firmware_available, DMP_ODR_Reg_Accel, DMP_ODR_Reg_ALS, DMP_ODR_Reg_Cpass, DMP_ODR_Reg_Cpass_Calibr, DMP_ODR_Reg_Geomag, DMP_ODR_Reg_Gyro, DMP_ODR_Reg_Gyro_Calibr, DMP_ODR_Reg_PQuat6, DMP_ODR_Reg_Pressure, DMP_ODR_Reg_Quat6, DMP_ODR_Reg_Quat9, ICM_20948_low_power(), ICM_20948_sleep(), ICM_20948_Stat_DMPNotSupported, ICM_20948_Stat_InvalDMPRegister, ICM_20948_Stat_Ok, inv_icm20948_write_mems(), ODR_ACCEL, ODR_ALS, ODR_CNTR_ACCEL, ODR_CNTR_ALS, ODR_CNTR_CPASS, ODR_CNTR_CPASS_CALIBR, ODR_CNTR_GEOMAG, ODR_CNTR_GYRO, ODR_CNTR_GYRO_CALIBR, ODR_CNTR_PQUAT6, ODR_CNTR_PRESSURE, ODR_CNTR_QUAT6, ODR_CNTR_QUAT9, ODR_CPASS, ODR_CPASS_CALIBR, ODR_GEOMAG, ODR_GYRO, ODR_GYRO_CALIBR, ODR_PQUAT6, ODR_PRESSURE, ODR_QUAT6, and ODR_QUAT9.
ICM_20948_Status_e inv_icm20948_set_gyro_sf | ( | ICM_20948_Device_t * | pdev, |
unsigned char | div, | ||
int | gyro_level | ||
) |
Definition at line 2572 of file ICM_20948_C.c.
References ICM_20948_Device_t::_dmp_firmware_available, ICM_20948_Device_t::_gyroSF, ICM_20948_Device_t::_gyroSFpll, AGB1_REG_TIMEBASE_CORRECTION_PLL, GYRO_SF, ICM_20948_execute_r(), ICM_20948_set_bank(), ICM_20948_Stat_DMPNotSupported, ICM_20948_Stat_Ok, and inv_icm20948_write_mems().
ICM_20948_Status_e inv_icm20948_write_mems | ( | ICM_20948_Device_t * | pdev, |
unsigned short | reg, | ||
unsigned int | length, | ||
const unsigned char * | data | ||
) |
Write data to a register in DMP memory.
[in] | DMP | memory address |
[in] | number | of byte to be written |
[out] | output | data from the register |
Definition at line 1476 of file ICM_20948_C.c.
References ICM_20948_Device_t::_last_mems_bank, AGB0_REG_MEM_BANK_SEL, AGB0_REG_MEM_R_W, AGB0_REG_MEM_START_ADDR, ICM_20948_execute_w(), ICM_20948_set_bank(), ICM_20948_Stat_NoData, ICM_20948_Stat_Ok, and INV_MAX_SERIAL_WRITE.
Referenced by inv_icm20948_enable_dmp_sensor(), inv_icm20948_enable_dmp_sensor_int(), inv_icm20948_firmware_load(), inv_icm20948_set_dmp_sensor_period(), and inv_icm20948_set_gyro_sf().
uint8_t sensor_type_2_android_sensor | ( | enum inv_icm20948_sensor | sensor | ) |
Definition at line 2474 of file ICM_20948_C.c.
References ANDROID_SENSOR_ACCELEROMETER, ANDROID_SENSOR_ACTIVITY_CLASSIFICATON, ANDROID_SENSOR_B2S, ANDROID_SENSOR_FLIP_PICKUP, ANDROID_SENSOR_GAME_ROTATION_VECTOR, ANDROID_SENSOR_GEOMAGNETIC_FIELD, ANDROID_SENSOR_GEOMAGNETIC_ROTATION_VECTOR, ANDROID_SENSOR_GRAVITY, ANDROID_SENSOR_GYROSCOPE, ANDROID_SENSOR_GYROSCOPE_UNCALIBRATED, ANDROID_SENSOR_LINEAR_ACCELERATION, ANDROID_SENSOR_MAGNETIC_FIELD_UNCALIBRATED, ANDROID_SENSOR_NUM_MAX, ANDROID_SENSOR_ORIENTATION, ANDROID_SENSOR_RAW_ACCELEROMETER, ANDROID_SENSOR_RAW_GYROSCOPE, ANDROID_SENSOR_ROTATION_VECTOR, ANDROID_SENSOR_STEP_COUNTER, ANDROID_SENSOR_STEP_DETECTOR, ANDROID_SENSOR_WAKEUP_SIGNIFICANT_MOTION, ANDROID_SENSOR_WAKEUP_TILT_DETECTOR, INV_ICM20948_SENSOR_ACCELEROMETER, INV_ICM20948_SENSOR_ACTIVITY_CLASSIFICATON, INV_ICM20948_SENSOR_B2S, INV_ICM20948_SENSOR_FLIP_PICKUP, INV_ICM20948_SENSOR_GAME_ROTATION_VECTOR, INV_ICM20948_SENSOR_GEOMAGNETIC_FIELD, INV_ICM20948_SENSOR_GEOMAGNETIC_ROTATION_VECTOR, INV_ICM20948_SENSOR_GRAVITY, INV_ICM20948_SENSOR_GYROSCOPE, INV_ICM20948_SENSOR_GYROSCOPE_UNCALIBRATED, INV_ICM20948_SENSOR_LINEAR_ACCELERATION, INV_ICM20948_SENSOR_MAGNETIC_FIELD_UNCALIBRATED, INV_ICM20948_SENSOR_ORIENTATION, INV_ICM20948_SENSOR_RAW_ACCELEROMETER, INV_ICM20948_SENSOR_RAW_GYROSCOPE, INV_ICM20948_SENSOR_ROTATION_VECTOR, INV_ICM20948_SENSOR_STEP_COUNTER, INV_ICM20948_SENSOR_STEP_DETECTOR, INV_ICM20948_SENSOR_WAKEUP_SIGNIFICANT_MOTION, and INV_ICM20948_SENSOR_WAKEUP_TILT_DETECTOR.
Referenced by inv_icm20948_enable_dmp_sensor(), and inv_icm20948_enable_dmp_sensor_int().
const int DMP_Activity_Recognition_Byte_Ordering[icm_20948_DMP_Activity_Recognition_Bytes] |
Definition at line 41 of file ICM_20948_C.c.
Referenced by inv_icm20948_read_dmp_data().
const int DMP_PQuat6_Byte_Ordering[icm_20948_DMP_PQuat6_Bytes] |
Definition at line 34 of file ICM_20948_C.c.
Referenced by inv_icm20948_read_dmp_data().
const int DMP_Quat6_Byte_Ordering[icm_20948_DMP_Quat6_Bytes] |
Definition at line 30 of file ICM_20948_C.c.
Referenced by inv_icm20948_read_dmp_data().
const int DMP_Quat9_Byte_Ordering[icm_20948_DMP_Quat9_Bytes] |
Definition at line 26 of file ICM_20948_C.c.
Referenced by inv_icm20948_read_dmp_data().
const int DMP_Raw_Gyro_Byte_Ordering[icm_20948_DMP_Raw_Gyro_Bytes+icm_20948_DMP_Gyro_Bias_Bytes] |
Definition at line 38 of file ICM_20948_C.c.
Referenced by inv_icm20948_read_dmp_data().
const int DMP_Secondary_On_Off_Byte_Ordering[icm_20948_DMP_Secondary_On_Off_Bytes] |
Definition at line 44 of file ICM_20948_C.c.
Referenced by inv_icm20948_read_dmp_data().
const uint16_t inv_androidSensor_to_control_bits[ANDROID_SENSOR_NUM_MAX] |
Definition at line 48 of file ICM_20948_C.c.
Referenced by inv_icm20948_enable_dmp_sensor(), and inv_icm20948_enable_dmp_sensor_int().
const ICM_20948_Serif_t NullSerif |
Definition at line 116 of file ICM_20948_C.c.