ESP32 - AirTag Documentation
|
Useful constants for MPU-6500 operation. More...
Macros | |
#define | WHO_AM_I_MPU6500 0x70 |
#define | WHO_AM_I_MPU9250 0x71 |
Power Management 1 bits | |
#define | PWR_DEVICE_RESET 0x80 |
#define | PWR_SLEEP 0x40 |
#define | PWR_CYCLE 0x20 |
#define | PWR_CLKSEL_INTERNAL 0x00 |
#define | PWR_CLKSEL_PLL_XGYRO 0x01 |
#define | PWR_CLKSEL_PLL_YGYRO 0x02 |
#define | PWR_CLKSEL_PLL_ZGYRO 0x03 |
Useful constants for MPU-6500 operation.
#define PWR_CLKSEL_INTERNAL 0x00 |
Internal 20 MHz oscillator
#define PWR_CLKSEL_PLL_XGYRO 0x01 |
PLL with X gyro reference
#define PWR_CLKSEL_PLL_YGYRO 0x02 |
PLL with Y gyro reference
#define PWR_CLKSEL_PLL_ZGYRO 0x03 |
PLL with Z gyro reference
#define PWR_CYCLE 0x20 |
Cycle between sleep/active
#define PWR_DEVICE_RESET 0x80 |
Reset entire device
#define PWR_SLEEP 0x40 |
Enter sleep mode
#define WHO_AM_I_MPU6500 0x70 |
Expected WHO_AM_I response for MPU-6500
#define WHO_AM_I_MPU9250 0x71 |
Expected WHO_AM_I response for MPU-9250