Definitions for the L3G4200D gyroscope. More...
Definitions for the L3G4200D gyroscope.
Definition in file l3g4200d-regs.h.
Go to the source code of this file.
#define | L3G4200D_AUTOINC 0x80 |
Flag for reading multiple bytes. | |
L3G4200D register definitions | |
#define | L3G4200D_REG_WHO_AM_I 0x0f |
#define | L3G4200D_REG_CTRL1 0x20 |
#define | L3G4200D_REG_CTRL2 0x21 |
#define | L3G4200D_REG_CTRL3 0x22 |
#define | L3G4200D_REG_CTRL4 0x23 |
#define | L3G4200D_REG_CTRL5 0x24 |
#define | L3G4200D_REG_REF 0x25 |
#define | L3G4200D_REG_OUT_TEMP 0x26 |
#define | L3G4200D_REG_STATUS 0x27 |
#define | L3G4200D_REG_OUT_X_L 0x28 |
#define | L3G4200D_REG_OUT_X_H 0x29 |
#define | L3G4200D_REG_OUT_Y_L 0x2a |
#define | L3G4200D_REG_OUT_Y_H 0x2b |
#define | L3G4200D_REG_OUT_Z_L 0x2c |
#define | L3G4200D_REG_OUT_Z_H 0x2d |
#define | L3G4200D_REG_FIFO_CTRL 0x2e |
#define | L3G4200D_REG_FIFO_SRC 0x2f |
#define | L3G4200D_REG_INT1_CFG 0x30 |
#define | L3G4200D_REG_INT1_SRC 0x31 |
#define | L3G4200D_REG_INT1_THS_XH 0x32 |
#define | L3G4200D_REG_INT1_THS_XL 0x33 |
#define | L3G4200D_REG_INT1_THS_YH 0x34 |
#define | L3G4200D_REG_INT1_THS_YL 0x35 |
#define | L3G4200D_REG_INT1_THS_ZL 0x36 |
#define | L3G4200D_REG_INT1_THS_ZH 0x37 |
#define | L3G4200D_REG_INT1_DURATION 0x38 |
CTRL1 bitfields | |
#define | L3G4200D_CTRL1_PD 0x08 |
#define | L3G4200D_CTRL1_ZEN 0x04 |
#define | L3G4200D_CTRL1_YEN 0x02 |
#define | L3G4200D_CTRL1_XEN 0x01 |
#define | L3G4200D_CTRL1_ALLON 0x0f |
#define | L3G4200D_CTRL1_MODE_POS (4) |
CTRL4 bitfields | |
#define | L3G4200D_CTRL4_BDU 0x80 |
#define | L3G4200D_CTRL4_BLE 0x40 |
#define | L3G4200D_CTRL4_FS1 0x20 |
#define | L3G4200D_CTRL4_FS2 0x10 |
#define | L3G4200D_CTRL4_ST1 0x04 |
#define | L3G4200D_CTRL4_ST2 0x02 |
#define | L3G4200D_CTRL4_SIM 0x01 |
#define | L3G4200D_CTRL4_FS_POS (4) |
#define L3G4200D_AUTOINC 0x80 |
Flag for reading multiple bytes.
Definition at line 29 of file l3g4200d-regs.h.
#define L3G4200D_CTRL1_ALLON 0x0f |
Definition at line 71 of file l3g4200d-regs.h.
#define L3G4200D_CTRL1_MODE_POS (4) |
Definition at line 72 of file l3g4200d-regs.h.
#define L3G4200D_CTRL1_PD 0x08 |
Definition at line 67 of file l3g4200d-regs.h.
#define L3G4200D_CTRL1_XEN 0x01 |
Definition at line 70 of file l3g4200d-regs.h.
#define L3G4200D_CTRL1_YEN 0x02 |
Definition at line 69 of file l3g4200d-regs.h.
#define L3G4200D_CTRL1_ZEN 0x04 |
Definition at line 68 of file l3g4200d-regs.h.
#define L3G4200D_CTRL4_BDU 0x80 |
Definition at line 79 of file l3g4200d-regs.h.
#define L3G4200D_CTRL4_BLE 0x40 |
Definition at line 80 of file l3g4200d-regs.h.
#define L3G4200D_CTRL4_FS1 0x20 |
Definition at line 81 of file l3g4200d-regs.h.
#define L3G4200D_CTRL4_FS2 0x10 |
Definition at line 82 of file l3g4200d-regs.h.
#define L3G4200D_CTRL4_FS_POS (4) |
Definition at line 86 of file l3g4200d-regs.h.
#define L3G4200D_CTRL4_SIM 0x01 |
Definition at line 85 of file l3g4200d-regs.h.
#define L3G4200D_CTRL4_ST1 0x04 |
Definition at line 83 of file l3g4200d-regs.h.
#define L3G4200D_CTRL4_ST2 0x02 |
Definition at line 84 of file l3g4200d-regs.h.
#define L3G4200D_REG_CTRL1 0x20 |
Definition at line 36 of file l3g4200d-regs.h.
#define L3G4200D_REG_CTRL2 0x21 |
Definition at line 37 of file l3g4200d-regs.h.
#define L3G4200D_REG_CTRL3 0x22 |
Definition at line 38 of file l3g4200d-regs.h.
#define L3G4200D_REG_CTRL4 0x23 |
Definition at line 39 of file l3g4200d-regs.h.
#define L3G4200D_REG_CTRL5 0x24 |
Definition at line 40 of file l3g4200d-regs.h.
#define L3G4200D_REG_FIFO_CTRL 0x2e |
Definition at line 50 of file l3g4200d-regs.h.
#define L3G4200D_REG_FIFO_SRC 0x2f |
Definition at line 51 of file l3g4200d-regs.h.
#define L3G4200D_REG_INT1_CFG 0x30 |
Definition at line 52 of file l3g4200d-regs.h.
#define L3G4200D_REG_INT1_DURATION 0x38 |
Definition at line 60 of file l3g4200d-regs.h.
#define L3G4200D_REG_INT1_SRC 0x31 |
Definition at line 53 of file l3g4200d-regs.h.
#define L3G4200D_REG_INT1_THS_XH 0x32 |
Definition at line 54 of file l3g4200d-regs.h.
#define L3G4200D_REG_INT1_THS_XL 0x33 |
Definition at line 55 of file l3g4200d-regs.h.
#define L3G4200D_REG_INT1_THS_YH 0x34 |
Definition at line 56 of file l3g4200d-regs.h.
#define L3G4200D_REG_INT1_THS_YL 0x35 |
Definition at line 57 of file l3g4200d-regs.h.
#define L3G4200D_REG_INT1_THS_ZH 0x37 |
Definition at line 59 of file l3g4200d-regs.h.
#define L3G4200D_REG_INT1_THS_ZL 0x36 |
Definition at line 58 of file l3g4200d-regs.h.
#define L3G4200D_REG_OUT_TEMP 0x26 |
Definition at line 42 of file l3g4200d-regs.h.
#define L3G4200D_REG_OUT_X_H 0x29 |
Definition at line 45 of file l3g4200d-regs.h.
#define L3G4200D_REG_OUT_X_L 0x28 |
Definition at line 44 of file l3g4200d-regs.h.
#define L3G4200D_REG_OUT_Y_H 0x2b |
Definition at line 47 of file l3g4200d-regs.h.
#define L3G4200D_REG_OUT_Y_L 0x2a |
Definition at line 46 of file l3g4200d-regs.h.
#define L3G4200D_REG_OUT_Z_H 0x2d |
Definition at line 49 of file l3g4200d-regs.h.
#define L3G4200D_REG_OUT_Z_L 0x2c |
Definition at line 48 of file l3g4200d-regs.h.
#define L3G4200D_REG_REF 0x25 |
Definition at line 41 of file l3g4200d-regs.h.
#define L3G4200D_REG_STATUS 0x27 |
Definition at line 43 of file l3g4200d-regs.h.
#define L3G4200D_REG_WHO_AM_I 0x0f |
Definition at line 35 of file l3g4200d-regs.h.