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

#include <MPU6050.hh>

Collaboration diagram for MPU6050::pwr_mgmt_1_t:
Collaboration graph

Public Member Functions

 pwr_mgmt_1_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As a byte. More...
 
struct {
   uint8_t   CLKSEL:3
 < As bitfields. More...
 
   uint8_t   TEMP_DIS:1
 Disable temperature sensor. More...
 
   uint8_t   reserved:1
 
   uint8_t   CYCLE:1
 Sleep and wakeup. More...
 
   uint8_t   SLP:1
 Sleep. More...
 
   uint8_t   DEVICE_RESET:1
 Reset. More...
 
}; 
 

Detailed Description

Register PWR_MGMT_1 bitfields.

Definition at line 424 of file MPU6050.hh.

Constructor & Destructor Documentation

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

Definition at line 434 of file MPU6050.hh.

Member Function Documentation

MPU6050::pwr_mgmt_1_t::operator uint8_t ( )
inline

Definition at line 438 of file MPU6050.hh.

Member Data Documentation

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

As a byte.

Definition at line 425 of file MPU6050.hh.

uint8_t MPU6050::pwr_mgmt_1_t::CLKSEL

< As bitfields.

Clock select.

Definition at line 427 of file MPU6050.hh.

uint8_t MPU6050::pwr_mgmt_1_t::CYCLE

Sleep and wakeup.

Definition at line 430 of file MPU6050.hh.

uint8_t MPU6050::pwr_mgmt_1_t::DEVICE_RESET

Reset.

Definition at line 432 of file MPU6050.hh.

uint8_t MPU6050::pwr_mgmt_1_t::reserved

Definition at line 429 of file MPU6050.hh.

uint8_t MPU6050::pwr_mgmt_1_t::SLP

Sleep.

Definition at line 431 of file MPU6050.hh.

uint8_t MPU6050::pwr_mgmt_1_t::TEMP_DIS

Disable temperature sensor.

Definition at line 428 of file MPU6050.hh.


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