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

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