Internal config for the MPU-9X50 (MPU9150 and MPU9250) More...
Internal config for the MPU-9X50 (MPU9150 and MPU9250)
Definition in file mpu9x50_internal.h.
Go to the source code of this file.
Power Management 1 register macros | |
#define | MPU9X50_PWR_WAKEUP (0x00) |
#define | MPU9X50_PWR_PLL (0x01) |
#define | MPU9X50_PWR_RESET (0x80) |
Power Management 2 register macros | |
#define | MPU9X50_PWR_GYRO (0x07) |
#define | MPU9X50_PWR_ACCEL (0x38) |
Sleep times in microseconds | |
#define | MPU9X50_COMP_MODE_SLEEP_MS (1) |
1ms sleep for comp mode | |
#define | MPU9X50_BYPASS_SLEEP_MS (3) |
3ms sleep for bypass | |
#define | MPU9X50_PWR_CHANGE_SLEEP_MS (50) |
50ms sleep to change power | |
#define | MPU9X50_RESET_SLEEP_MS (100) |
100ms sleep during driver reset | |
MPU-9X50 compass operating modes and reg values | |
#define | MPU9X50_COMP_POWER_DOWN (0x00) |
#define | MPU9X50_COMP_SINGLE_MEASURE (0x01) |
#define | MPU9X50_COMP_SELF_TEST (0x08) |
#define | MPU9X50_COMP_FUSE_ROM (0x0F) |
#define | MPU9X50_COMP_WHOAMI_ANSWER (0x48) |
MPU9X50 WHO_AM_I answer register. | |
#define MPU9X50_BYPASS_SLEEP_MS (3) |
3ms sleep for bypass
Definition at line 47 of file mpu9x50_internal.h.
#define MPU9X50_COMP_FUSE_ROM (0x0F) |
Definition at line 59 of file mpu9x50_internal.h.
#define MPU9X50_COMP_MODE_SLEEP_MS (1) |
1ms sleep for comp mode
Definition at line 46 of file mpu9x50_internal.h.
#define MPU9X50_COMP_POWER_DOWN (0x00) |
Definition at line 56 of file mpu9x50_internal.h.
#define MPU9X50_COMP_SELF_TEST (0x08) |
Definition at line 58 of file mpu9x50_internal.h.
#define MPU9X50_COMP_SINGLE_MEASURE (0x01) |
Definition at line 57 of file mpu9x50_internal.h.
#define MPU9X50_COMP_WHOAMI_ANSWER (0x48) |
MPU9X50 WHO_AM_I answer register.
Definition at line 60 of file mpu9x50_internal.h.
#define MPU9X50_PWR_ACCEL (0x38) |
Definition at line 39 of file mpu9x50_internal.h.
#define MPU9X50_PWR_CHANGE_SLEEP_MS (50) |
50ms sleep to change power
Definition at line 48 of file mpu9x50_internal.h.
#define MPU9X50_PWR_GYRO (0x07) |
Definition at line 38 of file mpu9x50_internal.h.
#define MPU9X50_PWR_PLL (0x01) |
Definition at line 30 of file mpu9x50_internal.h.
#define MPU9X50_PWR_RESET (0x80) |
Definition at line 31 of file mpu9x50_internal.h.
#define MPU9X50_PWR_WAKEUP (0x00) |
Definition at line 29 of file mpu9x50_internal.h.
#define MPU9X50_RESET_SLEEP_MS (100) |
100ms sleep during driver reset
Definition at line 49 of file mpu9x50_internal.h.