COSA
An Object-Oriented Platform for Arduino Programming
L3G4200D::int1_cfg_t Union Reference

#include <L3G4200D.hh>

Collaboration diagram for L3G4200D::int1_cfg_t:
Collaboration graph

Public Member Functions

 int1_cfg_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As a byte. More...
 
struct {
   uint8_t   XLIE:1
 < As bitfields. More...
 
   uint8_t   XHIE:1
 Enable interrupt generation on X high. More...
 
   uint8_t   YLIE:1
 Enable interrupt generation on Y low. More...
 
   uint8_t   YHIE:1
 Enable interrupt generation on Y high. More...
 
   uint8_t   ZLIE:1
 Enable interrupt generation on Z low. More...
 
   uint8_t   ZHIE:1
 Enable interrupt generation on Z high. More...
 
   uint8_t   LIR:1
 Latch Interrup Request. More...
 
   uint8_t   AND_OR:1
 AND/OR combination of interrupt events. More...
 
}; 
 

Detailed Description

Register INT1_CFG bitfields.

Definition at line 342 of file L3G4200D.hh.

Constructor & Destructor Documentation

L3G4200D::int1_cfg_t::int1_cfg_t ( uint8_t  value = 0)
inline

Definition at line 354 of file L3G4200D.hh.

Member Function Documentation

L3G4200D::int1_cfg_t::operator uint8_t ( )
inline

Definition at line 358 of file L3G4200D.hh.

Member Data Documentation

struct { ... }
uint8_t L3G4200D::int1_cfg_t::AND_OR

AND/OR combination of interrupt events.

Definition at line 352 of file L3G4200D.hh.

uint8_t L3G4200D::int1_cfg_t::as_uint8

As a byte.

Definition at line 343 of file L3G4200D.hh.

uint8_t L3G4200D::int1_cfg_t::LIR

Latch Interrup Request.

Definition at line 351 of file L3G4200D.hh.

uint8_t L3G4200D::int1_cfg_t::XHIE

Enable interrupt generation on X high.

Definition at line 346 of file L3G4200D.hh.

uint8_t L3G4200D::int1_cfg_t::XLIE

< As bitfields.

Enable interrupt generation on X low.

Definition at line 345 of file L3G4200D.hh.

uint8_t L3G4200D::int1_cfg_t::YHIE

Enable interrupt generation on Y high.

Definition at line 348 of file L3G4200D.hh.

uint8_t L3G4200D::int1_cfg_t::YLIE

Enable interrupt generation on Y low.

Definition at line 347 of file L3G4200D.hh.

uint8_t L3G4200D::int1_cfg_t::ZHIE

Enable interrupt generation on Z high.

Definition at line 350 of file L3G4200D.hh.

uint8_t L3G4200D::int1_cfg_t::ZLIE

Enable interrupt generation on Z low.

Definition at line 349 of file L3G4200D.hh.


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