Register definitions
Description
Register definitions.
Register and associated bit definitions |
|
enum |
sl_gyro_bandwidth_t
{
sl_gyroBandwidth8173Hz = _ICM20689_GYRO_CONFIG_FCHOICE_B_8173HZ << GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT, sl_gyroBandwidth3281Hz = _ICM20689_GYRO_CONFIG_FCHOICE_B_3281HZ << GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT, sl_gyroBandwidthDlpf250Hz = _ICM20689_GYRO_CONFIG_FCHOICE_B_LOWPASS << GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT | _ICM20689_CONFIG_DLPF_CFG_250HZ, sl_gyroBandwidthDlpf176Hz = _ICM20689_GYRO_CONFIG_FCHOICE_B_LOWPASS << GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT | _ICM20689_CONFIG_DLPF_CFG_176HZ, sl_gyroBandwidthDlpf92Hz = _ICM20689_GYRO_CONFIG_FCHOICE_B_LOWPASS << GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT | _ICM20689_CONFIG_DLPF_CFG_92HZ, sl_gyroBandwidthDlpf41Hz = _ICM20689_GYRO_CONFIG_FCHOICE_B_LOWPASS << GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT | _ICM20689_CONFIG_DLPF_CFG_41HZ, sl_gyroBandwidthDlpf20Hz = _ICM20689_GYRO_CONFIG_FCHOICE_B_LOWPASS << GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT | _ICM20689_CONFIG_DLPF_CFG_20HZ, sl_gyroBandwidthDlpf10Hz = _ICM20689_GYRO_CONFIG_FCHOICE_B_LOWPASS << GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT | _ICM20689_CONFIG_DLPF_CFG_10HZ, sl_gyroBandwidthDlpf5Hz = _ICM20689_GYRO_CONFIG_FCHOICE_B_LOWPASS << GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT | _ICM20689_CONFIG_DLPF_CFG_5HZ, sl_gyroBandwidthDlpf3281Hz = _ICM20689_GYRO_CONFIG_FCHOICE_B_LOWPASS << GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT | _ICM20689_CONFIG_DLPF_CFG_3281HZ } |
Gyroscope bandwidth.
|
|
enum |
sl_accel_bandwidth_t
{
sl_accelBandwidth1046Hz = ICM20689_ACCEL_CONFIG2_MASK_ACCEL_FCHOICE_B | ICM20689_ACCEL_CONFIG2_SHIFT_A_DLPF_CFG, sl_accelBandwidthDlpf218_1_0Hz = ICM20689_ACCEL_CONFIG2_A_DLPF_CFG_218_1_0HZ, sl_accelBandwidthDlpf218_1_1Hz = ICM20689_ACCEL_CONFIG2_A_DLPF_CFG_218_1_1HZ, sl_accelBandwidthDlpf99Hz = ICM20689_ACCEL_CONFIG2_A_DLPF_CFG_99HZ, sl_accelBandwidthDlpf44_8Hz = ICM20689_ACCEL_CONFIG2_A_DLPF_CFG_44HZ, sl_accelBandwidthDlpf21_2Hz = ICM20689_ACCEL_CONFIG2_A_DLPF_CFG_21_2HZ, sl_accelBandwidthDlpf10_2Hz = ICM20689_ACCEL_CONFIG2_A_DLPF_CFG_10_2HZ, sl_accelBandwidthDlpf5_1Hz = ICM20689_ACCEL_CONFIG2_A_DLPF_CFG_5_1HZ, sl_accelBandwidthDlpf420Hz = ICM20689_ACCEL_CONFIG2_A_DLPF_CFG_420HZ } |
Accelerometer bandwidth.
|
|
enum |
sl_gyro_full_scale_t
{
sl_gyroFullscale250Dps = ICM20689_GYRO_CONFIG_FS_SEL_250_DPS, sl_gyroFullscale500Dps = ICM20689_GYRO_CONFIG_FS_SEL_500_DPS, sl_gyroFullscale1000Dps = ICM20689_GYRO_CONFIG_FS_SEL_1000_DPS, sl_gyroFullscale2000Dps = ICM20689_GYRO_CONFIG_FS_SEL_2000_DPS } |
Gyroscope fullscale.
|
|
enum |
sl_accel_full_scale_t
{
sl_accelFullscale2G = ICM20689_ACCEL_CONFIG_ACCEL_FS_SEL_2G, sl_accelFullscale4G = ICM20689_ACCEL_CONFIG_ACCEL_FS_SEL_4G, sl_accelFullscale8G = ICM20689_ACCEL_CONFIG_ACCEL_FS_SEL_8G, sl_accelFullscale16G = ICM20689_ACCEL_CONFIG_ACCEL_FS_SEL_16G } |
Accelerometer fullscale.
|
|
#define | GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT (0x03U) |
Gyroscope enum bitfield shift.
|
|
#define | ICM20689_WHO_AM_I_MASK_WHOAMI_ID (0x98) |
Device ID register
|
|
#define | ICM20689_DEVICE_ID ICM20689_WHO_AM_I_MASK_WHOAMI_ID |
ICM20689 Device ID value
|
|
Macro Definition Documentation
◆ GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT
#define GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT (0x03U) |
Gyroscope enum bitfield shift.
◆ ICM20689_WHO_AM_I_MASK_WHOAMI_ID
#define ICM20689_WHO_AM_I_MASK_WHOAMI_ID (0x98) |
Device ID register
◆ ICM20689_DEVICE_ID
#define ICM20689_DEVICE_ID ICM20689_WHO_AM_I_MASK_WHOAMI_ID |
ICM20689 Device ID value
Enumeration Type Documentation
◆ sl_gyro_bandwidth_t
enum sl_gyro_bandwidth_t |
Gyroscope bandwidth.
◆ sl_accel_bandwidth_t
enum sl_accel_bandwidth_t |
Accelerometer bandwidth.
◆ sl_gyro_full_scale_t
enum sl_gyro_full_scale_t |
Gyroscope fullscale.
◆ sl_accel_full_scale_t
Accelerometer fullscale.