Register definitions#

Register definitions.

Register and associated bit definitions#

enum
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_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_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_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

Gyroscope enum bitfield shift.

#define

Device ID register

#define
ICM20689_DEVICE_ID ICM20689_WHO_AM_I_MASK_WHOAMI_ID

ICM20689 Device ID value

Register and associated bit definitions Documentation#

sl_gyro_bandwidth_t#

sl_gyro_bandwidth_t

Gyroscope bandwidth.

Enumerator
sl_gyroBandwidth8173Hz
sl_gyroBandwidth3281Hz
sl_gyroBandwidthDlpf250Hz
sl_gyroBandwidthDlpf176Hz
sl_gyroBandwidthDlpf92Hz
sl_gyroBandwidthDlpf41Hz
sl_gyroBandwidthDlpf20Hz
sl_gyroBandwidthDlpf10Hz
sl_gyroBandwidthDlpf5Hz
sl_gyroBandwidthDlpf3281Hz

Definition at line 63 of file hardware/driver/icm20689/inc/sl_icm20689.h

sl_accel_bandwidth_t#

sl_accel_bandwidth_t

Accelerometer bandwidth.

Enumerator
sl_accelBandwidth1046Hz
sl_accelBandwidthDlpf218_1_0Hz
sl_accelBandwidthDlpf218_1_1Hz
sl_accelBandwidthDlpf99Hz
sl_accelBandwidthDlpf44_8Hz
sl_accelBandwidthDlpf21_2Hz
sl_accelBandwidthDlpf10_2Hz
sl_accelBandwidthDlpf5_1Hz
sl_accelBandwidthDlpf420Hz

Definition at line 77 of file hardware/driver/icm20689/inc/sl_icm20689.h

sl_gyro_full_scale_t#

sl_gyro_full_scale_t

Gyroscope fullscale.

Enumerator
sl_gyroFullscale250Dps
sl_gyroFullscale500Dps
sl_gyroFullscale1000Dps
sl_gyroFullscale2000Dps

Definition at line 90 of file hardware/driver/icm20689/inc/sl_icm20689.h

sl_accel_full_scale_t#

sl_accel_full_scale_t

Accelerometer fullscale.

Enumerator
sl_accelFullscale2G
sl_accelFullscale4G
sl_accelFullscale8G
sl_accelFullscale16G

Definition at line 98 of file hardware/driver/icm20689/inc/sl_icm20689.h

GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT#

#define GYRO_BANDWITDH_ENUM_FCHOICE_SHIFT
Value:
(0x03U)

Gyroscope enum bitfield shift.


Definition at line 60 of file hardware/driver/icm20689/inc/sl_icm20689.h

ICM20689_WHO_AM_I_MASK_WHOAMI_ID#

#define ICM20689_WHO_AM_I_MASK_WHOAMI_ID
Value:
(0x98)

Device ID register


Definition at line 105 of file hardware/driver/icm20689/inc/sl_icm20689.h

ICM20689_DEVICE_ID#

#define ICM20689_DEVICE_ID
Value:
ICM20689_WHO_AM_I_MASK_WHOAMI_ID

ICM20689 Device ID value


Definition at line 107 of file hardware/driver/icm20689/inc/sl_icm20689.h