Qwiic_9DoF_IMU_ICM20948_Py
Python for SFE Qwiic ICM20948
Loading...
Searching...
No Matches
qwiic_icm20948 Namespace Reference

Classes

class  QwiicIcm20948
 QwiicIcm20948. More...
 

Variables

tuple ICM_20948_Internal_Acc = (1 << 0)
 
tuple ICM_20948_Internal_Gyr = (1 << 1)
 
tuple ICM_20948_Internal_Mag = (1 << 2)
 
tuple ICM_20948_Internal_Tmp = (1 << 3)
 
tuple ICM_20948_Internal_Mst = (1 << 4)
 
int ICM_20948_Sample_Mode_Continuous = 0x00
 
int ICM_20948_Sample_Mode_Cycled = 0x01
 
int gpm2 = 0x00
 
int gpm4 = 0x01
 
int gpm8 = 0x02
 
int gpm16 = 0x03
 
int dps250 = 0x00
 
int dps500 = 0x01
 
int dps1000 = 0x02
 
int dps2000 = 0x03
 
int acc_d246bw_n265bw = 0x00
 
int acc_d246bw_n265bw_1 = 0x01
 
int acc_d111bw4_n136bw = 0x02
 
int acc_d50bw4_n68bw8 = 0x03
 
int acc_d23bw9_n34bw4 = 0x04
 
int acc_d11bw5_n17bw = 0x05
 
int acc_d5bw7_n8bw3 = 0x06
 
int acc_d473bw_n499bw = 0x07
 
int gyr_d196bw6_n229bw8 = 0x00
 
int gyr_d151bw8_n187bw6 = 0x01
 
int gyr_d119bw5_n154bw3 = 0x02
 
int gyr_d51bw2_n73bw3 = 0x03
 
int gyr_d23bw9_n35bw9 = 0x04
 
int gyr_d11bw6_n17bw8 = 0x05
 
int gyr_d5bw7_n8bw9 = 0x06
 
int gyr_d361bw4_n376bw5 = 0x07
 
int MAG_AK09916_I2C_ADDR = 0x0C
 
int MAG_AK09916_WHO_AM_I = 0x4809
 
int MAG_REG_WHO_AM_I = 0x00
 
int AK09916_mode_power_down = 0x00
 
tuple AK09916_mode_single = (0x01 << 0)
 
tuple AK09916_mode_cont_10hz = (0x01 << 1)
 
tuple AK09916_mode_cont_20hz = (0x02 << 1)
 
tuple AK09916_mode_cont_50hz = (0x03 << 1)
 
tuple AK09916_mode_cont_100hz = (0x04 << 1)
 
tuple AK09916_mode_self_test = (0x01 << 4)
 
int AK09916_REG_WIA1 = 0x00
 
int AK09916_REG_WIA2 = 0x01
 
int AK09916_REG_ST1 = 0x10
 
int AK09916_REG_HXL = 0x11
 
int AK09916_REG_HXH = 0x12
 
int AK09916_REG_HYL = 0x13
 
int AK09916_REG_HYH = 0x14
 
int AK09916_REG_HZL = 0x15
 
int AK09916_REG_HZH = 0x16
 
int AK09916_REG_ST2 = 0x18
 
int AK09916_REG_CNTL2 = 0x31
 
int AK09916_REG_CNTL3 = 0x32
 

Variable Documentation

◆ acc_d111bw4_n136bw

int qwiic_icm20948.acc_d111bw4_n136bw = 0x02

◆ acc_d11bw5_n17bw

int qwiic_icm20948.acc_d11bw5_n17bw = 0x05

◆ acc_d23bw9_n34bw4

int qwiic_icm20948.acc_d23bw9_n34bw4 = 0x04

◆ acc_d246bw_n265bw

int qwiic_icm20948.acc_d246bw_n265bw = 0x00

◆ acc_d246bw_n265bw_1

int qwiic_icm20948.acc_d246bw_n265bw_1 = 0x01

◆ acc_d473bw_n499bw

int qwiic_icm20948.acc_d473bw_n499bw = 0x07

◆ acc_d50bw4_n68bw8

int qwiic_icm20948.acc_d50bw4_n68bw8 = 0x03

◆ acc_d5bw7_n8bw3

int qwiic_icm20948.acc_d5bw7_n8bw3 = 0x06

◆ AK09916_mode_cont_100hz

tuple qwiic_icm20948.AK09916_mode_cont_100hz = (0x04 << 1)

◆ AK09916_mode_cont_10hz

tuple qwiic_icm20948.AK09916_mode_cont_10hz = (0x01 << 1)

◆ AK09916_mode_cont_20hz

tuple qwiic_icm20948.AK09916_mode_cont_20hz = (0x02 << 1)

◆ AK09916_mode_cont_50hz

tuple qwiic_icm20948.AK09916_mode_cont_50hz = (0x03 << 1)

◆ AK09916_mode_power_down

int qwiic_icm20948.AK09916_mode_power_down = 0x00

◆ AK09916_mode_self_test

tuple qwiic_icm20948.AK09916_mode_self_test = (0x01 << 4)

◆ AK09916_mode_single

tuple qwiic_icm20948.AK09916_mode_single = (0x01 << 0)

◆ AK09916_REG_CNTL2

int qwiic_icm20948.AK09916_REG_CNTL2 = 0x31

◆ AK09916_REG_CNTL3

int qwiic_icm20948.AK09916_REG_CNTL3 = 0x32

◆ AK09916_REG_HXH

int qwiic_icm20948.AK09916_REG_HXH = 0x12

◆ AK09916_REG_HXL

int qwiic_icm20948.AK09916_REG_HXL = 0x11

◆ AK09916_REG_HYH

int qwiic_icm20948.AK09916_REG_HYH = 0x14

◆ AK09916_REG_HYL

int qwiic_icm20948.AK09916_REG_HYL = 0x13

◆ AK09916_REG_HZH

int qwiic_icm20948.AK09916_REG_HZH = 0x16

◆ AK09916_REG_HZL

int qwiic_icm20948.AK09916_REG_HZL = 0x15

◆ AK09916_REG_ST1

int qwiic_icm20948.AK09916_REG_ST1 = 0x10

◆ AK09916_REG_ST2

int qwiic_icm20948.AK09916_REG_ST2 = 0x18

◆ AK09916_REG_WIA1

int qwiic_icm20948.AK09916_REG_WIA1 = 0x00

◆ AK09916_REG_WIA2

int qwiic_icm20948.AK09916_REG_WIA2 = 0x01

◆ dps1000

int qwiic_icm20948.dps1000 = 0x02

◆ dps2000

int qwiic_icm20948.dps2000 = 0x03

◆ dps250

int qwiic_icm20948.dps250 = 0x00

◆ dps500

int qwiic_icm20948.dps500 = 0x01

◆ gpm16

int qwiic_icm20948.gpm16 = 0x03

◆ gpm2

int qwiic_icm20948.gpm2 = 0x00

◆ gpm4

int qwiic_icm20948.gpm4 = 0x01

◆ gpm8

int qwiic_icm20948.gpm8 = 0x02

◆ gyr_d119bw5_n154bw3

int qwiic_icm20948.gyr_d119bw5_n154bw3 = 0x02

◆ gyr_d11bw6_n17bw8

int qwiic_icm20948.gyr_d11bw6_n17bw8 = 0x05

◆ gyr_d151bw8_n187bw6

int qwiic_icm20948.gyr_d151bw8_n187bw6 = 0x01

◆ gyr_d196bw6_n229bw8

int qwiic_icm20948.gyr_d196bw6_n229bw8 = 0x00

◆ gyr_d23bw9_n35bw9

int qwiic_icm20948.gyr_d23bw9_n35bw9 = 0x04

◆ gyr_d361bw4_n376bw5

int qwiic_icm20948.gyr_d361bw4_n376bw5 = 0x07

◆ gyr_d51bw2_n73bw3

int qwiic_icm20948.gyr_d51bw2_n73bw3 = 0x03

◆ gyr_d5bw7_n8bw9

int qwiic_icm20948.gyr_d5bw7_n8bw9 = 0x06

◆ ICM_20948_Internal_Acc

tuple qwiic_icm20948.ICM_20948_Internal_Acc = (1 << 0)

◆ ICM_20948_Internal_Gyr

tuple qwiic_icm20948.ICM_20948_Internal_Gyr = (1 << 1)

◆ ICM_20948_Internal_Mag

tuple qwiic_icm20948.ICM_20948_Internal_Mag = (1 << 2)

◆ ICM_20948_Internal_Mst

tuple qwiic_icm20948.ICM_20948_Internal_Mst = (1 << 4)

◆ ICM_20948_Internal_Tmp

tuple qwiic_icm20948.ICM_20948_Internal_Tmp = (1 << 3)

◆ ICM_20948_Sample_Mode_Continuous

int qwiic_icm20948.ICM_20948_Sample_Mode_Continuous = 0x00

◆ ICM_20948_Sample_Mode_Cycled

int qwiic_icm20948.ICM_20948_Sample_Mode_Cycled = 0x01

◆ MAG_AK09916_I2C_ADDR

int qwiic_icm20948.MAG_AK09916_I2C_ADDR = 0x0C

◆ MAG_AK09916_WHO_AM_I

int qwiic_icm20948.MAG_AK09916_WHO_AM_I = 0x4809

◆ MAG_REG_WHO_AM_I

int qwiic_icm20948.MAG_REG_WHO_AM_I = 0x00