Loading...
Searching...
No Matches

Event interrupt sources (axis movement and wake-up) More...

Detailed Description

Event interrupt sources (axis movement and wake-up)

Definition at line 1296 of file l3gxxxx.h.

#include <l3gxxxx.h>

Data Fields

struct { 
 
   uint8_t   x_low:1 
 true on |X| < X threshold (X low event) More...
 
   uint8_t   x_high:1 
 true on |X| > X threshold (X high event) More...
 
   uint8_t   y_low:1 
 true on |Y| < Y threshold (Y low event) More...
 
   uint8_t   y_high:1 
 true on |Y| > Y threshold (Y high event) More...
 
   uint8_t   z_low:1 
 true on |Z| < Z threshold (Z low event) More...
 
   uint8_t   z_high:1 
 true on |Z| > Z threshold (Z high event) More...
 
   uint8_t   active:1 
 true when one or more events have been generated More...
 
   uint8_t   unused:1 
 not used More...
 
};  
 
uint8_t val
 event interrupt sources as value that can be used for bitwise operations
 

Field Documentation

◆ active

uint8_t l3gxxxx_int_event_src_t::active

true when one or more events have been generated

Definition at line 1304 of file l3gxxxx.h.

◆ unused

uint8_t l3gxxxx_int_event_src_t::unused

not used

Definition at line 1305 of file l3gxxxx.h.

◆ val

uint8_t l3gxxxx_int_event_src_t::val

event interrupt sources as value that can be used for bitwise operations

Definition at line 1307 of file l3gxxxx.h.

◆ x_high

uint8_t l3gxxxx_int_event_src_t::x_high

true on |X| > X threshold (X high event)

Definition at line 1299 of file l3gxxxx.h.

◆ x_low

uint8_t l3gxxxx_int_event_src_t::x_low

true on |X| < X threshold (X low event)

Definition at line 1298 of file l3gxxxx.h.

◆ y_high

uint8_t l3gxxxx_int_event_src_t::y_high

true on |Y| > Y threshold (Y high event)

Definition at line 1301 of file l3gxxxx.h.

◆ y_low

uint8_t l3gxxxx_int_event_src_t::y_low

true on |Y| < Y threshold (Y low event)

Definition at line 1300 of file l3gxxxx.h.

◆ z_high

uint8_t l3gxxxx_int_event_src_t::z_high

true on |Z| > Z threshold (Z high event)

Definition at line 1303 of file l3gxxxx.h.

◆ z_low

uint8_t l3gxxxx_int_event_src_t::z_low

true on |Z| < Z threshold (Z low event)

Definition at line 1302 of file l3gxxxx.h.


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