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

#include <L3G4200D.hh>

Collaboration diagram for L3G4200D::ctrl_reg2_t:
Collaboration graph

Public Member Functions

 ctrl_reg2_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As a byte. More...
 
struct {
   uint8_t   HPCF:4
 < As bitfields. More...
 
   uint8_t   HPM:2
 High Pass filter Mode Selection. More...
 
   uint8_t   reserved:2
 Zero. More...
 
}; 
 

Detailed Description

Register CTRL_REG2 bitfields.

Definition at line 175 of file L3G4200D.hh.

Constructor & Destructor Documentation

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

Definition at line 182 of file L3G4200D.hh.

Member Function Documentation

L3G4200D::ctrl_reg2_t::operator uint8_t ( )
inline

Definition at line 186 of file L3G4200D.hh.

Member Data Documentation

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

As a byte.

Definition at line 176 of file L3G4200D.hh.

uint8_t L3G4200D::ctrl_reg2_t::HPCF

< As bitfields.

High Pass filter Cut Off frequency.

Definition at line 178 of file L3G4200D.hh.

uint8_t L3G4200D::ctrl_reg2_t::HPM

High Pass filter Mode Selection.

Definition at line 179 of file L3G4200D.hh.

uint8_t L3G4200D::ctrl_reg2_t::reserved

Zero.

Definition at line 180 of file L3G4200D.hh.


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