|
enum | Cmd : uint8_t {
Cmd::START_FOC = 0x03,
Cmd::ACCL_SET_PMU_MODE = 0b00010000,
Cmd::GYRO_SET_PMU_MODE = 0b00010100,
Cmd::MAG_SET_PMU_MODE = 0b00011000,
Cmd::PROG_NVM = 0xA0,
Cmd::FIFO_FLUSH = 0xB0,
Cmd::INT_RESET = 0xB1,
Cmd::SOFT_RESET = 0xB6,
Cmd::STEP_CNT_CLR = 0xB2
} |
|
enum | GyroPmuMode : uint8_t { GyroPmuMode::SUSPEND = 0b00,
GyroPmuMode::NORMAL = 0b01,
GyroPmuMode::LOW_POWER = 0b10
} |
|
enum | AcclPmuMode : uint8_t { AcclPmuMode::SUSPEND = 0b00,
AcclPmuMode::NORMAL = 0b01,
AcclPmuMode::FAST_STARTUP = 0b11
} |
|
enum | MagPmuMode : uint8_t { MagPmuMode::SUSPEND = 0b00,
MagPmuMode::NORMAL = 0b01,
MagPmuMode::LOW_POWER = 0b10
} |
|
enum | AcclFilterMode : uint8_t { AcclFilterMode::POWER_SAVING = 0b00000000,
AcclFilterMode::PERF = 0b10000000
} |
|
enum | AcclBandwidth : uint8_t {
AcclBandwidth::OSR4_AVG1 = 0b00000000,
AcclBandwidth::OSR2_AVG2 = 0b00010000,
AcclBandwidth::NORMAL_AVG4 = 0b00100000,
AcclBandwidth::RES_AVG8 = 0b00110000,
AcclBandwidth::RES_AVG16 = 0b01000000,
AcclBandwidth::RES_AVG32 = 0b01010000,
AcclBandwidth::RES_AVG64 = 0b01100000,
AcclBandwidth::RES_AVG128 = 0b01110000
} |
|
enum | AccelOutputDataRate : uint8_t {
AccelOutputDataRate::HZ_25_32 = 0b0001,
AccelOutputDataRate::HZ_25_16 = 0b0010,
AccelOutputDataRate::HZ_25_8 = 0b0011,
AccelOutputDataRate::HZ_25_4 = 0b0100,
AccelOutputDataRate::HZ_25_2 = 0b0101,
AccelOutputDataRate::HZ_25 = 0b0110,
AccelOutputDataRate::HZ_50 = 0b0111,
AccelOutputDataRate::HZ_100 = 0b1000,
AccelOutputDataRate::HZ_200 = 0b1001,
AccelOutputDataRate::HZ_400 = 0b1010,
AccelOutputDataRate::HZ_800 = 0b1011,
AccelOutputDataRate::HZ_1600 = 0b1100
} |
|
enum | AccelRange : uint8_t { AccelRange::RANGE_2G = 0b0011,
AccelRange::RANGE_4G = 0b0101,
AccelRange::RANGE_8G = 0b1000,
AccelRange::RANGE_16G = 0b1100
} |
|
enum | GyroBandwidth : uint8_t { GyroBandwidth::OSR4 = 0x00,
GyroBandwidth::OSR2 = 0x10,
GyroBandwidth::NORMAL = 0x20
} |
|
enum | GyroOuputDataRate : uint8_t {
GyroOuputDataRate::HZ_25 = 0x06,
GyroOuputDataRate::HZ_50 = 0x07,
GyroOuputDataRate::HZ_100 = 0x08,
GyroOuputDataRate::HZ_200 = 0x09,
GyroOuputDataRate::HZ_400 = 0x0A,
GyroOuputDataRate::HZ_800 = 0x0B,
GyroOuputDataRate::HZ_1600 = 0x0C,
GyroOuputDataRate::HZ_3200 = 0x0D
} |
|
enum | GyroRange : uint8_t {
GyroRange::RANGE_2000_DPS = 0x0,
GyroRange::RANGE_1000_DPS = 0x1,
GyroRange::RANGE_500_DPS = 0x2,
GyroRange::RANGE_250_DPS = 0x3,
GyroRange::RANGE_125_DPS = 0x4
} |
|