gyro2 2.0.0.0
|
Topics | |
Reg | |
End bits | |
Types | |
Public function | |
Macros | |
#define | GYRO2_DR_800Hz 0 |
#define | GYRO2_DR_400Hz 1 |
#define | GYRO2_DR_200Hz 2 |
#define | GYRO2_DR_100Hz 3 |
#define | GYRO2_DR_50Hz 4 |
#define | GYRO2_DR_25Hz 5 |
#define | GYRO2_DR_12_5Hz 6 |
#define | GYRO2_STANDBY 0 |
#define | GYRO2_READY 1 |
#define | GYRO2_ACTIVE 3 |
#define | GYRO2_INT_CFG_FIFO_INT1 0x80 |
#define | GYRO2_INT_CFG_FIFO_INT2 0x00 |
#define | GYRO2_INT_EN_FIFO 0x40 |
#define | GYRO2_INT_DIS_FIFO 0x00 |
#define | GYRO2_INT_CFG_RT_INT1 0x20 |
#define | GYRO2_INT_CFG_RT_INT2 0x00 |
#define | GYRO2_INT_EN_RT 0x10 |
#define | GYRO2_DIS_EN_RT 0x00 |
#define | GYRO2_INT_CFG_DRDY_INT1 0x08 |
#define | GYRO2_INT_CFG_DRDY_INT2 0x00 |
#define | GYRO2_INT_EN_DRDY 0x04 |
#define | GYRO2_INT_DIS_DRDY 0x00 |
#define | GYRO2_IPOL_ACTIVE_HI 0x02 |
#define | GYRO2_IPOL_ACTIVE_LO 0x00 |
#define | GYRO2_PP_OD_OS 0x01 |
#define | GYRO2_PP_OD_PUSH_PULL 0x00 |
Variables | |
uint8_t | tmp_ctrl_reg0 |
uint8_t | tmp_ctrl_reg1 |
uint8_t | tmp_ctrl_reg2 |
uint8_t | tmp_ctrl_reg3 |
digital_out_t | scs |
digital_out_t | rst |
digital_out_t | rdy_pin |
digital_out_t | cs |
digital_in_t | rdy |
digital_in_t | int_pin |
i2c_master_t | i2c |
uint8_t | slave_address |
ctrl_reg_t | tmp_ctrl_reg |
pin_name_t | scl |
pin_name_t | sda |
pin_name_t | cs |
pin_name_t | scs |
pin_name_t | rst |
pin_name_t | rdy |
pin_name_t | int_pin |
pin_name_t | rdy_pin |
uint32_t | i2c_speed |
uint8_t | i2c_address |
#define GYRO2_ACTIVE 3 |
#define GYRO2_DIS_EN_RT 0x00 |
#define GYRO2_DR_100Hz 3 |
#define GYRO2_DR_12_5Hz 6 |
#define GYRO2_DR_200Hz 2 |
#define GYRO2_DR_25Hz 5 |
#define GYRO2_DR_400Hz 1 |
#define GYRO2_DR_50Hz 4 |
#define GYRO2_DR_800Hz 0 |
#define GYRO2_INT_CFG_DRDY_INT1 0x08 |
#define GYRO2_INT_CFG_DRDY_INT2 0x00 |
#define GYRO2_INT_CFG_FIFO_INT1 0x80 |
#define GYRO2_INT_CFG_FIFO_INT2 0x00 |
#define GYRO2_INT_CFG_RT_INT1 0x20 |
#define GYRO2_INT_CFG_RT_INT2 0x00 |
#define GYRO2_INT_DIS_DRDY 0x00 |
#define GYRO2_INT_DIS_FIFO 0x00 |
#define GYRO2_INT_EN_DRDY 0x04 |
#define GYRO2_INT_EN_FIFO 0x40 |
#define GYRO2_INT_EN_RT 0x10 |
#define GYRO2_IPOL_ACTIVE_HI 0x02 |
#define GYRO2_IPOL_ACTIVE_LO 0x00 |
#define GYRO2_PP_OD_OS 0x01 |
#define GYRO2_PP_OD_PUSH_PULL 0x00 |
#define GYRO2_READY 1 |
#define GYRO2_STANDBY 0 |
digital_out_t cs |
pin_name_t cs |
i2c_master_t i2c |
uint8_t i2c_address |
uint32_t i2c_speed |
digital_in_t int_pin |
pin_name_t int_pin |
digital_in_t rdy |
pin_name_t rdy |
digital_out_t rdy_pin |
pin_name_t rdy_pin |
digital_out_t rst |
pin_name_t rst |
pin_name_t scl |
digital_out_t scs |
pin_name_t scs |
pin_name_t sda |
uint8_t slave_address |
ctrl_reg_t tmp_ctrl_reg |
uint8_t tmp_ctrl_reg0 |
uint8_t tmp_ctrl_reg1 |
uint8_t tmp_ctrl_reg2 |
uint8_t tmp_ctrl_reg3 |