minimal set of MPU configuration data
More...
#include <mpu6050.h>
|
uint8_t | MPU_ADDR = 0x68 |
| MPU address, assuming AD0 pin is low otherwise = 0x69.
|
|
uint16_t | SAMPLE_RATE = 100 |
| Reg 0x19: set sensors sample rate in Hz.
|
|
uint8_t | DLPF_BW = 50 |
| Reg 0x1A: Digital Low-Pass Filter bandwidth. values in { 250, 200, 100, 50, 20, 10, 5}Hz.
|
|
uint8_t | EXT_SYNC = 0x00 <<3 |
| Reg 0x1A: external synchronisation via FSYNC pin.
|
|
uint16_t | GYRO_OUT_RATE = 1000 |
| Reg 0x1A: in Hz, depending on DLPF value.
|
|
uint16_t | GYRO_FULL_SCALE_RANGE = 250 |
| Reg 0x1B: values in { 250, 500, 1000, 2000} DegreePerSecond.
|
|
uint8_t | ACCEL_FULL_SCALE_RANGE = 2 |
| Reg 0x1C:values in { 2, 4, 8, 16} G.
|
|
uint8_t | FIFO_SELECTED_SENSORS = 0x40 | 0x20 | 0x10 | 0x08 |
| Reg 0x23:
|
|
uint8_t | INT_PIN_CFG = 0x80 | 0x20 | 0x10 |
| Reg 0x37: Active LO, open drain, pulsed 50us, cleared any read operation.
|
|
uint8_t | INT_ENABLE = 0x01 |
| Reg 0x38: INT each time a sensor register write occurs.
|
|
uint8_t | SIGNAL_PATH_RESET = 0x00 |
| Reg 0x68: default no reset.
|
|
uint8_t | FIFO_OP = 0x40 |
| Reg 0x6A: FIFO enable.
|
|
uint8_t | PWR_MGMT_1 = 0x03 |
| Reg 0x6B:
|
|
minimal set of MPU configuration data
The documentation for this struct was generated from the following file: