Adafruit ADXL343 Library
Public Attributes | List of all members
int_config Union Reference

#include <Adafruit_ADXL343.h>

Public Attributes

uint8_t value
 
struct {
   uint8_t   overrun: 1
 
   uint8_t   watermark: 1
 
   uint8_t   freefall: 1
 
   uint8_t   inactivity: 1
 
   uint8_t   activity: 1
 
   uint8_t   double_tap: 1
 
   uint8_t   single_tap: 1
 
   uint8_t   data_ready: 1
 
bits
 

Detailed Description

Possible interrupts sources on the ADXL343.

Member Data Documentation

◆ value

uint8_t int_config::value

Composite 8-bit value of the bitfield.

◆ overrun

uint8_t int_config::overrun

Bit 0

◆ watermark

uint8_t int_config::watermark

Bit 1

◆ freefall

uint8_t int_config::freefall

Bit 2

◆ inactivity

uint8_t int_config::inactivity

Bit 3

◆ activity

uint8_t int_config::activity

Bit 4

◆ double_tap

uint8_t int_config::double_tap

Bit 5

◆ single_tap

uint8_t int_config::single_tap

Bit 6

◆ data_ready

uint8_t int_config::data_ready

Bit 7

◆ bits

struct { ... } int_config::bits

Individual bits in the bitfield.


The documentation for this union was generated from the following file: