Mask definitions to simplify coding with the Parallax LIS3DH 3-Axis Accelerometer Module.
More...
|
#define | LIS3DH_MASK_READSINGLE 0x80 |
|
#define | LIS3DH_MASK_READREPEAT 0xC0 |
|
#define | LIS3DH_MASK_BDUMODE 0x80 |
|
#define | LIS3DH_MASK_SPIMODE 0x01 |
|
#define | LIS3DH_RANGE_16 0x03 |
|
#define | LIS3DH_RANGE_8 0x02 |
|
#define | LIS3DH_RANGE_4 0x01 |
|
#define | LIS3DH_RANGE_2 0x00 |
|
#define | LIS3DH_AXIS_X 0b01 |
|
#define | LIS3DH_AXIS_Y 0b10 |
|
#define | LIS3DH_AXIS_Z 0b11 |
|
#define | LIS3DH_ADC_1 0b01 |
|
#define | LIS3DH_ADC_2 0b10 |
|
#define | LIS3DH_ADC_3 0b11 |
|
#define | LIS3DH_SPIMODE_3 0b01 |
|
#define | LIS3DH_SPIMODE_4 0b00 |
|
#define | LIS3DH_BDUMODE_CONTINUOUS 0b01 |
|
#define | LIS3DH_BDUMODE_CONSISTENT 0b00 |
|
Mask definitions to simplify coding with the Parallax LIS3DH 3-Axis Accelerometer Module.