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

#include <L3G4200D.hh>

Collaboration diagram for L3G4200D::fifo_ctrl_reg_t:
Collaboration graph

Public Member Functions

 fifo_ctrl_reg_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As a byte. More...
 
struct {
   uint8_t   WTM:5
 < As bitfields. More...
 
   uint8_t   FM:3
 FIFO mode selection. More...
 
}; 
 

Detailed Description

Register FIFO_CTRL_REG bitfields.

Definition at line 295 of file L3G4200D.hh.

Constructor & Destructor Documentation

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

Definition at line 301 of file L3G4200D.hh.

Member Function Documentation

L3G4200D::fifo_ctrl_reg_t::operator uint8_t ( )
inline

Definition at line 305 of file L3G4200D.hh.

Member Data Documentation

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

As a byte.

Definition at line 296 of file L3G4200D.hh.

uint8_t L3G4200D::fifo_ctrl_reg_t::FM

FIFO mode selection.

Definition at line 299 of file L3G4200D.hh.

uint8_t L3G4200D::fifo_ctrl_reg_t::WTM

< As bitfields.

FIFO threshold. Watermark level setting.

Definition at line 298 of file L3G4200D.hh.


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