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

#include <MPU6050.hh>

Collaboration diagram for MPU6050::fifo_en_t:
Collaboration graph

Public Member Functions

 fifo_en_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As a byte. More...
 
struct {
   uint8_t   SLV0_FIFO_EN:1
 < As bitfields. More...
 
   uint8_t   SLV1_FIFO_EN:1
 Enable Slave 1 data. More...
 
   uint8_t   SLV2_FIFO_EN:1
 Enable Slave 2 data. More...
 
   uint8_t   ACCEL_FIFO_EN:1
 Enable Accelerometer. More...
 
   uint8_t   ZG_FIFO_EN:1
 Enable Gyroscope Z. More...
 
   uint8_t   YG_FIFO_EN:1
 Enable Gyroscope Y. More...
 
   uint8_t   XG_FIFO_EN:1
 Enable Gyroscope X. More...
 
   uint8_t   TEMP_FIFO_EN:1
 Enable Temperature. More...
 
}; 
 

Detailed Description

Register FIFO_EN bitfields.

Definition at line 284 of file MPU6050.hh.

Constructor & Destructor Documentation

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

Definition at line 296 of file MPU6050.hh.

Member Function Documentation

MPU6050::fifo_en_t::operator uint8_t ( )
inline

Definition at line 300 of file MPU6050.hh.

Member Data Documentation

struct { ... }
uint8_t MPU6050::fifo_en_t::ACCEL_FIFO_EN

Enable Accelerometer.

Definition at line 290 of file MPU6050.hh.

uint8_t MPU6050::fifo_en_t::as_uint8

As a byte.

Definition at line 285 of file MPU6050.hh.

uint8_t MPU6050::fifo_en_t::SLV0_FIFO_EN

< As bitfields.

Enable Slave 0 data.

Definition at line 287 of file MPU6050.hh.

uint8_t MPU6050::fifo_en_t::SLV1_FIFO_EN

Enable Slave 1 data.

Definition at line 288 of file MPU6050.hh.

uint8_t MPU6050::fifo_en_t::SLV2_FIFO_EN

Enable Slave 2 data.

Definition at line 289 of file MPU6050.hh.

uint8_t MPU6050::fifo_en_t::TEMP_FIFO_EN

Enable Temperature.

Definition at line 294 of file MPU6050.hh.

uint8_t MPU6050::fifo_en_t::XG_FIFO_EN

Enable Gyroscope X.

Definition at line 293 of file MPU6050.hh.

uint8_t MPU6050::fifo_en_t::YG_FIFO_EN

Enable Gyroscope Y.

Definition at line 292 of file MPU6050.hh.

uint8_t MPU6050::fifo_en_t::ZG_FIFO_EN

Enable Gyroscope Z.

Definition at line 291 of file MPU6050.hh.


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