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

#include <commands_aiding.hpp>

Public Types

enum  Timebase : uint8_t { Timebase::INTERNAL_REFERENCE = 1, Timebase::EXTERNAL_TIME = 2, Timebase::TIME_OF_ARRIVAL = 3 }
 

Public Member Functions

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

Public Attributes

Timebase timebase = static_cast<Timebase>(0)
 Parameters. More...
 
uint8_t reserved = 0
 Reserved, set to 0x01. More...
 
uint64_t nanoseconds = 0
 Nanoseconds since the timebase epoch. More...
 

Member Enumeration Documentation

◆ Timebase

enum mip::commands_aiding::Time::Timebase : uint8_t
strong
Enumerator
INTERNAL_REFERENCE 

Timestamp provided is with respect to internal clock.

EXTERNAL_TIME 

Timestamp provided is with respect to external clock, synced by PPS source.

TIME_OF_ARRIVAL 

Timestamp provided is a fixed latency relative to time of message arrival.

Member Function Documentation

◆ extract()

void mip::commands_aiding::Time::extract ( Serializer serializer)

◆ insert()

void mip::commands_aiding::Time::insert ( Serializer serializer) const

Serialization.

Member Data Documentation

◆ nanoseconds

uint64_t mip::commands_aiding::Time::nanoseconds = 0

Nanoseconds since the timebase epoch.

◆ reserved

uint8_t mip::commands_aiding::Time::reserved = 0

Reserved, set to 0x01.

◆ timebase

Timebase mip::commands_aiding::Time::timebase = static_cast<Timebase>(0)

Parameters.

Timebase reference, e.g. internal, external, GPS, UTC, etc.


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