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

#include <MPU6050.hh>

Collaboration diagram for MPU6050::user_ctrl_t:
Collaboration graph

Public Member Functions

 user_ctrl_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As a byte. More...
 
struct {
   uint8_t   SIG_COND_RESET:1
 < As bitfields. More...
 
   uint8_t   I2C_MST_RESET:1
 Reset I2C Master. More...
 
   uint8_t   FIFO_RESET:1
 Reset FIFO buffer. More...
 
   uint8_t   reserved1:1
 
   uint8_t   I2C_IF_DIS:1
 Zero. More...
 
   uint8_t   I2C_MST_EN:1
 Enable I2C Master. More...
 
   uint8_t   FIFO_EN:1
 Enable FIFO. More...
 
   uint8_t   reserved2:1
 
}; 
 

Detailed Description

Register USER_CTRL bitfields.

Definition at line 399 of file MPU6050.hh.

Constructor & Destructor Documentation

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

Definition at line 411 of file MPU6050.hh.

Member Function Documentation

MPU6050::user_ctrl_t::operator uint8_t ( )
inline

Definition at line 415 of file MPU6050.hh.

Member Data Documentation

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

As a byte.

Definition at line 400 of file MPU6050.hh.

uint8_t MPU6050::user_ctrl_t::FIFO_EN

Enable FIFO.

Definition at line 408 of file MPU6050.hh.

uint8_t MPU6050::user_ctrl_t::FIFO_RESET

Reset FIFO buffer.

Definition at line 404 of file MPU6050.hh.

uint8_t MPU6050::user_ctrl_t::I2C_IF_DIS

Zero.

Definition at line 406 of file MPU6050.hh.

uint8_t MPU6050::user_ctrl_t::I2C_MST_EN

Enable I2C Master.

Definition at line 407 of file MPU6050.hh.

uint8_t MPU6050::user_ctrl_t::I2C_MST_RESET

Reset I2C Master.

Definition at line 403 of file MPU6050.hh.

uint8_t MPU6050::user_ctrl_t::reserved1

Definition at line 405 of file MPU6050.hh.

uint8_t MPU6050::user_ctrl_t::reserved2

Definition at line 409 of file MPU6050.hh.

uint8_t MPU6050::user_ctrl_t::SIG_COND_RESET

< As bitfields.

Reset all signal paths.

Definition at line 402 of file MPU6050.hh.


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