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

#include <MPU6050.hh>

Collaboration diagram for MPU6050::int_enable_t:
Collaboration graph

Public Member Functions

 int_enable_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As a byte. More...
 
struct {
   uint8_t   DATA_RDY_EN:1
 < As bitfields. More...
 
   uint8_t   reserved1:2
 Reserved-1. More...
 
   uint8_t   I2C_MST_INT_EN:1
 Enable I2C Master interrupt. More...
 
   uint8_t   FIFO_OFLOW_EN:1
 Enable FIFO buffer overflow. More...
 
   uint8_t   reserved2:3
 Reserved-2. More...
 
}; 
 

Detailed Description

Register INT_ENABLE bitfields.

Definition at line 334 of file MPU6050.hh.

Constructor & Destructor Documentation

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

Definition at line 343 of file MPU6050.hh.

Member Function Documentation

MPU6050::int_enable_t::operator uint8_t ( )
inline

Definition at line 347 of file MPU6050.hh.

Member Data Documentation

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

As a byte.

Definition at line 335 of file MPU6050.hh.

uint8_t MPU6050::int_enable_t::DATA_RDY_EN

< As bitfields.

Enable Data Ready interrupt.

Definition at line 337 of file MPU6050.hh.

uint8_t MPU6050::int_enable_t::FIFO_OFLOW_EN

Enable FIFO buffer overflow.

Definition at line 340 of file MPU6050.hh.

uint8_t MPU6050::int_enable_t::I2C_MST_INT_EN

Enable I2C Master interrupt.

Definition at line 339 of file MPU6050.hh.

uint8_t MPU6050::int_enable_t::reserved1

Reserved-1.

Definition at line 338 of file MPU6050.hh.

uint8_t MPU6050::int_enable_t::reserved2

Reserved-2.

Definition at line 341 of file MPU6050.hh.


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