30 #ifndef LSM6_XL_DEFAULT_ODR
31 #define LSM6_XL_DEFAULT_ODR (LSM6_ODR_XL_1_6KHZ << 4)
34 #ifndef LSM6_XL_DEFAULT_FS
35 #define LSM6_XL_DEFAULT_FS (LSM6_FS_XL_16G << 2)
39 #ifndef LSM6_G_DEFAULT_ODR
40 #define LSM6_G_DEFAULT_ODR (LSM6_ODR_G_1_6KHZ << 4)
43 #ifndef LSM6_G_DEFAULT_FS
44 #define LSM6_G_DEFAULT_FS (LSM6_FS_G_1000 << 2)
47 #ifndef LSM6_C_DEFAULT
48 #define LSM6_C_DEFAULT (0x04)
52 #define LSM6_ORIENT (0x02)
63 #define LSM6_GYRO_SENS_245 0.3127
64 #define LSM6_GYRO_SENS_245_NUM 3127
65 #define LSM6_GYRO_SENS_245_DEN 1000
66 #define LSM6_GYRO_SENS_500 0.6255
67 #define LSM6_GYRO_SENS_500_NUM 6255
68 #define LSM6_GYRO_SENS_500_DEN 1000
69 #define LSM6_GYRO_SENS_1000 2.5021
70 #define LSM6_GYRO_SENS_1000_NUM 25021
71 #define LSM6_GYRO_SENS_1000_DEN 1000
72 #define LSM6_GYRO_SENS_2000 5.0042
73 #define LSM6_GYRO_SENS_2000_NUM 50042
74 #define LSM6_GYRO_SENS_2000_DEN 1000
81 #define LSM6_ACCEL_SENS_2G 0.613125
82 #define LSM6_ACCEL_SENS_2G_NUM 981
83 #define LSM6_ACCEL_SENS_2G_DEN 1600
84 #define LSM6_ACCEL_SENS_4G 1.22625
85 #define LSM6_ACCEL_SENS_4G_NUM 981
86 #define LSM6_ACCEL_SENS_4G_DEN 800
87 #define LSM6_ACCEL_SENS_8G 2.4525
88 #define LSM6_ACCEL_SENS_8G_NUM 981
89 #define LSM6_ACCEL_SENS_8G_DEN 400
90 #define LSM6_ACCEL_SENS_16G 4.905
91 #define LSM6_ACCEL_SENS_16G_NUM 981
92 #define LSM6_ACCEL_SENS_16G_DEN 200
#define LSM6_XL_DEFAULT_FS
static void lsm6_set_default_config(struct Lsm6Config *c)
#define LSM6_XL_DEFAULT_ODR
#define LSM6_G_DEFAULT_ODR
#define LSM6_G_DEFAULT_FS
Register defs for ST LSM6DS33 3D accelerometer and gyroscope.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.