MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Public Types | Public Member Functions | Public Attributes | List of all members
mip::commands_system::CommsProtocol Struct Reference

#include <commands_system.hpp>

Inheritance diagram for mip::commands_system::CommsProtocol:
mip::Bitfield< CommsProtocol >

Public Types

enum  _enumType : uint32_t {
  NONE = 0x00000000, MIP_COMMANDS = 0x00000001, MIP_DATA = 0x00000002, NMEA = 0x00000004,
  RTCM = 0x00000008, SPARTN = 0x00000010, ALL = 0x0000001F
}
 
typedef uint32_t Type
 

Public Member Functions

 CommsProtocol ()
 
 CommsProtocol (int val)
 
 operator uint32_t () const
 
CommsProtocoloperator= (uint32_t val)
 
CommsProtocoloperator= (int val)
 
CommsProtocoloperator|= (uint32_t val)
 
CommsProtocoloperator&= (uint32_t val)
 
bool mipCommands () const
 
void mipCommands (bool val)
 
bool mipData () const
 
void mipData (bool val)
 
bool nmea () const
 
void nmea (bool val)
 
bool rtcm () const
 
void rtcm (bool val)
 
bool spartn () const
 
void spartn (bool val)
 
bool allSet () const
 
void setAll ()
 

Public Attributes

uint32_t value = NONE
 

Member Typedef Documentation

◆ Type

Member Enumeration Documentation

◆ _enumType

Enumerator
NONE 
MIP_COMMANDS 
MIP_DATA 
NMEA 
RTCM 
SPARTN 
ALL 

Constructor & Destructor Documentation

◆ CommsProtocol() [1/2]

mip::commands_system::CommsProtocol::CommsProtocol ( )
inline

◆ CommsProtocol() [2/2]

mip::commands_system::CommsProtocol::CommsProtocol ( int  val)
inline

Member Function Documentation

◆ allSet()

bool mip::commands_system::CommsProtocol::allSet ( ) const
inline

◆ mipCommands() [1/2]

bool mip::commands_system::CommsProtocol::mipCommands ( ) const
inline

◆ mipCommands() [2/2]

void mip::commands_system::CommsProtocol::mipCommands ( bool  val)
inline

◆ mipData() [1/2]

bool mip::commands_system::CommsProtocol::mipData ( ) const
inline

◆ mipData() [2/2]

void mip::commands_system::CommsProtocol::mipData ( bool  val)
inline

◆ nmea() [1/2]

bool mip::commands_system::CommsProtocol::nmea ( ) const
inline

◆ nmea() [2/2]

void mip::commands_system::CommsProtocol::nmea ( bool  val)
inline

◆ operator uint32_t()

mip::commands_system::CommsProtocol::operator uint32_t ( ) const
inline

◆ operator&=()

CommsProtocol& mip::commands_system::CommsProtocol::operator&= ( uint32_t  val)
inline

◆ operator=() [1/2]

CommsProtocol& mip::commands_system::CommsProtocol::operator= ( int  val)
inline

◆ operator=() [2/2]

CommsProtocol& mip::commands_system::CommsProtocol::operator= ( uint32_t  val)
inline

◆ operator|=()

CommsProtocol& mip::commands_system::CommsProtocol::operator|= ( uint32_t  val)
inline

◆ rtcm() [1/2]

bool mip::commands_system::CommsProtocol::rtcm ( ) const
inline

◆ rtcm() [2/2]

void mip::commands_system::CommsProtocol::rtcm ( bool  val)
inline

◆ setAll()

void mip::commands_system::CommsProtocol::setAll ( )
inline

◆ spartn() [1/2]

bool mip::commands_system::CommsProtocol::spartn ( ) const
inline

◆ spartn() [2/2]

void mip::commands_system::CommsProtocol::spartn ( bool  val)
inline

Member Data Documentation

◆ value

uint32_t mip::commands_system::CommsProtocol::value = NONE

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