COSA
An Object-Oriented Platform for Arduino Programming
L3G4200D::int1_src_t Struct Reference

#include <L3G4200D.hh>

Collaboration diagram for L3G4200D::int1_src_t:
Collaboration graph

Public Member Functions

 int1_src_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As a byte. More...
 
struct {
   uint8_t   XL:1
 < As bitfields. More...
 
   uint8_t   XH:1
 X high. More...
 
   uint8_t   YL:1
 Y low. More...
 
   uint8_t   YH:1
 Y high. More...
 
   uint8_t   ZL:1
 Z low. More...
 
   uint8_t   ZH:1
 Z high. More...
 
   uint8_t   IA:1
 Interrupt active. More...
 
   uint8_t   reserved:1
 
}; 
 

Detailed Description

Register INT1_SRC bitfields.

Definition at line 367 of file L3G4200D.hh.

Constructor & Destructor Documentation

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

Definition at line 379 of file L3G4200D.hh.

Member Function Documentation

L3G4200D::int1_src_t::operator uint8_t ( )
inline

Definition at line 383 of file L3G4200D.hh.

Member Data Documentation

struct { ... }
uint8_t L3G4200D::int1_src_t::as_uint8

As a byte.

Definition at line 368 of file L3G4200D.hh.

uint8_t L3G4200D::int1_src_t::IA

Interrupt active.

Definition at line 376 of file L3G4200D.hh.

uint8_t L3G4200D::int1_src_t::reserved

Definition at line 377 of file L3G4200D.hh.

uint8_t L3G4200D::int1_src_t::XH

X high.

Definition at line 371 of file L3G4200D.hh.

uint8_t L3G4200D::int1_src_t::XL

< As bitfields.

X low.

Definition at line 370 of file L3G4200D.hh.

uint8_t L3G4200D::int1_src_t::YH

Y high.

Definition at line 373 of file L3G4200D.hh.

uint8_t L3G4200D::int1_src_t::YL

Y low.

Definition at line 372 of file L3G4200D.hh.

uint8_t L3G4200D::int1_src_t::ZH

Z high.

Definition at line 375 of file L3G4200D.hh.

uint8_t L3G4200D::int1_src_t::ZL

Z low.

Definition at line 374 of file L3G4200D.hh.


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