Paparazzi UAS
v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
|
ST L3GD20 3-axis gyroscope register definitions. More...
Go to the source code of this file.
Macros | |
#define | L3GD20_REG_WHO_AM_I 0x0F |
#define | L3GD20_REG_CTRL_REG1 0x20 |
#define | L3GD20_REG_CTRL_REG2 0x21 |
#define | L3GD20_REG_CTRL_REG3 0x22 |
#define | L3GD20_REG_CTRL_REG4 0x23 |
#define | L3GD20_REG_STATUS_REG 0x27 |
#define | L3GD20_REG_OUT_X_L 0x28 |
#define | L3GD20_REG_OUT_X_H 0x29 |
#define | L3GD20_REG_OUT_Y_L 0x2A |
#define | L3GD20_REG_OUT_Y_H 0x2B |
#define | L3GD20_REG_OUT_Z_L 0x2C |
#define | L3GD20_REG_OUT_Z_H 0x2D |
#define | L3GD20_WHO_AM_I 0xD4 |
L3GD20 device identifier contained in L3GD20_REG_WHO_AM_I. More... | |
#define | L3GD20_DR_MASK 0xC0 |
#define | L3GD20_BW_MASK 0x30 |
#define | L3GD20_PD (1 << 3) |
#define | L3GD20_Xen (1 << 0) |
#define | L3GD20_Yen (1 << 1) |
#define | L3GD20_Zen (1 << 2) |
#define | L3GD20_FS_MASK 0x30 |
#define | L3GD20_BDU (1 << 7) |
ST L3GD20 3-axis gyroscope register definitions.
Definition in file l3gd20_regs.h.
#define L3GD20_BDU (1 << 7) |
Definition at line 58 of file l3gd20_regs.h.
#define L3GD20_BW_MASK 0x30 |
Definition at line 49 of file l3gd20_regs.h.
#define L3GD20_DR_MASK 0xC0 |
Definition at line 48 of file l3gd20_regs.h.
#define L3GD20_FS_MASK 0x30 |
Definition at line 57 of file l3gd20_regs.h.
#define L3GD20_PD (1 << 3) |
Definition at line 52 of file l3gd20_regs.h.
Referenced by l3gd20_spi_send_config().
#define L3GD20_REG_CTRL_REG1 0x20 |
Definition at line 33 of file l3gd20_regs.h.
Referenced by l3gd20_spi_send_config().
#define L3GD20_REG_CTRL_REG2 0x21 |
Definition at line 34 of file l3gd20_regs.h.
#define L3GD20_REG_CTRL_REG3 0x22 |
Definition at line 35 of file l3gd20_regs.h.
#define L3GD20_REG_CTRL_REG4 0x23 |
Definition at line 36 of file l3gd20_regs.h.
Referenced by l3gd20_spi_send_config().
#define L3GD20_REG_OUT_X_H 0x29 |
Definition at line 39 of file l3gd20_regs.h.
#define L3GD20_REG_OUT_X_L 0x28 |
Definition at line 38 of file l3gd20_regs.h.
#define L3GD20_REG_OUT_Y_H 0x2B |
Definition at line 41 of file l3gd20_regs.h.
#define L3GD20_REG_OUT_Y_L 0x2A |
Definition at line 40 of file l3gd20_regs.h.
#define L3GD20_REG_OUT_Z_H 0x2D |
Definition at line 43 of file l3gd20_regs.h.
#define L3GD20_REG_OUT_Z_L 0x2C |
Definition at line 42 of file l3gd20_regs.h.
#define L3GD20_REG_STATUS_REG 0x27 |
Definition at line 37 of file l3gd20_regs.h.
Referenced by l3gd20_spi_read().
#define L3GD20_REG_WHO_AM_I 0x0F |
Definition at line 32 of file l3gd20_regs.h.
Referenced by l3gd20_spi_send_config().
#define L3GD20_WHO_AM_I 0xD4 |
L3GD20 device identifier contained in L3GD20_REG_WHO_AM_I.
Definition at line 46 of file l3gd20_regs.h.
Referenced by l3gd20_spi_event().
#define L3GD20_Xen (1 << 0) |
Definition at line 53 of file l3gd20_regs.h.
Referenced by l3gd20_spi_send_config().
#define L3GD20_Yen (1 << 1) |
Definition at line 54 of file l3gd20_regs.h.
Referenced by l3gd20_spi_send_config().
#define L3GD20_Zen (1 << 2) |
Definition at line 55 of file l3gd20_regs.h.
Referenced by l3gd20_spi_send_config().
enum L3gd20DRBW |
Definition at line 60 of file l3gd20_regs.h.
enum L3gd20FullScale |
Enumerator | |
---|---|
L3GD20_FS_250dps | |
L3GD20_FS_500dps | |
L3GD20_FS_2000dps | |
L3GD20_FS_2000dps2 |
Definition at line 79 of file l3gd20_regs.h.