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

#include <commands_3dm.hpp>

Classes

struct  Response
 

Public Types

enum  Source : uint8_t {
  Source::DISABLED = 0, Source::RECEIVER_1 = 1, Source::RECEIVER_2 = 2, Source::GPIO = 3,
  Source::GENERATED = 4
}
 

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

FunctionSelector function = static_cast<FunctionSelector>(0)
 Parameters. More...
 
Source source = static_cast<Source>(0)
 

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_PPS_SOURCE
 
static constexpr const CompositeDescriptor DESCRIPTOR = {DESCRIPTOR_SET, FIELD_DESCRIPTOR}
 
static constexpr const char * NAME = "PpsSource"
 
static constexpr const char * DOC_NAME = "PpsSource"
 
static constexpr const bool HAS_FUNCTION_SELECTOR = true
 

Member Enumeration Documentation

◆ Source

enum mip::commands_3dm::PpsSource::Source : uint8_t
strong
Enumerator
DISABLED 

PPS output is disabled. Not valid for PPS source command.

RECEIVER_1 

PPS is provided by GNSS receiver 1.

RECEIVER_2 

PPS is provided by GNSS receiver 2.

GPIO 

PPS is provided to an external GPIO pin. Use the GPIO Setup command to choose and configure the pin.

GENERATED 

PPS is generated from the system oscillator.

Member Function Documentation

◆ asTuple() [1/2]

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

◆ asTuple() [2/2]

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

◆ create_sld_all()

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

◆ extract()

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

◆ insert()

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

Serialization.

Member Data Documentation

◆ DESCRIPTOR

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

◆ DESCRIPTOR_SET

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

Descriptors.

◆ DOC_NAME

constexpr const char* mip::commands_3dm::PpsSource::DOC_NAME = "PpsSource"
staticconstexpr

◆ FIELD_DESCRIPTOR

constexpr const uint8_t mip::commands_3dm::PpsSource::FIELD_DESCRIPTOR = ::mip::commands_3dm::CMD_PPS_SOURCE
staticconstexpr

◆ function

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

Parameters.

◆ HAS_FUNCTION_SELECTOR

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

◆ NAME

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

◆ source

Source mip::commands_3dm::PpsSource::source = static_cast<Source>(0)

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