COSA
An Object-Oriented Platform for Arduino Programming
|
#include <L3G4200D.hh>
Public Member Functions | |
ctrl_reg1_t (uint8_t value=0) | |
operator uint8_t () | |
Public Attributes | |
uint8_t | as_uint8 |
As a byte. More... | |
struct { | |
uint8_t Xen:1 | |
< As bitfields. More... | |
uint8_t Yen:1 | |
Y axis enable. More... | |
uint8_t Zen:1 | |
Z axis enable. More... | |
uint8_t PD:1 | |
Power down enable. More... | |
uint8_t BW:2 | |
Bandwidth selection. More... | |
uint8_t DR:2 | |
Output Data Rate selection. More... | |
}; | |
Register CTRL_REG1 bitfields.
Definition at line 140 of file L3G4200D.hh.
|
inline |
Definition at line 150 of file L3G4200D.hh.
|
inline |
Definition at line 154 of file L3G4200D.hh.
struct { ... } |
uint8_t L3G4200D::ctrl_reg1_t::as_uint8 |
As a byte.
Definition at line 141 of file L3G4200D.hh.
uint8_t L3G4200D::ctrl_reg1_t::BW |
Bandwidth selection.
Definition at line 147 of file L3G4200D.hh.
uint8_t L3G4200D::ctrl_reg1_t::DR |
Output Data Rate selection.
Definition at line 148 of file L3G4200D.hh.
uint8_t L3G4200D::ctrl_reg1_t::PD |
Power down enable.
Definition at line 146 of file L3G4200D.hh.
uint8_t L3G4200D::ctrl_reg1_t::Xen |
uint8_t L3G4200D::ctrl_reg1_t::Yen |
Y axis enable.
Definition at line 144 of file L3G4200D.hh.
uint8_t L3G4200D::ctrl_reg1_t::Zen |
Z axis enable.
Definition at line 145 of file L3G4200D.hh.