MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Public Types | Public Member Functions | Public Attributes | List of all members
mip::data_sensor::OverrangeStatus::Status Struct Reference

#include <data_sensor.hpp>

Inheritance diagram for mip::data_sensor::OverrangeStatus::Status:
mip::Bitfield< Status >

Public Types

enum  _enumType : uint16_t {
  NONE = 0x0000, ACCEL_X = 0x0001, ACCEL_Y = 0x0002, ACCEL_Z = 0x0004,
  GYRO_X = 0x0010, GYRO_Y = 0x0020, GYRO_Z = 0x0040, MAG_X = 0x0100,
  MAG_Y = 0x0200, MAG_Z = 0x0400, PRESS = 0x1000, ALL = 0x1777
}
 
typedef uint16_t Type
 

Public Member Functions

 Status ()
 
 Status (int val)
 
 operator uint16_t () const
 
Statusoperator= (uint16_t val)
 
Statusoperator= (int val)
 
Statusoperator|= (uint16_t val)
 
Statusoperator&= (uint16_t val)
 
bool accelX () const
 
void accelX (bool val)
 
bool accelY () const
 
void accelY (bool val)
 
bool accelZ () const
 
void accelZ (bool val)
 
bool gyroX () const
 
void gyroX (bool val)
 
bool gyroY () const
 
void gyroY (bool val)
 
bool gyroZ () const
 
void gyroZ (bool val)
 
bool magX () const
 
void magX (bool val)
 
bool magY () const
 
void magY (bool val)
 
bool magZ () const
 
void magZ (bool val)
 
bool press () const
 
void press (bool val)
 
bool allSet () const
 
void setAll ()
 

Public Attributes

uint16_t value = NONE
 

Member Typedef Documentation

◆ Type

Member Enumeration Documentation

◆ _enumType

Enumerator
NONE 
ACCEL_X 
ACCEL_Y 
ACCEL_Z 
GYRO_X 
GYRO_Y 
GYRO_Z 
MAG_X 
MAG_Y 
MAG_Z 
PRESS 
ALL 

Constructor & Destructor Documentation

◆ Status() [1/2]

mip::data_sensor::OverrangeStatus::Status::Status ( )
inline

◆ Status() [2/2]

mip::data_sensor::OverrangeStatus::Status::Status ( int  val)
inline

Member Function Documentation

◆ accelX() [1/2]

bool mip::data_sensor::OverrangeStatus::Status::accelX ( ) const
inline

◆ accelX() [2/2]

void mip::data_sensor::OverrangeStatus::Status::accelX ( bool  val)
inline

◆ accelY() [1/2]

bool mip::data_sensor::OverrangeStatus::Status::accelY ( ) const
inline

◆ accelY() [2/2]

void mip::data_sensor::OverrangeStatus::Status::accelY ( bool  val)
inline

◆ accelZ() [1/2]

bool mip::data_sensor::OverrangeStatus::Status::accelZ ( ) const
inline

◆ accelZ() [2/2]

void mip::data_sensor::OverrangeStatus::Status::accelZ ( bool  val)
inline

◆ allSet()

bool mip::data_sensor::OverrangeStatus::Status::allSet ( ) const
inline

◆ gyroX() [1/2]

bool mip::data_sensor::OverrangeStatus::Status::gyroX ( ) const
inline

◆ gyroX() [2/2]

void mip::data_sensor::OverrangeStatus::Status::gyroX ( bool  val)
inline

◆ gyroY() [1/2]

bool mip::data_sensor::OverrangeStatus::Status::gyroY ( ) const
inline

◆ gyroY() [2/2]

void mip::data_sensor::OverrangeStatus::Status::gyroY ( bool  val)
inline

◆ gyroZ() [1/2]

bool mip::data_sensor::OverrangeStatus::Status::gyroZ ( ) const
inline

◆ gyroZ() [2/2]

void mip::data_sensor::OverrangeStatus::Status::gyroZ ( bool  val)
inline

◆ magX() [1/2]

bool mip::data_sensor::OverrangeStatus::Status::magX ( ) const
inline

◆ magX() [2/2]

void mip::data_sensor::OverrangeStatus::Status::magX ( bool  val)
inline

◆ magY() [1/2]

bool mip::data_sensor::OverrangeStatus::Status::magY ( ) const
inline

◆ magY() [2/2]

void mip::data_sensor::OverrangeStatus::Status::magY ( bool  val)
inline

◆ magZ() [1/2]

bool mip::data_sensor::OverrangeStatus::Status::magZ ( ) const
inline

◆ magZ() [2/2]

void mip::data_sensor::OverrangeStatus::Status::magZ ( bool  val)
inline

◆ operator uint16_t()

mip::data_sensor::OverrangeStatus::Status::operator uint16_t ( ) const
inline

◆ operator&=()

Status& mip::data_sensor::OverrangeStatus::Status::operator&= ( uint16_t  val)
inline

◆ operator=() [1/2]

Status& mip::data_sensor::OverrangeStatus::Status::operator= ( int  val)
inline

◆ operator=() [2/2]

Status& mip::data_sensor::OverrangeStatus::Status::operator= ( uint16_t  val)
inline

◆ operator|=()

Status& mip::data_sensor::OverrangeStatus::Status::operator|= ( uint16_t  val)
inline

◆ press() [1/2]

bool mip::data_sensor::OverrangeStatus::Status::press ( ) const
inline

◆ press() [2/2]

void mip::data_sensor::OverrangeStatus::Status::press ( bool  val)
inline

◆ setAll()

void mip::data_sensor::OverrangeStatus::Status::setAll ( )
inline

Member Data Documentation

◆ value

uint16_t mip::data_sensor::OverrangeStatus::Status::value = NONE

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