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

#include <MPU6050.hh>

Collaboration diagram for MPU6050::gyro_config_t:
Collaboration graph

Public Member Functions

 gyro_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   FS_SEL:2
 Full Scale Range. More...
 
   uint8_t   ZG_ST:1
 Z axis gyroscope selftest. More...
 
   uint8_t   YG_ST:1
 Y axis gyroscope selftest. More...
 
   uint8_t   XG_ST:1
 X axis gyroscope selftest. More...
 
}; 
 

Detailed Description

Register GYRO_CONFIG bitfields.

Definition at line 220 of file MPU6050.hh.

Constructor & Destructor Documentation

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

Definition at line 229 of file MPU6050.hh.

Member Function Documentation

MPU6050::gyro_config_t::operator uint8_t ( )
inline

Definition at line 233 of file MPU6050.hh.

Member Data Documentation

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

As a byte.

Definition at line 221 of file MPU6050.hh.

uint8_t MPU6050::gyro_config_t::FS_SEL

Full Scale Range.

Definition at line 224 of file MPU6050.hh.

uint8_t MPU6050::gyro_config_t::reserved

< As bitfields.

Reserved.

Definition at line 223 of file MPU6050.hh.

uint8_t MPU6050::gyro_config_t::XG_ST

X axis gyroscope selftest.

Definition at line 227 of file MPU6050.hh.

uint8_t MPU6050::gyro_config_t::YG_ST

Y axis gyroscope selftest.

Definition at line 226 of file MPU6050.hh.

uint8_t MPU6050::gyro_config_t::ZG_ST

Z axis gyroscope selftest.

Definition at line 225 of file MPU6050.hh.


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