gyro3 2.0.0.0

Macros

#define GYRO3_WHO_AM_I   0x0f
 
#define GYRO3_REF_DATACAP   0x25
 
#define GYRO3_OUT_TEMP   0x26
 
#define GYRO3_STATUS_REG   0x27
 
#define GYRO3_OUT_X_L   0x28
 
#define GYRO3_OUT_X_H   0x29
 
#define GYRO3_OUT_Y_L   0x2a
 
#define GYRO3_OUT_Y_H   0x2b
 
#define GYRO3_OUT_Z_L   0x2c
 
#define GYRO3_OUT_Z_H   0x2d
 
#define GYRO3_FIFO_CTRL   0x2e
 
#define GYRO3_FIFO_SRC   0x2f
 
#define GYRO3_INT1_CFG   0x30
 
#define GYRO3_INT1_SRC   0x31
 
#define GYRO3_INT1_THS_XH   0x32
 
#define GYRO3_INT1_THS_XL   0x33
 
#define GYRO3_INT1_THS_YH   0x34
 
#define GYRO3_INT1_THS_YL   0x35
 
#define GYRO3_INT1_THS_ZH   0x36
 
#define GYRO3_INT1_THS_ZL   0x37
 
#define GYRO3_INT1_DURATION   0x38
 
#define GYRO3_HPF_MODE_NORMAL   0x00
 
#define GYRO3_HPF_MODE_REF_SIGNAL   0x10
 
#define GYRO3_HPF_MODE_AUTO_RESET_ON_INT   0x30
 
#define GYRO3_HPF_CUTOFF_FREQ_8   0x00
 
#define GYRO3_HPF_CUTOFF_FREQ_4   0x01
 
#define GYRO3_HPF_CUTOFF_FREQ_2   0x02
 
#define GYRO3_HPF_CUTOFF_FREQ_1   0x03
 
#define GYRO3_HPF_CUTOFF_FREQ_0p5   0x04
 
#define GYRO3_HPF_CUTOFF_FREQ_0p2   0x05
 
#define GYRO3_HPF_CUTOFF_FREQ_0p1   0x06
 
#define GYRO3_HPF_CUTOFF_FREQ_0p05   0x07
 
#define GYRO3_HPF_CUTOFF_FREQ_0p02   0x08
 
#define GYRO3_HPF_CUTOFF_FREQ_0p01   0x09
 
#define GYRO3_INT_ON_INT1   0x80
 
#define GYRO3_BOOT_STATUS_ON_INT1   0x40
 
#define GYRO3_INT_ACTIVE_CFG_ON_INT1   0x20
 
#define GYRO3_PUSH_PULL   0x00
 
#define GYRO3_OPEN_DRAIN   0x10
 
#define GYRO3_DRDY_ON_INT2   0x08
 
#define GYRO3_BIG_ENDIAN   0x40
 
#define GYRO3_LITTLE_ENDIAN   0x00
 
#define GYRO3_FULL_SCACLE_245   0x00
 
#define GYRO3_FULL_SCACLE_500   0x10
 
#define GYRO3_FULL_SCACLE_1000   0x20
 
#define GYRO3_FULL_SCACLE_2000   0x30
 
#define GYRO3_SELF_TEST_NORMAL   0x00
 
#define GYRO3_SELF_TEST_0   0x02
 
#define GYRO3_SELF_TEST_1   0x06
 
#define GYRO3_SPI_MODE_4_WIRE   0x00
 
#define GYRO3_SPI_MODE_3_WIRE   0x01
 
#define GYRO3_REBOOT_MEMORY   0x80
 
#define GYRO3_FIFO_EN   0x40
 
#define GYRO3_HPF_EN   0x10
 
#define GYRO3_INT_SEL_00   0x00
 
#define GYRO3_INT_SEL_01   0x40
 
#define GYRO3_INT_SEL_10   0x80
 
#define GYRO3_OUT_SEL_00   0x00
 
#define GYRO3_OUT_SEL_01   0x01
 
#define GYRO3_OUT_SEL_10   0x02
 
#define GYRO3_ZYX_OVERRUN_MASK   0x80
 
#define GYRO3_Z_MASK   0x40
 
#define GYRO3_Y_MASK   0x20
 
#define GYRO3_X_MASK   0x10
 
#define GYRO3_ZYX_NEW_DATA_MASK   0x08
 
#define GYRO3_Z_NEW_DATA_MASK   0x04
 
#define GYRO3_Y_NEW_DATA_MASK   0x02
 
#define GYRO3_X_NEW_DATA_MASK   0x01
 
#define GYRO3_INT1_AND_OR   0x80
 
#define GYRO3_INT1_LATCH   0x40
 
#define GYRO3_INT1_ON_HIGH_Z   0x20
 
#define GYRO3_INT1_ON_LOW_Z   0x10
 
#define GYRO3_INT1_ON_HIGH_Y   0x08
 
#define GYRO3_INT1_ON_LOW_Y   0x04
 
#define GYRO3_INT1_ON_HIGH_X   0x02
 
#define GYRO3_INT1_ON_LOW_X   0x01
 
#define GYRO3_INT1_INT_ACTIVE_MASK   0x40
 
#define GYRO3_INT1_Z_HIGH_INT_MASK   0x20
 
#define GYRO3_INT1_Z_LOW_INT_MASK   0x10
 
#define GYRO3_INT1_Y_HIGH_INT_MASK   0x08
 
#define GYRO3_INT1_Y_LOW_INT_MASK   0x04
 
#define GYRO3_INT1_X_HIGH_INT_MASK   0x02
 
#define GYRO3_INT1_X_LOW_INT_MASK   0x01
 
#define GYRO3_WAIT_ENABLE   0x80
 
#define GYRO3_WAIT_DISABLE   0x00
 
#define GYRO3_MEAS_RANGE_245   0x01
 
#define GYRO3_MEAS_RANGE_500   0x02
 
#define GYRO3_MEAS_RANGE_2000   0x03
 

Detailed Description

Macro Definition Documentation

◆ GYRO3_BIG_ENDIAN

#define GYRO3_BIG_ENDIAN   0x40

◆ GYRO3_BOOT_STATUS_ON_INT1

#define GYRO3_BOOT_STATUS_ON_INT1   0x40

◆ GYRO3_DRDY_ON_INT2

#define GYRO3_DRDY_ON_INT2   0x08

◆ GYRO3_FIFO_CTRL

#define GYRO3_FIFO_CTRL   0x2e

◆ GYRO3_FIFO_EN

#define GYRO3_FIFO_EN   0x40

◆ GYRO3_FIFO_SRC

#define GYRO3_FIFO_SRC   0x2f

◆ GYRO3_FULL_SCACLE_1000

#define GYRO3_FULL_SCACLE_1000   0x20

◆ GYRO3_FULL_SCACLE_2000

#define GYRO3_FULL_SCACLE_2000   0x30

◆ GYRO3_FULL_SCACLE_245

#define GYRO3_FULL_SCACLE_245   0x00

◆ GYRO3_FULL_SCACLE_500

#define GYRO3_FULL_SCACLE_500   0x10

◆ GYRO3_HPF_CUTOFF_FREQ_0p01

#define GYRO3_HPF_CUTOFF_FREQ_0p01   0x09

◆ GYRO3_HPF_CUTOFF_FREQ_0p02

#define GYRO3_HPF_CUTOFF_FREQ_0p02   0x08

◆ GYRO3_HPF_CUTOFF_FREQ_0p05

#define GYRO3_HPF_CUTOFF_FREQ_0p05   0x07

◆ GYRO3_HPF_CUTOFF_FREQ_0p1

#define GYRO3_HPF_CUTOFF_FREQ_0p1   0x06

◆ GYRO3_HPF_CUTOFF_FREQ_0p2

#define GYRO3_HPF_CUTOFF_FREQ_0p2   0x05

◆ GYRO3_HPF_CUTOFF_FREQ_0p5

#define GYRO3_HPF_CUTOFF_FREQ_0p5   0x04

◆ GYRO3_HPF_CUTOFF_FREQ_1

#define GYRO3_HPF_CUTOFF_FREQ_1   0x03

◆ GYRO3_HPF_CUTOFF_FREQ_2

#define GYRO3_HPF_CUTOFF_FREQ_2   0x02

◆ GYRO3_HPF_CUTOFF_FREQ_4

#define GYRO3_HPF_CUTOFF_FREQ_4   0x01

◆ GYRO3_HPF_CUTOFF_FREQ_8

#define GYRO3_HPF_CUTOFF_FREQ_8   0x00

◆ GYRO3_HPF_EN

#define GYRO3_HPF_EN   0x10

◆ GYRO3_HPF_MODE_AUTO_RESET_ON_INT

#define GYRO3_HPF_MODE_AUTO_RESET_ON_INT   0x30

◆ GYRO3_HPF_MODE_NORMAL

#define GYRO3_HPF_MODE_NORMAL   0x00

◆ GYRO3_HPF_MODE_REF_SIGNAL

#define GYRO3_HPF_MODE_REF_SIGNAL   0x10

◆ GYRO3_INT1_AND_OR

#define GYRO3_INT1_AND_OR   0x80

◆ GYRO3_INT1_CFG

#define GYRO3_INT1_CFG   0x30

◆ GYRO3_INT1_DURATION

#define GYRO3_INT1_DURATION   0x38

◆ GYRO3_INT1_INT_ACTIVE_MASK

#define GYRO3_INT1_INT_ACTIVE_MASK   0x40

◆ GYRO3_INT1_LATCH

#define GYRO3_INT1_LATCH   0x40

◆ GYRO3_INT1_ON_HIGH_X

#define GYRO3_INT1_ON_HIGH_X   0x02

◆ GYRO3_INT1_ON_HIGH_Y

#define GYRO3_INT1_ON_HIGH_Y   0x08

◆ GYRO3_INT1_ON_HIGH_Z

#define GYRO3_INT1_ON_HIGH_Z   0x20

◆ GYRO3_INT1_ON_LOW_X

#define GYRO3_INT1_ON_LOW_X   0x01

◆ GYRO3_INT1_ON_LOW_Y

#define GYRO3_INT1_ON_LOW_Y   0x04

◆ GYRO3_INT1_ON_LOW_Z

#define GYRO3_INT1_ON_LOW_Z   0x10

◆ GYRO3_INT1_SRC

#define GYRO3_INT1_SRC   0x31

◆ GYRO3_INT1_THS_XH

#define GYRO3_INT1_THS_XH   0x32

◆ GYRO3_INT1_THS_XL

#define GYRO3_INT1_THS_XL   0x33

◆ GYRO3_INT1_THS_YH

#define GYRO3_INT1_THS_YH   0x34

◆ GYRO3_INT1_THS_YL

#define GYRO3_INT1_THS_YL   0x35

◆ GYRO3_INT1_THS_ZH

#define GYRO3_INT1_THS_ZH   0x36

◆ GYRO3_INT1_THS_ZL

#define GYRO3_INT1_THS_ZL   0x37

◆ GYRO3_INT1_X_HIGH_INT_MASK

#define GYRO3_INT1_X_HIGH_INT_MASK   0x02

◆ GYRO3_INT1_X_LOW_INT_MASK

#define GYRO3_INT1_X_LOW_INT_MASK   0x01

◆ GYRO3_INT1_Y_HIGH_INT_MASK

#define GYRO3_INT1_Y_HIGH_INT_MASK   0x08

◆ GYRO3_INT1_Y_LOW_INT_MASK

#define GYRO3_INT1_Y_LOW_INT_MASK   0x04

◆ GYRO3_INT1_Z_HIGH_INT_MASK

#define GYRO3_INT1_Z_HIGH_INT_MASK   0x20

◆ GYRO3_INT1_Z_LOW_INT_MASK

#define GYRO3_INT1_Z_LOW_INT_MASK   0x10

◆ GYRO3_INT_ACTIVE_CFG_ON_INT1

#define GYRO3_INT_ACTIVE_CFG_ON_INT1   0x20

◆ GYRO3_INT_ON_INT1

#define GYRO3_INT_ON_INT1   0x80

◆ GYRO3_INT_SEL_00

#define GYRO3_INT_SEL_00   0x00

◆ GYRO3_INT_SEL_01

#define GYRO3_INT_SEL_01   0x40

◆ GYRO3_INT_SEL_10

#define GYRO3_INT_SEL_10   0x80

◆ GYRO3_LITTLE_ENDIAN

#define GYRO3_LITTLE_ENDIAN   0x00

◆ GYRO3_MEAS_RANGE_2000

#define GYRO3_MEAS_RANGE_2000   0x03

◆ GYRO3_MEAS_RANGE_245

#define GYRO3_MEAS_RANGE_245   0x01

◆ GYRO3_MEAS_RANGE_500

#define GYRO3_MEAS_RANGE_500   0x02

◆ GYRO3_OPEN_DRAIN

#define GYRO3_OPEN_DRAIN   0x10

◆ GYRO3_OUT_SEL_00

#define GYRO3_OUT_SEL_00   0x00

◆ GYRO3_OUT_SEL_01

#define GYRO3_OUT_SEL_01   0x01

◆ GYRO3_OUT_SEL_10

#define GYRO3_OUT_SEL_10   0x02

◆ GYRO3_OUT_TEMP

#define GYRO3_OUT_TEMP   0x26

◆ GYRO3_OUT_X_H

#define GYRO3_OUT_X_H   0x29

◆ GYRO3_OUT_X_L

#define GYRO3_OUT_X_L   0x28

◆ GYRO3_OUT_Y_H

#define GYRO3_OUT_Y_H   0x2b

◆ GYRO3_OUT_Y_L

#define GYRO3_OUT_Y_L   0x2a

◆ GYRO3_OUT_Z_H

#define GYRO3_OUT_Z_H   0x2d

◆ GYRO3_OUT_Z_L

#define GYRO3_OUT_Z_L   0x2c

◆ GYRO3_PUSH_PULL

#define GYRO3_PUSH_PULL   0x00

◆ GYRO3_REBOOT_MEMORY

#define GYRO3_REBOOT_MEMORY   0x80

◆ GYRO3_REF_DATACAP

#define GYRO3_REF_DATACAP   0x25

◆ GYRO3_SELF_TEST_0

#define GYRO3_SELF_TEST_0   0x02

◆ GYRO3_SELF_TEST_1

#define GYRO3_SELF_TEST_1   0x06

◆ GYRO3_SELF_TEST_NORMAL

#define GYRO3_SELF_TEST_NORMAL   0x00

◆ GYRO3_SPI_MODE_3_WIRE

#define GYRO3_SPI_MODE_3_WIRE   0x01

◆ GYRO3_SPI_MODE_4_WIRE

#define GYRO3_SPI_MODE_4_WIRE   0x00

◆ GYRO3_STATUS_REG

#define GYRO3_STATUS_REG   0x27

◆ GYRO3_WAIT_DISABLE

#define GYRO3_WAIT_DISABLE   0x00

◆ GYRO3_WAIT_ENABLE

#define GYRO3_WAIT_ENABLE   0x80

◆ GYRO3_WHO_AM_I

#define GYRO3_WHO_AM_I   0x0f

◆ GYRO3_X_MASK

#define GYRO3_X_MASK   0x10

◆ GYRO3_X_NEW_DATA_MASK

#define GYRO3_X_NEW_DATA_MASK   0x01

◆ GYRO3_Y_MASK

#define GYRO3_Y_MASK   0x20

◆ GYRO3_Y_NEW_DATA_MASK

#define GYRO3_Y_NEW_DATA_MASK   0x02

◆ GYRO3_Z_MASK

#define GYRO3_Z_MASK   0x40

◆ GYRO3_Z_NEW_DATA_MASK

#define GYRO3_Z_NEW_DATA_MASK   0x04

◆ GYRO3_ZYX_NEW_DATA_MASK

#define GYRO3_ZYX_NEW_DATA_MASK   0x08

◆ GYRO3_ZYX_OVERRUN_MASK

#define GYRO3_ZYX_OVERRUN_MASK   0x80