COSA
An Object-Oriented Platform for Arduino Programming
MPU6050::pwr_mgmt_2_t Union Reference

#include <MPU6050.hh>

Collaboration diagram for MPU6050::pwr_mgmt_2_t:
Collaboration graph

Public Member Functions

 pwr_mgmt_2_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As a byte. More...
 
struct {
   uint8_t   STBY_ZG:1
 < As bitfields. More...
 
   uint8_t   STBY_YG:1
 Standby mode. More...
 
   uint8_t   STBY_XG:1
 Standby mode. More...
 
   uint8_t   STBY_ZA:1
 Standby mode. More...
 
   uint8_t   STBY_YA:1
 Standby mode. More...
 
   uint8_t   STBY_XA:1
 Standby mode. More...
 
   uint8_t   LP_WAKE_CTRL:2
 Low Power wake-up frequency. More...
 
}; 
 

Detailed Description

Register PWR_MGMT_2 bitfields.

Definition at line 461 of file MPU6050.hh.

Constructor & Destructor Documentation

MPU6050::pwr_mgmt_2_t::pwr_mgmt_2_t ( uint8_t  value = 0)
inline

Definition at line 472 of file MPU6050.hh.

Member Function Documentation

MPU6050::pwr_mgmt_2_t::operator uint8_t ( )
inline

Definition at line 476 of file MPU6050.hh.

Member Data Documentation

struct { ... }
uint8_t MPU6050::pwr_mgmt_2_t::as_uint8

As a byte.

Definition at line 462 of file MPU6050.hh.

uint8_t MPU6050::pwr_mgmt_2_t::LP_WAKE_CTRL

Low Power wake-up frequency.

Definition at line 470 of file MPU6050.hh.

uint8_t MPU6050::pwr_mgmt_2_t::STBY_XA

Standby mode.

Definition at line 469 of file MPU6050.hh.

uint8_t MPU6050::pwr_mgmt_2_t::STBY_XG

Standby mode.

Definition at line 466 of file MPU6050.hh.

uint8_t MPU6050::pwr_mgmt_2_t::STBY_YA

Standby mode.

Definition at line 468 of file MPU6050.hh.

uint8_t MPU6050::pwr_mgmt_2_t::STBY_YG

Standby mode.

Definition at line 465 of file MPU6050.hh.

uint8_t MPU6050::pwr_mgmt_2_t::STBY_ZA

Standby mode.

Definition at line 467 of file MPU6050.hh.

uint8_t MPU6050::pwr_mgmt_2_t::STBY_ZG

< As bitfields.

Standby mode.

Definition at line 464 of file MPU6050.hh.


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