-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLSM6DSL.py
45 lines (38 loc) · 1.24 KB
/
LSM6DSL.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
LSM6DSL_ADDRESS = 0x6A
LSM6DSL_WHO_AM_I = 0x0F
LSM6DSL_RAM_ACCESS = 0x01
LSM6DSL_CTRL1_XL = 0x10
LSM6DSL_CTRL8_XL = 0x10
LSM6DSL_CTRL2_G = 0x11
LSM6DSL_CTRL10_C = 0x19
LSM6DSL_TAP_CFG1 = 0x58
LSM6DSL_INT1_CTR = 0x0D
LSM6DSL_CTRL3_C = 0x12
LSM6DSL_CTRL4_C = 0x13
LSM6DSL_STEP_COUNTER_L = 0x4B
LSM6DSL_STEP_COUNTER_H = 0x4C
LSM6DSL_OUTX_L_XL = 0x28
LSM6DSL_OUTX_H_XL = 0x29
LSM6DSL_OUTY_L_XL = 0x2A
LSM6DSL_OUTY_H_XL = 0x2B
LSM6DSL_OUTZ_L_XL = 0x2C
LSM6DSL_OUTZ_H_XL = 0x2D
LSM6DSL_OUT_L_TEMP = 0x20
LSM6DSL_OUT_H_TEMP = 0x21
LSM6DSL_OUTX_L_G = 0x22
LSM6DSL_OUTX_H_G = 0x23
LSM6DSL_OUTY_L_G = 0x24
LSM6DSL_OUTY_H_G = 0x25
LSM6DSL_OUTZ_L_G = 0x26
LSM6DSL_OUTZ_H_G = 0x27
LSM6DSL_TAP_CFG = 0x58
LSM6DSL_WAKE_UP_SRC = 0x1B
LSM6DSL_WAKE_UP_DUR = 0x5C
LSM6DSL_FREE_FALL = 0x5D
LSM6DSL_MD1_CFG = 0x5E
LSM6DSL_MD2_CFG = 0x5F
LSM6DSL_WAKE_UP_SRC = 0x1B
LSM6DSL_TAP_THS_6D = 0x59
LSM6DSL_INT_DUR2 = 0x5A
LSM6DSL_WAKE_UP_THS = 0x5B
LSM6DSL_FUNC_SRC1 = 0x53