UPM

The UPM API is a high level sensor library for IoT devices using MRAA. See examples here. Back to index page.
SparkFun sensor images provided under CC BY-NC-SA-3.0.

MPU60X0 Class

Module: mpu9150

The MPU60X0 devices provide the world's first integrated 6-axis motion processor solution that eliminates the package-level gyroscope and accelerometer cross-axis misalignment associated with discrete solutions. The devices combine a 3-axis gyroscope and a 3-axis accelerometer on the same silicon die.
While not all of the functionality of this device is supported initially, methods and register definitions are provided that should allow an end user to implement whatever features are required.
mpu60x0.jpg

Item Index

Properties

Methods

MPU60X0

(
  • bus
  • address
)
Number

mpu60x0 constructor

Parameters:

  • bus Number

    i2c bus to use

  • address Number

    the address for this device

Returns:

Number:

init

() Boolean

set up initial values and start operation

Returns:

Boolean:

true if successful

update

()

take a measurement and store the current sensor values internally. Note, these user facing registers are only updated from the internal device sensor values when the i2c serial traffic is 'idle'. So, if you are reading the values too fast, the bus may never be idle, and you will just end up reading the same values over and over.
Unfortunately, it is is not clear how long 'idle' actually means, so if you see this behavior, reduce the rate at which you are calling update() .

readReg

(
  • reg
)
Number

read a register

Parameters:

  • reg Number

    the register to read

Returns:

Number:

the value of the register

readRegs

(
  • reg
  • buffer
  • len
)

read contiguous refister into a buffer

Parameters:

  • reg Number

    the register to start reading at

  • buffer Uint8_t *

    the buffer to store the results

  • len Number

    the number of registers to read

writeReg

(
  • reg
  • val
)
Boolean

write to a register

Parameters:

  • reg Number

    the register to write to

  • val Number

    the value to write

Returns:

Boolean:

true if successful, false otherwise

setSleep

(
  • enable
)
Boolean

enable or disable device sleep

Parameters:

  • enable Boolean

    true to put device to sleep, false to wake up

Returns:

Boolean:

true if successful, false otherwise

setClockSource

(
  • clk
)
Boolean

specify the clock source for the device to use

Parameters:

  • clk CLKSEL_T

    one of the CLKSEL_T values

Returns:

Boolean:

true if successful, false otherwise

setGyroscopeScale

(
  • scale
)
Boolean

set the scaling mode of the gyroscope

Parameters:

  • scale FS_SEL_T

    one of the FS_SEL_T values

Returns:

Boolean:

true if successful, false otherwise

setAccelerometerScale

(
  • scale
)
Boolean

set the scaling mode of the accelerometer

Parameters:

  • scale AFS_SEL_T

    one of the AFS_SEL_T values

Returns:

Boolean:

true if successful, false otherwise

setDigitalLowPassFilter

(
  • dlp
)
Boolean

set the Low Pass Digital filter. This enables filtering (if non-0) of the accelerometer and gyro outputs.

Parameters:

  • dlp DLPF_CFG_T

    one of the DLPF_CFG_T values

Returns:

Boolean:

true if successful, false otherwise

setSampleRateDivider

(
  • div
)
Boolean

set the sample rate divider. This register specifies the divider from the gyro output rate used to generate the Sample Rate. The sensor registor output, FIFO output, DMP sampling and motion detection are all based on the Sample Rate.
The Sample Rate is generated by dividing the gyro output rate by this register:
Sample Rate = Gyro output rate / (1 + sample rate divider).
The Gyro output rate is 8Khz when the Digital Low Pass Filter (DLPF) is 0 or 7 (DLPF_260_256 or DLPF_RESERVED), and 1Khz otherwise.

Parameters:

  • div Number

    one of the DLPF_CFG_T values

Returns:

Boolean:

true if successful, false otherwise

getSampleRateDivider

() Number

get the current Sample Rate divider

Returns:

Number:

the current sample rate divider

getAccelerometer

(
  • x
  • y
  • z
)

get the accelerometer values

Parameters:

  • x Float *

    the returned x value, if arg is non-NULL

  • y Float *

    the returned y value, if arg is non-NULL

  • z Float *

    the returned z value, if arg is non-NULL

getGyroscope

(
  • x
  • y
  • z
)

get the gyroscope values

Parameters:

  • x Float *

    the returned x value, if arg is non-NULL

  • y Float *

    the returned y value, if arg is non-NULL

  • z Float *

    the returned z value, if arg is non-NULL

getTemperature

() Number

get the temperature value

Returns:

Number:

the temperature value in degrees Celsius

enableTemperatureSensor

(
  • enable
)
Boolean

enable onboard temperature measurement sensor

Parameters:

  • enable Boolean

    true to enable temperature sensor, false to disable

Returns:

Boolean:

true if successful, false otherwise

setExternalSync

(
  • val
)
Boolean

configure external sync. An external signal connected to the FSYNC pin can be sampled by configuring EXT_SYNC_SET. Signal changes to the FSYNC pin are latched so that short strobes may be captured. The latched FSYNC signal will be sampled at the Sampling Rate, as defined in register 25. After sampling, the latch will reset to the current FSYNC signal state.
The sampled value will be reported in place of the least significant bit in a sensor data register determined by the value of EXT_SYNC_SET

Parameters:

  • val EXT_SYNC_SET_T

    one of the EXT_SYNC_SET_T values

Returns:

Boolean:

true if successful, false otherwise

enableI2CBypass

(
  • enable
)
Boolean

enable I2C Bypass. Enabling this feature allows devices on the MPU60X0 auxiliary I2C bus to be visible on the MCU's I2C bus.

Parameters:

  • enable Boolean

    true to I2C bypass

Returns:

Boolean:

true if successful, false otherwise

setMotionDetectionThreshold

(
  • thr
)
Boolean

set the motion detection threshold for interrupt generation. Motion is detected when the absolute value of any of the accelerometer measurements exceeds this Motion detection threshold.

Parameters:

  • thr Number

    threshold

Returns:

Boolean:

true if successful, false otherwise

getInterruptStatus

() Number

return the interrupt status register.

Returns:

Number:

the interrupt status word (see INT_STATUS_BITS_T)

setInterruptEnables

(
  • enables
)
Boolean

set the interrupt enables

Parameters:

  • enables Number

    bitmask of INT_ENABLE_BITS_T values to enable

Returns:

Boolean:

true if successful, false otherwise

getInterruptEnables

() Number

get the current interrupt enables register

Returns:

Number:

bitmask of INT_ENABLE_BITS_T values

setInterruptPinConfig

(
  • cfg
)
Boolean

set the interrupt pin configuration

Parameters:

  • cfg Number

    bitmask of INT_PIN_CFG_BITS_T values

Returns:

Boolean:

true if successful, false otherwise

getInterruptPinConfig

() Number

get the current interrupt pin configuration

Returns:

Number:

bitmask of INT_PIN_CFG_BITS_T values

installISR

(
  • gpio
  • level
  • isr
  • arg
)

install an interrupt handler.

Parameters:

  • gpio Number

    gpio pin to use as interrupt pin

  • level Mraa::Edge

    the interrupt trigger level (one of mraa::Edge values). Make sure that you have configured the interrupt pin ( setInterruptPinConfig() ) properly for whatever level you choose.

  • isr Function

    the interrupt handler, accepting a void * argument

  • arg Void *

    the argument to pass the the interrupt handler

uninstallISR

()

uninstall a previously installed interrupt handler

get_gpioIRQ

() Mraa::Gpio *

Returns:

Mraa::Gpio *:

Properties

REG_SELF_TEST_X

Enum MPU60X0_REG_T

REG_SELF_TEST_Y

Enum MPU60X0_REG_T

REG_SELF_TEST_Z

Enum MPU60X0_REG_T

REG_SELF_TEST_A

Enum MPU60X0_REG_T

REG_SMPLRT_DIV

Enum MPU60X0_REG_T

REG_CONFIG

Enum MPU60X0_REG_T

REG_GYRO_CONFIG

Enum MPU60X0_REG_T

REG_ACCEL_CONFIG

Enum MPU60X0_REG_T

REG_FF_THR

Enum MPU60X0_REG_T

REG_FF_DUR

Enum MPU60X0_REG_T

REG_MOT_THR

Enum MPU60X0_REG_T

REG_MOT_DUR

Enum MPU60X0_REG_T

REG_ZRMOT_THR

Enum MPU60X0_REG_T

REG_ZRMOT_DUR

Enum MPU60X0_REG_T

REG_FIFO_EN

Enum MPU60X0_REG_T

REG_I2C_MST_CTRL

Enum MPU60X0_REG_T

REG_I2C_SLV0_ADDR

Enum MPU60X0_REG_T

REG_I2C_SLV0_REG

Enum MPU60X0_REG_T

REG_I2C_SLV0_CTRL

Enum MPU60X0_REG_T

REG_I2C_SLV1_ADDR

Enum MPU60X0_REG_T

REG_I2C_SLV1_REG

Enum MPU60X0_REG_T

REG_I2C_SLV1_CTRL

Enum MPU60X0_REG_T

REG_I2C_SLV2_ADDR

Enum MPU60X0_REG_T

REG_I2C_SLV2_REG

Enum MPU60X0_REG_T

REG_I2C_SLV2_CTRL

Enum MPU60X0_REG_T

REG_I2C_SLV3_ADDR

Enum MPU60X0_REG_T

REG_I2C_SLV3_REG

Enum MPU60X0_REG_T

REG_I2C_SLV3_CTRL

Enum MPU60X0_REG_T

REG_I2C_SLV4_ADDR

Enum MPU60X0_REG_T

REG_I2C_SLV4_REG

Enum MPU60X0_REG_T

REG_I2C_SLV4_DO

Enum MPU60X0_REG_T

REG_I2C_SLV4_CTRL

Enum MPU60X0_REG_T

REG_I2C_SLV4_DI

Enum MPU60X0_REG_T

REG_I2C_MST_STATUS

Enum MPU60X0_REG_T

REG_INT_PIN_CFG

Enum MPU60X0_REG_T

REG_INT_ENABLE

Enum MPU60X0_REG_T

REG_INT_STATUS

Enum MPU60X0_REG_T

REG_ACCEL_XOUT_H

Enum MPU60X0_REG_T

REG_ACCEL_XOUT_L

Enum MPU60X0_REG_T

REG_ACCEL_YOUT_H

Enum MPU60X0_REG_T

REG_ACCEL_YOUT_L

Enum MPU60X0_REG_T

REG_ACCEL_ZOUT_H

Enum MPU60X0_REG_T

REG_ACCEL_ZOUT_L

Enum MPU60X0_REG_T

REG_TEMP_OUT_H

Enum MPU60X0_REG_T

REG_TEMP_OUT_L

Enum MPU60X0_REG_T

REG_GYRO_XOUT_H

Enum MPU60X0_REG_T

REG_GYRO_XOUT_L

Enum MPU60X0_REG_T

REG_GYRO_YOUT_H

Enum MPU60X0_REG_T

REG_GYRO_YOUT_L

Enum MPU60X0_REG_T

REG_GYRO_ZOUT_H

Enum MPU60X0_REG_T

REG_GYRO_ZOUT_L

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_00

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_01

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_02

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_03

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_04

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_05

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_06

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_07

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_08

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_09

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_10

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_11

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_12

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_13

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_14

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_15

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_16

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_17

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_18

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_19

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_20

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_21

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_22

Enum MPU60X0_REG_T

REG_EXT_SENS_DATA_23

Enum MPU60X0_REG_T

REG_MOT_DETECT_STATUS

Enum MPU60X0_REG_T

REG_I2C_SLV0_DO

Enum MPU60X0_REG_T

REG_I2C_SLV1_DO

Enum MPU60X0_REG_T

REG_I2C_SLV2_DO

Enum MPU60X0_REG_T

REG_I2C_SLV3_DO

Enum MPU60X0_REG_T

REG_I2C_MST_DELAY_CTRL

Enum MPU60X0_REG_T

REG_SIGNAL_PATH_RESET

Enum MPU60X0_REG_T

REG_MOT_DETECT_CTRL

Enum MPU60X0_REG_T

REG_USER_CTRL

Enum MPU60X0_REG_T

REG_PWR_MGMT_1

Enum MPU60X0_REG_T

REG_PWR_MGMT_2

Enum MPU60X0_REG_T

REG_FIFO_COUNTH

Enum MPU60X0_REG_T

REG_FIFO_COUNTL

Enum MPU60X0_REG_T

REG_FIFO_R_W

Enum MPU60X0_REG_T

REG_WHO_AM_I

Enum MPU60X0_REG_T

CONFIG_DLPF_CFG0

Enum CONFIG_BITS_T

CONFIG_DLPF_CFG1

Enum CONFIG_BITS_T

CONFIG_DLPF_CFG2

Enum CONFIG_BITS_T

_CONFIG_DLPF_SHIFT

Enum CONFIG_BITS_T

_CONFIG_DLPF_MASK

Enum CONFIG_BITS_T

CONFIG_EXT_SYNC_SET0

Enum CONFIG_BITS_T

CONFIG_EXT_SYNC_SET1

Enum CONFIG_BITS_T

CONFIG_EXT_SYNC_SET2

Enum CONFIG_BITS_T

_CONFIG_EXT_SYNC_SET_SHIFT

Enum CONFIG_BITS_T

_CONFIG_EXT_SYNC_SET_MASK

Enum CONFIG_BITS_T

DLPF_260_256

Enum DLPF_CFG_T

DLPF_184_188

Enum DLPF_CFG_T

DLPF_94_98

Enum DLPF_CFG_T

DLPF_44_42

Enum DLPF_CFG_T

DLPF_21_20

Enum DLPF_CFG_T

DLPF_10_10

Enum DLPF_CFG_T

DLPF_5_5

Enum DLPF_CFG_T

DLPF_RESERVED

Enum DLPF_CFG_T

EXT_SYNC_DISABLED

Enum EXT_SYNC_SET_T

EXT_SYNC_TEMP_OUT

Enum EXT_SYNC_SET_T

EXT_SYNC_GYRO_XOUT

Enum EXT_SYNC_SET_T

EXT_SYNC_GYRO_YOUT

Enum EXT_SYNC_SET_T

EXT_SYNC_GYRO_ZOUT

Enum EXT_SYNC_SET_T

EXT_SYNC_ACCEL_XOUT

Enum EXT_SYNC_SET_T

EXT_SYNC_ACCEL_YOUT

Enum EXT_SYNC_SET_T

EXT_SYNC_ACCEL_ZOUT

Enum EXT_SYNC_SET_T

FS_SEL0

Enum GRYO_CONFIG_BITS_T

FS_SEL1

Enum GRYO_CONFIG_BITS_T

_FS_SEL_SHIFT

Enum GRYO_CONFIG_BITS_T

_FS_SEL_MASK

Enum GRYO_CONFIG_BITS_T

ZG_ST

Enum GRYO_CONFIG_BITS_T

YG_ST

Enum GRYO_CONFIG_BITS_T

XG_ST

Enum GRYO_CONFIG_BITS_T

FS_250

Enum FS_SEL_T

FS_500

Enum FS_SEL_T

FS_1000

Enum FS_SEL_T

FS_2000

Enum FS_SEL_T

AFS_SEL0

Enum ACCEL_CONFIG_BITS_T

AFS_SEL1

Enum ACCEL_CONFIG_BITS_T

_AFS_SEL_SHIFT

Enum ACCEL_CONFIG_BITS_T

_AFS_SEL_MASK

Enum ACCEL_CONFIG_BITS_T

ZA_ST

Enum ACCEL_CONFIG_BITS_T

YA_ST

Enum ACCEL_CONFIG_BITS_T

XA_ST

Enum ACCEL_CONFIG_BITS_T

AFS_2

Enum AFS_SEL_T

AFS_4

Enum AFS_SEL_T

AFS_8

Enum AFS_SEL_T

AFS_16

Enum AFS_SEL_T

SLV0_FIFO_EN

Enum FIFO_EN_BITS_T

SLV1_FIFO_EN

Enum FIFO_EN_BITS_T

SLV2_FIFO_EN

Enum FIFO_EN_BITS_T

ACCEL_FIFO_EN

Enum FIFO_EN_BITS_T

ZG_FIFO_EN

Enum FIFO_EN_BITS_T

YG_FIFO_EN

Enum FIFO_EN_BITS_T

XG_FIFO_EN

Enum FIFO_EN_BITS_T

TEMP_FIFO_EN

Enum FIFO_EN_BITS_T

I2C_MST_CLK0

Enum I2C_MST_CTRL_BITS_T

I2C_MST_CLK1

Enum I2C_MST_CTRL_BITS_T

I2C_MST_CLK2

Enum I2C_MST_CTRL_BITS_T

I2C_MST_CLK3

Enum I2C_MST_CTRL_BITS_T

_I2C_MST_CLK_SHIFT

Enum I2C_MST_CTRL_BITS_T

_I2C_MST_CLK_MASK

Enum I2C_MST_CTRL_BITS_T

I2C_MST_P_NSR

Enum I2C_MST_CTRL_BITS_T

SLV_3_FIFO_EN

Enum I2C_MST_CTRL_BITS_T

WAIT_FOR_ES

Enum I2C_MST_CTRL_BITS_T

MULT_MST_EN

Enum I2C_MST_CTRL_BITS_T

MST_CLK_348

Enum I2C_MST_CLK_T

MST_CLK_333

Enum I2C_MST_CLK_T

MST_CLK_320

Enum I2C_MST_CLK_T

MST_CLK_308

Enum I2C_MST_CLK_T

MST_CLK_296

Enum I2C_MST_CLK_T

MST_CLK_286

Enum I2C_MST_CLK_T

MST_CLK_276

Enum I2C_MST_CLK_T

MST_CLK_267

Enum I2C_MST_CLK_T

MST_CLK_258

Enum I2C_MST_CLK_T

MST_CLK_500

Enum I2C_MST_CLK_T

MST_CLK_471

Enum I2C_MST_CLK_T

MST_CLK_444

Enum I2C_MST_CLK_T

MST_CLK_421

Enum I2C_MST_CLK_T

MST_CLK_400

Enum I2C_MST_CLK_T

MST_CLK_381

Enum I2C_MST_CLK_T

MST_CLK_364

Enum I2C_MST_CLK_T

I2C_SLV_ADDR0

Enum I2C_SLV_ADDR_BITS_T

I2C_SLV_ADDR1

Enum I2C_SLV_ADDR_BITS_T

I2C_SLV_ADDR2

Enum I2C_SLV_ADDR_BITS_T

I2C_SLV_ADDR3

Enum I2C_SLV_ADDR_BITS_T

I2C_SLV_ADDR4

Enum I2C_SLV_ADDR_BITS_T

I2C_SLV_ADDR5

Enum I2C_SLV_ADDR_BITS_T

I2C_SLV_ADDR6

Enum I2C_SLV_ADDR_BITS_T

_I2C_SLV_ADDR_SHIFT

Enum I2C_SLV_ADDR_BITS_T

_I2C_SLV_ADDR_MASK

Enum I2C_SLV_ADDR_BITS_T

I2C_SLV_RW

Enum I2C_SLV_ADDR_BITS_T

I2C_SLV_LEN0

Enum I2C_SLV_CTRL_BITS_T

I2C_SLV_LEN1

Enum I2C_SLV_CTRL_BITS_T

I2C_SLV_LEN2

Enum I2C_SLV_CTRL_BITS_T

I2C_SLV_LEN3

Enum I2C_SLV_CTRL_BITS_T

_I2C_SLV_LEN_SHIFT

Enum I2C_SLV_CTRL_BITS_T

_I2C_SLV_LEN_MASK

Enum I2C_SLV_CTRL_BITS_T

I2C_SLV_GRP

Enum I2C_SLV_CTRL_BITS_T

I2C_SLV_REG_DIS

Enum I2C_SLV_CTRL_BITS_T

I2C_SLV_BYTE_SW

Enum I2C_SLV_CTRL_BITS_T

I2C_SLV_EN

Enum I2C_SLV_CTRL_BITS_T

I2C_MST_DLY0

Enum I2C_SLV4_CTRL_BITS_T

I2C_MST_DLY1

Enum I2C_SLV4_CTRL_BITS_T

I2C_MST_DLY2

Enum I2C_SLV4_CTRL_BITS_T

I2C_MST_DLY3

Enum I2C_SLV4_CTRL_BITS_T

I2C_MST_DLY4

Enum I2C_SLV4_CTRL_BITS_T

_I2C_MST_DLY_SHIFT

Enum I2C_SLV4_CTRL_BITS_T

_I2C_MST_DLY_MASK

Enum I2C_SLV4_CTRL_BITS_T

I2C_SLV4_REG_DIS

Enum I2C_SLV4_CTRL_BITS_T

I2C_SLV4_INT_EN

Enum I2C_SLV4_CTRL_BITS_T

I2C_SLV4_EN

Enum I2C_SLV4_CTRL_BITS_T

I2C_SLV0_NACK

Enum I2C_MST_STATUS_BITS_T

I2C_SLV1_NACK

Enum I2C_MST_STATUS_BITS_T

I2C_SLV2_NACK

Enum I2C_MST_STATUS_BITS_T

I2C_SLV3_NACK

Enum I2C_MST_STATUS_BITS_T

I2C_SLV4_NACK

Enum I2C_MST_STATUS_BITS_T

I2C_LOST_ARB

Enum I2C_MST_STATUS_BITS_T

I2C_SLV4_DONE

Enum I2C_MST_STATUS_BITS_T

PASS_THROUGH

Enum I2C_MST_STATUS_BITS_T

CLKOUT_EN

Enum INT_PIN_CFG_BITS_T

I2C_BYPASS_ENABLE

Enum INT_PIN_CFG_BITS_T

FSYNC_INT_EN

Enum INT_PIN_CFG_BITS_T

FSYNC_INT_LEVEL

Enum INT_PIN_CFG_BITS_T

INT_RD_CLEAR

Enum INT_PIN_CFG_BITS_T

LATCH_INT_EN

Enum INT_PIN_CFG_BITS_T

INT_OPEN

Enum INT_PIN_CFG_BITS_T

INT_LEVEL

Enum INT_PIN_CFG_BITS_T

DATA_RDY_EN

Enum INT_ENABLE_BITS_T

I2C_MST_INT_EN

Enum INT_ENABLE_BITS_T

FIFO_OFLOW_EN

Enum INT_ENABLE_BITS_T

ZMOT_EN

Enum INT_ENABLE_BITS_T

MOT_EN

Enum INT_ENABLE_BITS_T

FF_EN

Enum INT_ENABLE_BITS_T

DATA_RDY_INT

Enum INT_STATUS_BITS_T

I2C_MST_INT

Enum INT_STATUS_BITS_T

FIFO_OFLOW_INT

Enum INT_STATUS_BITS_T

ZMOT_INT

Enum INT_STATUS_BITS_T

MOT_INT

Enum INT_STATUS_BITS_T

FF_INT

Enum INT_STATUS_BITS_T

MOT_ZRMOT

Enum MOT_DETECT_STATUS_BITS_T

MOT_ZPOS

Enum MOT_DETECT_STATUS_BITS_T

MOT_ZNEG

Enum MOT_DETECT_STATUS_BITS_T

MOT_YPOS

Enum MOT_DETECT_STATUS_BITS_T

MOT_YNEG

Enum MOT_DETECT_STATUS_BITS_T

MOT_XPOS

Enum MOT_DETECT_STATUS_BITS_T

MOT_XNEG

Enum MOT_DETECT_STATUS_BITS_T

I2C_SLV0_DLY_EN

Enum MST_DELAY_CTRL_BITS_T

I2C_SLV1_DLY_EN

Enum MST_DELAY_CTRL_BITS_T

I2C_SLV2_DLY_EN

Enum MST_DELAY_CTRL_BITS_T

I2C_SLV3_DLY_EN

Enum MST_DELAY_CTRL_BITS_T

I2C_SLV4_DLY_EN

Enum MST_DELAY_CTRL_BITS_T

DELAY_ES_SHADOW

Enum MST_DELAY_CTRL_BITS_T

TEMP_RESET

Enum SIGNAL_PATH_RESET_BITS_T

ACCEL_RESET

Enum SIGNAL_PATH_RESET_BITS_T

GYRO_RESET

Enum SIGNAL_PATH_RESET_BITS_T

MOT_COUNT0

Enum MOT_DETECT_CTRL_BITS_T

MOT_COUNT1

Enum MOT_DETECT_CTRL_BITS_T

_MOT_COUNT_SHIFT

Enum MOT_DETECT_CTRL_BITS_T

_MOT_COUNT_MASK

Enum MOT_DETECT_CTRL_BITS_T

FF_COUNT0

Enum MOT_DETECT_CTRL_BITS_T

FF_COUNT1

Enum MOT_DETECT_CTRL_BITS_T

_FF_COUNT_SHIFT

Enum MOT_DETECT_CTRL_BITS_T

_FF_COUNT_MASK

Enum MOT_DETECT_CTRL_BITS_T

ACCEL_ON_DELAY0

Enum MOT_DETECT_CTRL_BITS_T

ACCEL_ON_DELAY1

Enum MOT_DETECT_CTRL_BITS_T

_ACCEL_ON_DELAY_SHIFT

Enum MOT_DETECT_CTRL_BITS_T

_ACCEL_ON_DELAY_MASK

Enum MOT_DETECT_CTRL_BITS_T

COUNT_0

Enum MOT_FF_COUNT_T

COUNT_1

Enum MOT_FF_COUNT_T

COUNT_2

Enum MOT_FF_COUNT_T

COUNT_4

Enum MOT_FF_COUNT_T

ON_DELAY_0

Enum ACCEL_ON_DELAY_T

ON_DELAY_1

Enum ACCEL_ON_DELAY_T

ON_DELAY_2

Enum ACCEL_ON_DELAY_T

ON_DELAY_3

Enum ACCEL_ON_DELAY_T

SIG_COND_RESET

Enum USER_CTRL_BITS_T

I2C_MST_RESET

Enum USER_CTRL_BITS_T

FIFO_RESET

Enum USER_CTRL_BITS_T

I2C_IF_DIS

Enum USER_CTRL_BITS_T

I2C_MST_EN

Enum USER_CTRL_BITS_T

FIFO_EN

Enum USER_CTRL_BITS_T

CLKSEL0

Enum PWR_MGMT_1_BITS_T

CLKSEL1

Enum PWR_MGMT_1_BITS_T

CLKSEL2

Enum PWR_MGMT_1_BITS_T

_CLKSEL_SHIFT

Enum PWR_MGMT_1_BITS_T

_CLKSEL_MASK

Enum PWR_MGMT_1_BITS_T

TEMP_DIS

Enum PWR_MGMT_1_BITS_T

PWR_CYCLE

Enum PWR_MGMT_1_BITS_T

PWR_SLEEP

Enum PWR_MGMT_1_BITS_T

DEVICE_RESET

Enum PWR_MGMT_1_BITS_T

INT_8MHZ

Enum CLKSEL_T

PLL_XG

Enum CLKSEL_T

PLL_YG

Enum CLKSEL_T

PLL_ZG

Enum CLKSEL_T

PLL_EXT_32KHZ

Enum CLKSEL_T

PLL_EXT_19MHZ

Enum CLKSEL_T

CLK_STOP

Enum CLKSEL_T

STBY_ZG

Enum PWR_MGMT_2_BITS_T

STBY_YG

Enum PWR_MGMT_2_BITS_T

STBY_XG

Enum PWR_MGMT_2_BITS_T

STBY_ZA

Enum PWR_MGMT_2_BITS_T

STBY_YA

Enum PWR_MGMT_2_BITS_T

STBY_XA

Enum PWR_MGMT_2_BITS_T

LP_WAKE_CTRL0

Enum PWR_MGMT_2_BITS_T

LP_WAKE_CTRL1

Enum PWR_MGMT_2_BITS_T

_LP_WAKE_CTRL_SHIFT

Enum PWR_MGMT_2_BITS_T

_LP_WAKE_CTRL_MASK

Enum PWR_MGMT_2_BITS_T

LP_WAKE_1_25

Enum LP_WAKE_CRTL_T

LP_WAKE_5

Enum LP_WAKE_CRTL_T

LP_WAKE_20

Enum LP_WAKE_CRTL_T

LP_WAKE_40

Enum LP_WAKE_CRTL_T