MIP_SDK  v3.0.0
MicroStrain Communications Library for embedded systems
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mip::data_system::GpioAnalogValue Struct Reference

#include <data_system.hpp>

Public Member Functions

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

Public Attributes

uint8_t gpio_id = 0
 Parameters. More...
 
float value = 0
 Value of the GPIO line in scaled volts. More...
 

Static Public Attributes

static constexpr const uint8_t DESCRIPTOR_SET = ::mip::data_system::DESCRIPTOR_SET
 Descriptors. More...
 
static constexpr const uint8_t FIELD_DESCRIPTOR = ::mip::data_system::DATA_GPIO_ANALOG_VALUE
 
static constexpr const CompositeDescriptor DESCRIPTOR = {DESCRIPTOR_SET, FIELD_DESCRIPTOR}
 
static constexpr const char * NAME = "GpioAnalogValue"
 
static constexpr const char * DOC_NAME = "GpioAnalogValue"
 
static constexpr const bool HAS_FUNCTION_SELECTOR = false
 

Member Function Documentation

◆ asTuple() [1/2]

auto mip::data_system::GpioAnalogValue::asTuple ( )
inline

◆ asTuple() [2/2]

auto mip::data_system::GpioAnalogValue::asTuple ( ) const
inline

◆ extract()

void mip::data_system::GpioAnalogValue::extract ( Serializer serializer)

◆ insert()

void mip::data_system::GpioAnalogValue::insert ( Serializer serializer) const

Serialization.

Member Data Documentation

◆ DESCRIPTOR

constexpr const CompositeDescriptor mip::data_system::GpioAnalogValue::DESCRIPTOR = {DESCRIPTOR_SET, FIELD_DESCRIPTOR}
staticconstexpr

◆ DESCRIPTOR_SET

constexpr const uint8_t mip::data_system::GpioAnalogValue::DESCRIPTOR_SET = ::mip::data_system::DESCRIPTOR_SET
staticconstexpr

Descriptors.

◆ DOC_NAME

constexpr const char* mip::data_system::GpioAnalogValue::DOC_NAME = "GpioAnalogValue"
staticconstexpr

◆ FIELD_DESCRIPTOR

constexpr const uint8_t mip::data_system::GpioAnalogValue::FIELD_DESCRIPTOR = ::mip::data_system::DATA_GPIO_ANALOG_VALUE
staticconstexpr

◆ gpio_id

uint8_t mip::data_system::GpioAnalogValue::gpio_id = 0

Parameters.

GPIO pin number starting with 1.

◆ HAS_FUNCTION_SELECTOR

constexpr const bool mip::data_system::GpioAnalogValue::HAS_FUNCTION_SELECTOR = false
staticconstexpr

◆ NAME

constexpr const char* mip::data_system::GpioAnalogValue::NAME = "GpioAnalogValue"
staticconstexpr

◆ value

float mip::data_system::GpioAnalogValue::value = 0

Value of the GPIO line in scaled volts.


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