MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mip::data_system::TimeSyncStatus 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

bool time_sync = 0
 Parameters. More...
 
uint8_t last_pps_rcvd = 0
 Elapsed time in seconds since last PPS was received, with a maximum value of 255. 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_TIME_SYNC_STATUS
 
static constexpr const CompositeDescriptor DESCRIPTOR = {DESCRIPTOR_SET, FIELD_DESCRIPTOR}
 
static constexpr const char * NAME = "TimeSyncStatus"
 
static constexpr const char * DOC_NAME = "TimeSyncStatus"
 
static constexpr const bool HAS_FUNCTION_SELECTOR = false
 

Member Function Documentation

◆ asTuple() [1/2]

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

◆ asTuple() [2/2]

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

◆ extract()

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

◆ insert()

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

Serialization.

Member Data Documentation

◆ DESCRIPTOR

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

◆ DESCRIPTOR_SET

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

Descriptors.

◆ DOC_NAME

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

◆ FIELD_DESCRIPTOR

constexpr const uint8_t mip::data_system::TimeSyncStatus::FIELD_DESCRIPTOR = ::mip::data_system::DATA_TIME_SYNC_STATUS
staticconstexpr

◆ HAS_FUNCTION_SELECTOR

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

◆ last_pps_rcvd

uint8_t mip::data_system::TimeSyncStatus::last_pps_rcvd = 0

Elapsed time in seconds since last PPS was received, with a maximum value of 255.

◆ NAME

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

◆ time_sync

bool mip::data_system::TimeSyncStatus::time_sync = 0

Parameters.

True if sync with the PPS signal is currently valid. False if PPS feature is disabled or a PPS signal is not detected.


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