Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
lis302dl_regs.h File Reference

ST LIS302DL 3-axis accelerometer register definitions. More...

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

Go to the source code of this file.

Macros

#define LIS302DL_REG_WHO_AM_I   0x0F
 
#define LIS302DL_REG_CTRL_REG1   0x20
 
#define LIS302DL_REG_CTRL_REG2   0x21
 
#define LIS302DL_REG_CTRL_REG3   0x22
 
#define LIS302DL_REG_STATUS   0x27
 
#define LIS302DL_REG_OUTX   0x29
 
#define LIS302DL_REG_OUTY   0x2B
 
#define LIS302DL_REG_OUTZ   0x2D
 
#define LIS302DL_WHO_AM_I   0x3B
 LIS302DL device identifier contained in LIS302DL_REG_WHO_AM_I. More...
 

Enumerations

enum  Lis302dlRates { LIS302DL_RATE_100HZ = 0 , LIS302DL_RATE_400HZ = 1 }
 
enum  Lis302dlRanges { LIS302DL_RANGE_2G = 0 , LIS302DL_RANGE_8G = 1 }
 

Detailed Description

ST LIS302DL 3-axis accelerometer register definitions.

Definition in file lis302dl_regs.h.

Macro Definition Documentation

◆ LIS302DL_REG_CTRL_REG1

#define LIS302DL_REG_CTRL_REG1   0x20

Definition at line 33 of file lis302dl_regs.h.

◆ LIS302DL_REG_CTRL_REG2

#define LIS302DL_REG_CTRL_REG2   0x21

Definition at line 34 of file lis302dl_regs.h.

◆ LIS302DL_REG_CTRL_REG3

#define LIS302DL_REG_CTRL_REG3   0x22

Definition at line 35 of file lis302dl_regs.h.

◆ LIS302DL_REG_OUTX

#define LIS302DL_REG_OUTX   0x29

Definition at line 37 of file lis302dl_regs.h.

◆ LIS302DL_REG_OUTY

#define LIS302DL_REG_OUTY   0x2B

Definition at line 38 of file lis302dl_regs.h.

◆ LIS302DL_REG_OUTZ

#define LIS302DL_REG_OUTZ   0x2D

Definition at line 39 of file lis302dl_regs.h.

◆ LIS302DL_REG_STATUS

#define LIS302DL_REG_STATUS   0x27

Definition at line 36 of file lis302dl_regs.h.

◆ LIS302DL_REG_WHO_AM_I

#define LIS302DL_REG_WHO_AM_I   0x0F

Definition at line 32 of file lis302dl_regs.h.

◆ LIS302DL_WHO_AM_I

#define LIS302DL_WHO_AM_I   0x3B

LIS302DL device identifier contained in LIS302DL_REG_WHO_AM_I.

Definition at line 42 of file lis302dl_regs.h.

Enumeration Type Documentation

◆ Lis302dlRanges

Enumerator
LIS302DL_RANGE_2G 
LIS302DL_RANGE_8G 

Definition at line 49 of file lis302dl_regs.h.

◆ Lis302dlRates

Enumerator
LIS302DL_RATE_100HZ 
LIS302DL_RATE_400HZ 

Definition at line 44 of file lis302dl_regs.h.