angle2 2.0.0.0

Macros

#define ANGLE2_WRITE_CMD   0x20
 
#define ANGLE2_READ_CMD   0x10
 
#define ANGLE2_DUMMY_BYTE   0x00
 
#define ANGLE2_REG_ADDR_MASK   0x0F
 
#define ANGLE2_BIAS_CURR_TRIMM_REG_3   0x03
 
#define ANGLE2_ZERO_POS_MSB_REG_4   0x04
 
#define ANGLE2_AXIS_TRIMM_AND_ZERO_LSB_REG_5   0x05
 
#define ANGLE2_FLASH_N_REG_9   0x09
 
#define ANGLE2_X_AXIS_TRIMM_EN   0x10
 
#define ANGLE2_Y_AXIS_TRIMM_EN   0x20
 
#define ANGLE2_AXIS_TRIMM_DIS   0x00
 
#define ANGLE2_FLASH_REG_3   0x08
 
#define ANGLE2_FLASH_REG_4   0x10
 
#define ANGLE2_FLASH_REG_5   0x20
 
#define ANGLE2_NO_FLASH   0x00
 
#define ANGLE2_DEG_LSB   0.08789
 
#define ANGLE2_MAX_SCALE_359_91_DEG   359.91211
 
#define ANGLE2_MIN_SCALE_0_DEG   0
 

Detailed Description

Macro Definition Documentation

◆ ANGLE2_AXIS_TRIMM_AND_ZERO_LSB_REG_5

#define ANGLE2_AXIS_TRIMM_AND_ZERO_LSB_REG_5   0x05

◆ ANGLE2_AXIS_TRIMM_DIS

#define ANGLE2_AXIS_TRIMM_DIS   0x00

◆ ANGLE2_BIAS_CURR_TRIMM_REG_3

#define ANGLE2_BIAS_CURR_TRIMM_REG_3   0x03

◆ ANGLE2_DEG_LSB

#define ANGLE2_DEG_LSB   0.08789

◆ ANGLE2_DUMMY_BYTE

#define ANGLE2_DUMMY_BYTE   0x00

◆ ANGLE2_FLASH_N_REG_9

#define ANGLE2_FLASH_N_REG_9   0x09

◆ ANGLE2_FLASH_REG_3

#define ANGLE2_FLASH_REG_3   0x08

◆ ANGLE2_FLASH_REG_4

#define ANGLE2_FLASH_REG_4   0x10

◆ ANGLE2_FLASH_REG_5

#define ANGLE2_FLASH_REG_5   0x20

◆ ANGLE2_MAX_SCALE_359_91_DEG

#define ANGLE2_MAX_SCALE_359_91_DEG   359.91211

◆ ANGLE2_MIN_SCALE_0_DEG

#define ANGLE2_MIN_SCALE_0_DEG   0

◆ ANGLE2_NO_FLASH

#define ANGLE2_NO_FLASH   0x00

◆ ANGLE2_READ_CMD

#define ANGLE2_READ_CMD   0x10

◆ ANGLE2_REG_ADDR_MASK

#define ANGLE2_REG_ADDR_MASK   0x0F

◆ ANGLE2_WRITE_CMD

#define ANGLE2_WRITE_CMD   0x20

◆ ANGLE2_X_AXIS_TRIMM_EN

#define ANGLE2_X_AXIS_TRIMM_EN   0x10

◆ ANGLE2_Y_AXIS_TRIMM_EN

#define ANGLE2_Y_AXIS_TRIMM_EN   0x20

◆ ANGLE2_ZERO_POS_MSB_REG_4

#define ANGLE2_ZERO_POS_MSB_REG_4   0x04