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

#include <L3G4200D.hh>

Collaboration diagram for L3G4200D::ctrl_reg4_t:
Collaboration graph

Public Member Functions

 ctrl_reg4_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As a byte. More...
 
struct {
   uint8_t   SIM:1
 < As bitfields. More...
 
   uint8_t   ST:2
 Seft Test Enable. More...
 
   uint8_t   reserved:1
 
   uint8_t   FS:2
 Full Scale selection. More...
 
   uint8_t   BLE:1
 Big/Little Endian Data Selection. More...
 
   uint8_t   BDU:1
 Block Data Update. More...
 
}; 
 

Detailed Description

Register CTRL_REG4 bitfields.

Definition at line 225 of file L3G4200D.hh.

Constructor & Destructor Documentation

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

Definition at line 235 of file L3G4200D.hh.

Member Function Documentation

L3G4200D::ctrl_reg4_t::operator uint8_t ( )
inline

Definition at line 239 of file L3G4200D.hh.

Member Data Documentation

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

As a byte.

Definition at line 226 of file L3G4200D.hh.

uint8_t L3G4200D::ctrl_reg4_t::BDU

Block Data Update.

Definition at line 233 of file L3G4200D.hh.

uint8_t L3G4200D::ctrl_reg4_t::BLE

Big/Little Endian Data Selection.

Definition at line 232 of file L3G4200D.hh.

uint8_t L3G4200D::ctrl_reg4_t::FS

Full Scale selection.

Definition at line 231 of file L3G4200D.hh.

uint8_t L3G4200D::ctrl_reg4_t::reserved

Definition at line 230 of file L3G4200D.hh.

uint8_t L3G4200D::ctrl_reg4_t::SIM

< As bitfields.

SPI Serial Mode selection.

Definition at line 228 of file L3G4200D.hh.

uint8_t L3G4200D::ctrl_reg4_t::ST

Seft Test Enable.

Definition at line 229 of file L3G4200D.hh.


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