Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
itg3200_regs.h File Reference

Register defs for ITG3200 and IMU3000 gyros. More...

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

Go to the source code of this file.

Macros

#define ITG3200_ADDR   0xD0
 
#define ITG3200_ADDR_ALT   0xD2
 
#define ITG3200_REG_WHO_AM_I   0X00
 
#define ITG3200_REG_SMPLRT_DIV   0X15
 
#define ITG3200_REG_DLPF_FS   0X16
 
#define ITG3200_REG_INT_CFG   0X17
 
#define ITG3200_REG_INT_STATUS   0X1A
 
#define ITG3200_REG_TEMP_OUT_H   0X1B
 
#define ITG3200_REG_TEMP_OUT_L   0X1C
 
#define ITG3200_REG_GYRO_XOUT_H   0X1D
 
#define ITG3200_REG_GYRO_XOUT_L   0X1E
 
#define ITG3200_REG_GYRO_YOUT_H   0X1F
 
#define ITG3200_REG_GYRO_YOUT_L   0X20
 
#define ITG3200_REG_GYRO_ZOUT_H   0X21
 
#define ITG3200_REG_GYRO_ZOUT_L   0X22
 
#define ITG3200_REG_PWR_MGM   0X3E
 

Enumerations

enum  Itg3200DLPF {
  ITG3200_DLPF_256HZ = 0x0, ITG3200_DLPF_188HZ = 0x1, ITG3200_DLPF_98HZ = 0x2, ITG3200_DLPF_42HZ = 0x3,
  ITG3200_DLPF_20HZ = 0x4, ITG3200_DLPF_10HZ = 0x5, ITG3200_DLPF_05HZ = 0x6
}
 Digital Low Pass Filter Options. More...
 

Detailed Description

Register defs for ITG3200 and IMU3000 gyros.

Definition in file itg3200_regs.h.

Macro Definition Documentation

#define ITG3200_ADDR   0xD0

Definition at line 31 of file itg3200_regs.h.

Referenced by exti2_irq_handler(), imu_impl_init(), and main_periodic_task().

#define ITG3200_ADDR_ALT   0xD2

Definition at line 32 of file itg3200_regs.h.

Referenced by imu_impl_init().

#define ITG3200_REG_DLPF_FS   0X16

Definition at line 37 of file itg3200_regs.h.

Referenced by itg3200_send_config(), and main_periodic_task().

#define ITG3200_REG_GYRO_XOUT_H   0X1D

Definition at line 42 of file itg3200_regs.h.

#define ITG3200_REG_GYRO_XOUT_L   0X1E

Definition at line 43 of file itg3200_regs.h.

#define ITG3200_REG_GYRO_YOUT_H   0X1F

Definition at line 44 of file itg3200_regs.h.

#define ITG3200_REG_GYRO_YOUT_L   0X20

Definition at line 45 of file itg3200_regs.h.

#define ITG3200_REG_GYRO_ZOUT_H   0X21

Definition at line 46 of file itg3200_regs.h.

#define ITG3200_REG_GYRO_ZOUT_L   0X22

Definition at line 47 of file itg3200_regs.h.

#define ITG3200_REG_INT_CFG   0X17

Definition at line 38 of file itg3200_regs.h.

Referenced by itg3200_send_config(), and main_periodic_task().

#define ITG3200_REG_INT_STATUS   0X1A

Definition at line 39 of file itg3200_regs.h.

Referenced by itg3200_read().

#define ITG3200_REG_PWR_MGM   0X3E

Definition at line 48 of file itg3200_regs.h.

Referenced by itg3200_send_config(), and main_periodic_task().

#define ITG3200_REG_SMPLRT_DIV   0X15

Definition at line 36 of file itg3200_regs.h.

Referenced by itg3200_send_config(), and main_periodic_task().

#define ITG3200_REG_TEMP_OUT_H   0X1B

Definition at line 40 of file itg3200_regs.h.

Referenced by exti2_irq_handler(), main_event_task(), and main_periodic_task().

#define ITG3200_REG_TEMP_OUT_L   0X1C

Definition at line 41 of file itg3200_regs.h.

#define ITG3200_REG_WHO_AM_I   0X00

Definition at line 35 of file itg3200_regs.h.

Enumeration Type Documentation

Digital Low Pass Filter Options.

Enumerator
ITG3200_DLPF_256HZ 
ITG3200_DLPF_188HZ 
ITG3200_DLPF_98HZ 
ITG3200_DLPF_42HZ 
ITG3200_DLPF_20HZ 
ITG3200_DLPF_10HZ 
ITG3200_DLPF_05HZ 

Definition at line 51 of file itg3200_regs.h.