Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
l3g4200_regs.h File Reference

Register defs for L3G4200 gyros. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define L3G4200_ADDR   0xD2
 
#define L3G4200_ADDR_ALT   0xD0
 
#define L3G4200_WHO_AM_I   0x0F
 
#define L3G4200_REG_CTRL_REG1   0x20
 
#define L3G4200_REG_CTRL_REG2   0x21
 
#define L3G4200_REG_CTRL_REG3   0x22
 
#define L3G4200_REG_CTRL_REG4   0x23
 
#define L3G4200_REG_CTRL_REG5   0x24
 
#define L3G4200_REG_REFERENCE   0x25
 
#define L3G4200_REG_OUT_TEMP   0x26
 
#define L3G4200_REG_STATUS_REG   0x27
 
#define L3G4200_REG_OUT_X_L   0x28
 
#define L3G4200_REG_OUT_X_H   0x29
 
#define L3G4200_REG_OUT_Y_L   0x2A
 
#define L3G4200_REG_OUT_Y_H   0x2B
 
#define L3G4200_REG_OUT_Z_L   0x2C
 
#define L3G4200_REG_OUT_Z_H   0x2D
 
#define L3G4200_REG_FIFO_CTRL_REG   0x2E
 
#define L3G4200_REG_FIFO_SRC_REG   0x2F
 
#define L3G4200_REG_INT1_CFG   0x30
 
#define L3G4200_REG_INT1_SRC   0x31
 
#define L3G4200_REG_INT1_THS_XH   0x32
 
#define L3G4200_REG_INT1_THS_XL   0x33
 
#define L3G4200_REG_INT1_THS_YH   0x34
 
#define L3G4200_REG_INT1_THS_YL   0x35
 
#define L3G4200_REG_INT1_THS_ZH   0x36
 
#define L3G4200_REG_INT1_THS_ZL   0x37
 
#define L3G4200_REG_INT1_DURATION   0x38
 

Enumerations

enum  L3g4200_DR { L3G4200_DR_100Hz = 0x0, L3G4200_DR_200Hz = 0x1, L3G4200_DR_400Hz = 0x2, L3G4200_DR_800Hz = 0x3 }
 Output Data Rate Options. More...
 
enum  L3g4200_DLPF { L3G4200_DLPF_1 = 0x0, L3G4200_DLPF_2 = 0x1, L3G4200_DLPF_3 = 0x2, L3G4200_DLPF_4 = 0x3 }
 Digital Low Pass Filter Options. More...
 
enum  L3g4200_SCALE { L3G4200_SCALE_250 = 0x0, L3G4200_SCALE_500 = 0x1, L3G4200_SCALE_2000 = 0x2 }
 

Detailed Description

Register defs for L3G4200 gyros.

Definition in file l3g4200_regs.h.

Macro Definition Documentation

#define L3G4200_ADDR   0xD2

Definition at line 31 of file l3g4200_regs.h.

#define L3G4200_ADDR_ALT   0xD0

Definition at line 32 of file l3g4200_regs.h.

Referenced by imu_impl_init().

#define L3G4200_REG_CTRL_REG1   0x20

Definition at line 37 of file l3g4200_regs.h.

Referenced by l3g4200_send_config().

#define L3G4200_REG_CTRL_REG2   0x21

Definition at line 38 of file l3g4200_regs.h.

#define L3G4200_REG_CTRL_REG3   0x22

Definition at line 39 of file l3g4200_regs.h.

#define L3G4200_REG_CTRL_REG4   0x23

Definition at line 40 of file l3g4200_regs.h.

Referenced by l3g4200_send_config().

#define L3G4200_REG_CTRL_REG5   0x24

Definition at line 41 of file l3g4200_regs.h.

Referenced by l3g4200_send_config().

#define L3G4200_REG_FIFO_CTRL_REG   0x2E

Definition at line 53 of file l3g4200_regs.h.

#define L3G4200_REG_FIFO_SRC_REG   0x2F

Definition at line 54 of file l3g4200_regs.h.

#define L3G4200_REG_INT1_CFG   0x30

Definition at line 56 of file l3g4200_regs.h.

#define L3G4200_REG_INT1_DURATION   0x38

Definition at line 64 of file l3g4200_regs.h.

#define L3G4200_REG_INT1_SRC   0x31

Definition at line 57 of file l3g4200_regs.h.

#define L3G4200_REG_INT1_THS_XH   0x32

Definition at line 58 of file l3g4200_regs.h.

#define L3G4200_REG_INT1_THS_XL   0x33

Definition at line 59 of file l3g4200_regs.h.

#define L3G4200_REG_INT1_THS_YH   0x34

Definition at line 60 of file l3g4200_regs.h.

#define L3G4200_REG_INT1_THS_YL   0x35

Definition at line 61 of file l3g4200_regs.h.

#define L3G4200_REG_INT1_THS_ZH   0x36

Definition at line 62 of file l3g4200_regs.h.

#define L3G4200_REG_INT1_THS_ZL   0x37

Definition at line 63 of file l3g4200_regs.h.

#define L3G4200_REG_OUT_TEMP   0x26

Definition at line 43 of file l3g4200_regs.h.

#define L3G4200_REG_OUT_X_H   0x29

Definition at line 47 of file l3g4200_regs.h.

#define L3G4200_REG_OUT_X_L   0x28

Definition at line 46 of file l3g4200_regs.h.

#define L3G4200_REG_OUT_Y_H   0x2B

Definition at line 49 of file l3g4200_regs.h.

#define L3G4200_REG_OUT_Y_L   0x2A

Definition at line 48 of file l3g4200_regs.h.

#define L3G4200_REG_OUT_Z_H   0x2D

Definition at line 51 of file l3g4200_regs.h.

#define L3G4200_REG_OUT_Z_L   0x2C

Definition at line 50 of file l3g4200_regs.h.

#define L3G4200_REG_REFERENCE   0x25

Definition at line 42 of file l3g4200_regs.h.

#define L3G4200_REG_STATUS_REG   0x27

Definition at line 44 of file l3g4200_regs.h.

Referenced by l3g4200_read().

#define L3G4200_WHO_AM_I   0x0F

Definition at line 35 of file l3g4200_regs.h.

Enumeration Type Documentation

Digital Low Pass Filter Options.

Enumerator
L3G4200_DLPF_1 
L3G4200_DLPF_2 
L3G4200_DLPF_3 
L3G4200_DLPF_4 

Definition at line 75 of file l3g4200_regs.h.

enum L3g4200_DR

Output Data Rate Options.

Enumerator
L3G4200_DR_100Hz 
L3G4200_DR_200Hz 
L3G4200_DR_400Hz 
L3G4200_DR_800Hz 

Definition at line 67 of file l3g4200_regs.h.

Enumerator
L3G4200_SCALE_250 
L3G4200_SCALE_500 
L3G4200_SCALE_2000 

Definition at line 82 of file l3g4200_regs.h.