MIP_SDK  v3.0.0-736-g212583cf
MicroStrain Communications Library for embedded systems
Classes | Typedefs | Functions | Variables
(0x80,0x12) Gps Timestamp

GPS timestamp of the SENSOR data. More...

Classes

struct  mip::C::mip_sensor_gps_timestamp_data
 

Typedefs

typedef uint16_t mip::C::mip_sensor_gps_timestamp_data_valid_flags
 
typedef struct mip_sensor_gps_timestamp_data mip::C::mip_sensor_gps_timestamp_data
 

Functions

static void mip::C::insert_mip_sensor_gps_timestamp_data_valid_flags (microstrain_serializer *serializer, const mip_sensor_gps_timestamp_data_valid_flags self)
 
static void mip::C::extract_mip_sensor_gps_timestamp_data_valid_flags (microstrain_serializer *serializer, mip_sensor_gps_timestamp_data_valid_flags *self)
 
void mip::C::insert_mip_sensor_gps_timestamp_data (microstrain_serializer *serializer, const mip_sensor_gps_timestamp_data *self)
 
void mip::C::extract_mip_sensor_gps_timestamp_data (microstrain_serializer *serializer, mip_sensor_gps_timestamp_data *self)
 
bool mip::C::extract_mip_sensor_gps_timestamp_data_from_field (const mip_field_view *field, void *ptr)
 

Variables

static const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_NONE = 0x0000
 
static const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_PPS_VALID = 0x0001
 True when the PPS signal is present. More...
 
static const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_TIME_REFRESH = 0x0002
 Toggles each time the time is updated via internal GPS or the GPS Time Update command (0x01, 0x72). More...
 
static const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_TIME_INITIALIZED = 0x0004
 True if the time has ever been set. More...
 
static const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_TOW_VALID = 0x0008
 True if the time of week is valid. More...
 
static const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_WEEK_NUMBER_VALID = 0x0010
 True if the week number is valid. More...
 
static const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_ALL = 0x001F
 

Detailed Description

Should the PPS become unavailable, the device will revert to its internal clock, which will cause the reported time to drift from true GPS time. Upon recovering from a PPS outage, the user should expect a jump in the reported GPS time due to the accumulation of internal clock error. If synchronization to an external clock or onboard GNSS receiver (for products that have one) is disabled, this time is equivalent to internal system time.

Note: this data field may be deprecated in the future. The more flexible shared data field (0x80, 0xD3) should be used instead.

Typedef Documentation

◆ mip_sensor_gps_timestamp_data_valid_flags

◆ mip_sensor_gps_timestamp_data

Function Documentation

◆ insert_mip_sensor_gps_timestamp_data_valid_flags()

static void mip::C::insert_mip_sensor_gps_timestamp_data_valid_flags ( microstrain_serializer serializer,
const mip_sensor_gps_timestamp_data_valid_flags  self 
)
inlinestatic

◆ extract_mip_sensor_gps_timestamp_data_valid_flags()

static void mip::C::extract_mip_sensor_gps_timestamp_data_valid_flags ( microstrain_serializer serializer,
mip_sensor_gps_timestamp_data_valid_flags self 
)
inlinestatic

◆ insert_mip_sensor_gps_timestamp_data()

void mip::C::insert_mip_sensor_gps_timestamp_data ( microstrain_serializer serializer,
const mip_sensor_gps_timestamp_data self 
)

◆ extract_mip_sensor_gps_timestamp_data()

void mip::C::extract_mip_sensor_gps_timestamp_data ( microstrain_serializer serializer,
mip_sensor_gps_timestamp_data self 
)

◆ extract_mip_sensor_gps_timestamp_data_from_field()

bool mip::C::extract_mip_sensor_gps_timestamp_data_from_field ( const mip_field_view field,
void *  ptr 
)

Variable Documentation

◆ MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_NONE

const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_NONE = 0x0000
static

◆ MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_PPS_VALID

const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_PPS_VALID = 0x0001
static

◆ MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_TIME_REFRESH

const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_TIME_REFRESH = 0x0002
static

◆ MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_TIME_INITIALIZED

const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_TIME_INITIALIZED = 0x0004
static

◆ MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_TOW_VALID

const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_TOW_VALID = 0x0008
static

◆ MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_WEEK_NUMBER_VALID

const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_WEEK_NUMBER_VALID = 0x0010
static

◆ MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_ALL

const mip_sensor_gps_timestamp_data_valid_flags mip::C::MIP_SENSOR_GPS_TIMESTAMP_DATA_VALID_FLAGS_ALL = 0x001F
static