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

#include <MPU6050.hh>

Collaboration diagram for MPU6050::int_pin_cfg_t:
Collaboration graph

Public Member Functions

 int_pin_cfg_t (uint8_t value=0)
 
 operator uint8_t ()
 

Public Attributes

uint8_t as_uint8
 As a byte. More...
 
struct {
   uint8_t   reserved:1
 < As bitfields. More...
 
   uint8_t   I2C_BYPASS_EN:1
 Access aux I2C bus directly. More...
 
   uint8_t   FSYNC_INT_EN:1
 Enable FSYNC pint as interrupt. More...
 
   uint8_t   FSYNC_INT_LEVEL:1
 Active high(0) or low(1). More...
 
   uint8_t   INT_RD_CLEAR:1
 Clear interrupt status on read. More...
 
   uint8_t   LATCH_INT_EN:1
 High until cleared. More...
 
   uint8_t   INT_OPEN:1
 Open drain. More...
 
   uint8_t   INT_LEVEL:1
 Active high(0) or low(1). More...
 
}; 
 

Detailed Description

Register INT_PIN_CFG bitfields.

Definition at line 309 of file MPU6050.hh.

Constructor & Destructor Documentation

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

Definition at line 321 of file MPU6050.hh.

Member Function Documentation

MPU6050::int_pin_cfg_t::operator uint8_t ( )
inline

Definition at line 325 of file MPU6050.hh.

Member Data Documentation

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

As a byte.

Definition at line 310 of file MPU6050.hh.

uint8_t MPU6050::int_pin_cfg_t::FSYNC_INT_EN

Enable FSYNC pint as interrupt.

Definition at line 314 of file MPU6050.hh.

uint8_t MPU6050::int_pin_cfg_t::FSYNC_INT_LEVEL

Active high(0) or low(1).

Definition at line 315 of file MPU6050.hh.

uint8_t MPU6050::int_pin_cfg_t::I2C_BYPASS_EN

Access aux I2C bus directly.

Definition at line 313 of file MPU6050.hh.

uint8_t MPU6050::int_pin_cfg_t::INT_LEVEL

Active high(0) or low(1).

Definition at line 319 of file MPU6050.hh.

uint8_t MPU6050::int_pin_cfg_t::INT_OPEN

Open drain.

Definition at line 318 of file MPU6050.hh.

uint8_t MPU6050::int_pin_cfg_t::INT_RD_CLEAR

Clear interrupt status on read.

Definition at line 316 of file MPU6050.hh.

uint8_t MPU6050::int_pin_cfg_t::LATCH_INT_EN

High until cleared.

Definition at line 317 of file MPU6050.hh.

uint8_t MPU6050::int_pin_cfg_t::reserved

< As bitfields.

Reserved.

Definition at line 312 of file MPU6050.hh.


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