Nordic Thingy:52 v2.2.0
LIS3DH accelerometer

Definitions of LIS3DH constants. More...

Data Structures

struct  AccAxesRaw_t
 Acceleration data struct. More...
 

Enumerations

enum  AXISenable_t { X_ENABLE = 0x01, Y_ENABLE = 0x02, Z_ENABLE = 0x04 }
 Axis selection. More...
 
enum  ClickMode_t { ClickSingle = 0x00, ClickDouble = 0x01 }
 Click interrupt modes. More...
 
enum  Fullscale_t { FULLSCALE_2 = 0x00, FULLSCALE_4 = 0x01, FULLSCALE_8 = 0x02, FULLSCALE_16 = 0x03 }
 Acceleration ranges. More...
 
enum  HPFilterMode_t { HPNormalRes = 0x00, HPReference = 0x01, HPNormal = 0x02, HPAutoResInt = 0x03 }
 High-pass filter modes. More...
 
enum  IntMode_t {
  IntOR = 0x00, Int6DMov = 0x01, IntAND = 0x02, Int6DPos = 0x03,
  Int4DMov = 0x05, Int4DPos = 0x07
}
 Interrupt modes. More...
 
enum  IntPolarity_t { IntActiveHigh = 0x00, IntActiveLow = 0x02 }
 Interrupt pin polarity. More...
 
enum  Mode_t { POWER_DOWN = 0x00, LOW_POWER = 0x01, NORMAL = 0x02 }
 Operation modes. More...
 
enum  ODR_t {
  ODR_1Hz = 0x01, ODR_10Hz = 0x02, ODR_25Hz = 0x03, ODR_50Hz = 0x04,
  ODR_100Hz = 0x05, ODR_200Hz = 0x06, ODR_400Hz = 0x07, ODR_1620Hz_LP = 0x08,
  ODR_1344Hz_NP_5367HZ_LP = 0x09
}
 Output Data Rates (ODR). More...
 

Detailed Description

Definitions of LIS3DH constants.

Enumeration Type Documentation

◆ AXISenable_t

Axis selection.

Enumerator
X_ENABLE 

X axis enabled.

Y_ENABLE 

Y axis enabled.

Z_ENABLE 

Z axis enabled.

◆ ClickMode_t

Click interrupt modes.

Enumerator
ClickSingle 

Single-click interrupt.

ClickDouble 

Double-click interrupt.

◆ Fullscale_t

Acceleration ranges.

Enumerator
FULLSCALE_2 

2 G full scale.

FULLSCALE_4 

4 G full scale.

FULLSCALE_8 

8 G full scale.

FULLSCALE_16 

16 G full scale.

◆ HPFilterMode_t

High-pass filter modes.

Enumerator
HPNormalRes 

Normal mode, reference register reset when read.

HPReference 

Reference mode.

HPNormal 

Normal mode.

HPAutoResInt 

Autoreset upon interrupt.

◆ IntMode_t

enum IntMode_t

Interrupt modes.

Enumerator
IntOR 

Sources are ORed.

Int6DMov 

6 direction movement interrupt.

IntAND 

Sources are ANDed.

Int6DPos 

6 direction position change interrupt.

Int4DMov 

4 direction movement interrupt.

Int4DPos 

4 direction position interrupt.

◆ IntPolarity_t

Interrupt pin polarity.

Enumerator
IntActiveHigh 

Active hight interrupt.

IntActiveLow 

Active low interrupt.

◆ Mode_t

enum Mode_t

Operation modes.

Enumerator
POWER_DOWN 

Acclerometer powered down.

LOW_POWER 

Low power mode.

NORMAL 

Normal mode.

◆ ODR_t

enum ODR_t

Output Data Rates (ODR).

Enumerator
ODR_1Hz 

High resolution/normal/low power mode 1 Hz.

ODR_10Hz 

High resolution/normal/low power mode 10 Hz.

ODR_25Hz 

High resolution/normal/low power mode 25 Hz.

ODR_50Hz 

High resolution/normal/low power mode 50 Hz.

ODR_100Hz 

High resolution/normal/low power mode 100 Hz.

ODR_200Hz 

High resolution/normal/low power mode 200 Hz.

ODR_400Hz 

High resolution/normal/low power mode 400 Hz.

ODR_1620Hz_LP 

Low power mode, 1620 Hz.

ODR_1344Hz_NP_5367HZ_LP 

High resolution/normal mode 1344 Hz, low power mode 5376 Hz.