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

#include <commands_3dm.hpp>

Classes

struct  Response
 

Public Member Functions

auto asTuple () const
 
auto asTuple ()
 
void insert (Serializer &serializer) const
 Serialization. More...
 
void extract (Serializer &serializer)
 

Static Public Member Functions

static SensorRange create_sld_all (::mip::FunctionSelector function)
 

Public Attributes

FunctionSelector function = static_cast<FunctionSelector>(0)
 Parameters. More...
 
SensorRangeType sensor = static_cast<SensorRangeType>(0)
 Which type of sensor will get the new range value. More...
 
uint8_t setting = 0
 Use the 3DM Get Calibrated Sensor Ranges (0x0C,0x53) command to determine this value. More...
 

Static Public Attributes

static constexpr const uint8_t DESCRIPTOR_SET = ::mip::commands_3dm::DESCRIPTOR_SET
 Descriptors. More...
 
static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::commands_3dm::CMD_SENSOR_RANGE
 
static constexpr const CompositeDescriptor DESCRIPTOR = {DESCRIPTOR_SET, FIELD_DESCRIPTOR}
 
static constexpr const char * NAME = "SensorRange"
 
static constexpr const char * DOC_NAME = "Sensor Range"
 
static constexpr const bool HAS_FUNCTION_SELECTOR = true
 

Member Function Documentation

◆ asTuple() [1/2]

auto mip::commands_3dm::SensorRange::asTuple ( )
inline

◆ asTuple() [2/2]

auto mip::commands_3dm::SensorRange::asTuple ( ) const
inline

◆ create_sld_all()

static SensorRange mip::commands_3dm::SensorRange::create_sld_all ( ::mip::FunctionSelector  function)
inlinestatic

◆ extract()

void mip::commands_3dm::SensorRange::extract ( Serializer serializer)

◆ insert()

void mip::commands_3dm::SensorRange::insert ( Serializer serializer) const

Serialization.

Member Data Documentation

◆ DESCRIPTOR

constexpr const CompositeDescriptor mip::commands_3dm::SensorRange::DESCRIPTOR = {DESCRIPTOR_SET, FIELD_DESCRIPTOR}
staticconstexpr

◆ DESCRIPTOR_SET

constexpr const uint8_t mip::commands_3dm::SensorRange::DESCRIPTOR_SET = ::mip::commands_3dm::DESCRIPTOR_SET
staticconstexpr

Descriptors.

◆ DOC_NAME

constexpr const char* mip::commands_3dm::SensorRange::DOC_NAME = "Sensor Range"
staticconstexpr

◆ FIELD_DESCRIPTOR

constexpr const uint8_t mip::commands_3dm::SensorRange::FIELD_DESCRIPTOR = ::mip::commands_3dm::CMD_SENSOR_RANGE
staticconstexpr

◆ function

FunctionSelector mip::commands_3dm::SensorRange::function = static_cast<FunctionSelector>(0)

Parameters.

◆ HAS_FUNCTION_SELECTOR

constexpr const bool mip::commands_3dm::SensorRange::HAS_FUNCTION_SELECTOR = true
staticconstexpr

◆ NAME

constexpr const char* mip::commands_3dm::SensorRange::NAME = "SensorRange"
staticconstexpr

◆ sensor

SensorRangeType mip::commands_3dm::SensorRange::sensor = static_cast<SensorRangeType>(0)

Which type of sensor will get the new range value.

◆ setting

uint8_t mip::commands_3dm::SensorRange::setting = 0

Use the 3DM Get Calibrated Sensor Ranges (0x0C,0x53) command to determine this value.


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