forked from Archive/PX4-Autopilot
mpu6000: add USER_CTRL I2C_MST_EN bit to checked registers
This commit is contained in:
parent
8fbb241c2e
commit
67437396f1
|
@ -147,6 +147,7 @@ enum SIGNAL_PATH_RESET_BIT : uint8_t {
|
|||
// USER_CTRL
|
||||
enum USER_CTRL_BIT : uint8_t {
|
||||
FIFO_EN = Bit6,
|
||||
I2C_MST_EN = Bit5,
|
||||
I2C_IF_DIS = Bit4,
|
||||
FIFO_RESET = Bit2,
|
||||
SIG_COND_RESET = Bit0,
|
||||
|
|
|
@ -163,7 +163,7 @@ private:
|
|||
{ Register::FIFO_EN, FIFO_EN_BIT::XG_FIFO_EN | FIFO_EN_BIT::YG_FIFO_EN | FIFO_EN_BIT::ZG_FIFO_EN | FIFO_EN_BIT::ACCEL_FIFO_EN, FIFO_EN_BIT::TEMP_FIFO_EN },
|
||||
{ Register::INT_PIN_CFG, INT_PIN_CFG_BIT::INT_LEVEL, 0 },
|
||||
{ Register::INT_ENABLE, INT_ENABLE_BIT::DATA_RDY_INT_EN, 0 },
|
||||
{ Register::USER_CTRL, USER_CTRL_BIT::FIFO_EN | USER_CTRL_BIT::I2C_IF_DIS, 0 },
|
||||
{ Register::USER_CTRL, USER_CTRL_BIT::FIFO_EN | USER_CTRL_BIT::I2C_IF_DIS, USER_CTRL_BIT::I2C_MST_EN },
|
||||
{ Register::PWR_MGMT_1, PWR_MGMT_1_BIT::CLKSEL_0, PWR_MGMT_1_BIT::SLEEP },
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue