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

Convenience struct holding both descriptor set and field descriptor. More...

#include <mip_descriptors.hpp>

Public Member Functions

constexpr CompositeDescriptor (uint8_t descSet, uint8_t fieldDesc)
 
constexpr CompositeDescriptor (uint16_t combo)
 
CompositeDescriptoroperator= (uint16_t combo)
 
constexpr uint16_t as_u16 () const
 
constexpr bool operator== (const CompositeDescriptor &other) const
 
constexpr bool operator< (const CompositeDescriptor &other) const
 

Public Attributes

uint8_t descriptorSet
 MIP descriptor set. More...
 
uint8_t fieldDescriptor
 MIP field descriptor. More...
 

Detailed Description

Convenience struct holding both descriptor set and field descriptor.

Constructor & Destructor Documentation

◆ CompositeDescriptor() [1/2]

constexpr mip::CompositeDescriptor::CompositeDescriptor ( uint8_t  descSet,
uint8_t  fieldDesc 
)
inlineconstexpr

◆ CompositeDescriptor() [2/2]

constexpr mip::CompositeDescriptor::CompositeDescriptor ( uint16_t  combo)
inlineconstexpr

Member Function Documentation

◆ as_u16()

constexpr uint16_t mip::CompositeDescriptor::as_u16 ( ) const
inlineconstexpr

◆ operator<()

constexpr bool mip::CompositeDescriptor::operator< ( const CompositeDescriptor other) const
inlineconstexpr

◆ operator=()

CompositeDescriptor& mip::CompositeDescriptor::operator= ( uint16_t  combo)
inline

◆ operator==()

constexpr bool mip::CompositeDescriptor::operator== ( const CompositeDescriptor other) const
inlineconstexpr

Member Data Documentation

◆ descriptorSet

uint8_t mip::CompositeDescriptor::descriptorSet

MIP descriptor set.

◆ fieldDescriptor

uint8_t mip::CompositeDescriptor::fieldDescriptor

MIP field descriptor.


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