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

#include <MPU6050.hh>

Collaboration diagram for MPU6050::accel_config_t:
Collaboration graph

Public Member Functions

 accel_config_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As a byte. More...
 
struct {
   uint8_t   reserved:3
 < As bitfields. More...
 
   uint8_t   AFS_SEL:2
 Full Scale Range. More...
 
   uint8_t   ZA_ST:1
 Z axis accelerometer selftest. More...
 
   uint8_t   YA_ST:1
 Y axis accelerometer selftest. More...
 
   uint8_t   XA_ST:1
 X axis accelerometer selftest. More...
 
}; 
 

Detailed Description

Register ACCEL_CONFIG bitfields.

Definition at line 252 of file MPU6050.hh.

Constructor & Destructor Documentation

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

Definition at line 261 of file MPU6050.hh.

Member Function Documentation

MPU6050::accel_config_t::operator uint8_t ( )
inline

Definition at line 265 of file MPU6050.hh.

Member Data Documentation

struct { ... }
uint8_t MPU6050::accel_config_t::AFS_SEL

Full Scale Range.

Definition at line 256 of file MPU6050.hh.

uint8_t MPU6050::accel_config_t::as_uint8

As a byte.

Definition at line 253 of file MPU6050.hh.

uint8_t MPU6050::accel_config_t::reserved

< As bitfields.

Reserved.

Definition at line 255 of file MPU6050.hh.

uint8_t MPU6050::accel_config_t::XA_ST

X axis accelerometer selftest.

Definition at line 259 of file MPU6050.hh.

uint8_t MPU6050::accel_config_t::YA_ST

Y axis accelerometer selftest.

Definition at line 258 of file MPU6050.hh.

uint8_t MPU6050::accel_config_t::ZA_ST

Z axis accelerometer selftest.

Definition at line 257 of file MPU6050.hh.


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