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

#include <commands_3dm.hpp>

Public Member Functions

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

Public Attributes

uint8_t pin = 0
 Parameters. More...
 
Feature feature = static_cast<Feature>(0)
 Determines how the pin will be used. More...
 
Behavior behavior = static_cast<Behavior>(0)
 Select an appropriate value from the enumeration based on the selected feature (e.g. for PPS, select one of the values prefixed with PPS_.) More...
 
PinMode pin_mode
 GPIO configuration. May be restricted depending on device, pin, feature, and behavior. See device user manual. 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::REPLY_GPIO_CONFIG
 
static constexpr const CompositeDescriptor DESCRIPTOR = {DESCRIPTOR_SET, FIELD_DESCRIPTOR}
 
static constexpr const char * NAME = "GpioConfig::Response"
 
static constexpr const char * DOC_NAME = "GPIO Configuration Response"
 
static constexpr const bool HAS_FUNCTION_SELECTOR = false
 

Member Function Documentation

◆ asTuple() [1/2]

auto mip::commands_3dm::GpioConfig::Response::asTuple ( )
inline

◆ asTuple() [2/2]

auto mip::commands_3dm::GpioConfig::Response::asTuple ( ) const
inline

◆ extract()

void mip::commands_3dm::GpioConfig::Response::extract ( Serializer serializer)

◆ insert()

void mip::commands_3dm::GpioConfig::Response::insert ( Serializer serializer) const

Serialization.

Member Data Documentation

◆ behavior

Behavior mip::commands_3dm::GpioConfig::Response::behavior = static_cast<Behavior>(0)

Select an appropriate value from the enumeration based on the selected feature (e.g. for PPS, select one of the values prefixed with PPS_.)

◆ DESCRIPTOR

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

◆ DESCRIPTOR_SET

constexpr const uint8_t mip::commands_3dm::GpioConfig::Response::DESCRIPTOR_SET = ::mip::commands_3dm::DESCRIPTOR_SET
staticconstexpr

Descriptors.

◆ DOC_NAME

constexpr const char* mip::commands_3dm::GpioConfig::Response::DOC_NAME = "GPIO Configuration Response"
staticconstexpr

◆ feature

Feature mip::commands_3dm::GpioConfig::Response::feature = static_cast<Feature>(0)

Determines how the pin will be used.

◆ FIELD_DESCRIPTOR

constexpr const uint8_t mip::commands_3dm::GpioConfig::Response::FIELD_DESCRIPTOR = ::mip::commands_3dm::REPLY_GPIO_CONFIG
staticconstexpr

◆ HAS_FUNCTION_SELECTOR

constexpr const bool mip::commands_3dm::GpioConfig::Response::HAS_FUNCTION_SELECTOR = false
staticconstexpr

◆ NAME

constexpr const char* mip::commands_3dm::GpioConfig::Response::NAME = "GpioConfig::Response"
staticconstexpr

◆ pin

uint8_t mip::commands_3dm::GpioConfig::Response::pin = 0

Parameters.

GPIO pin number counting from 1. For save, load, and default function selectors, this can be 0 to select all pins.

◆ pin_mode

PinMode mip::commands_3dm::GpioConfig::Response::pin_mode

GPIO configuration. May be restricted depending on device, pin, feature, and behavior. See device user manual.


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