Paparazzi UAS  v5.15_devel-111-g8fb4629
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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

#define LIS302DL_REG_CTRL_REG1   0x20

Definition at line 33 of file lis302dl_regs.h.

Referenced by lis302dl_spi_send_config().

#define LIS302DL_REG_CTRL_REG2   0x21

Definition at line 34 of file lis302dl_regs.h.

Referenced by lis302dl_spi_send_config().

#define LIS302DL_REG_CTRL_REG3   0x22

Definition at line 35 of file lis302dl_regs.h.

Referenced by lis302dl_spi_send_config().

#define LIS302DL_REG_OUTX   0x29

Definition at line 37 of file lis302dl_regs.h.

#define LIS302DL_REG_OUTY   0x2B

Definition at line 38 of file lis302dl_regs.h.

#define LIS302DL_REG_OUTZ   0x2D

Definition at line 39 of file lis302dl_regs.h.

#define LIS302DL_REG_STATUS   0x27

Definition at line 36 of file lis302dl_regs.h.

Referenced by lis302dl_spi_read().

#define LIS302DL_REG_WHO_AM_I   0x0F

Definition at line 32 of file lis302dl_regs.h.

Referenced by lis302dl_spi_send_config().

#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.

Referenced by lis302dl_spi_event().

Enumeration Type Documentation

Enumerator
LIS302DL_RANGE_2G 
LIS302DL_RANGE_8G 

Definition at line 49 of file lis302dl_regs.h.

Enumerator
LIS302DL_RATE_100HZ 
LIS302DL_RATE_400HZ 

Definition at line 44 of file lis302dl_regs.h.