MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
Set device internal GPS time When combined with a PPS input signal applied to the I/O connector, this command enables complete synchronization of data outputs with an external time base, such as GPS system time. Since the hardware PPS synchronization can only detect the fractional number of seconds when pulses arrive, complete synchronization requires that the user provide the whole number of seconds via this command. After achieving PPS synchronization, this command should be sent twice: once to set the time-of-week and once to set the week number. PPS synchronization can be verified by monitoring the time sync status message (0xA0, 0x02) or the valid flags of any shared external timestamp (0x–, D7) data field. More...
Classes | |
struct | mip::commands_base::GpsTimeUpdate |
Functions | |
TypedResult< GpsTimeUpdate > | mip::commands_base::writeGpsTimeUpdate (C::mip_interface &device, GpsTimeUpdate::FieldId fieldId, uint32_t value) |
Set device internal GPS time When combined with a PPS input signal applied to the I/O connector, this command enables complete synchronization of data outputs with an external time base, such as GPS system time. Since the hardware PPS synchronization can only detect the fractional number of seconds when pulses arrive, complete synchronization requires that the user provide the whole number of seconds via this command. After achieving PPS synchronization, this command should be sent twice: once to set the time-of-week and once to set the week number. PPS synchronization can be verified by monitoring the time sync status message (0xA0, 0x02) or the valid flags of any shared external timestamp (0x–, D7) data field.
TypedResult< GpsTimeUpdate > mip::commands_base::writeGpsTimeUpdate | ( | C::mip_interface & | device, |
GpsTimeUpdate::FieldId | fieldId, | ||
uint32_t | value | ||
) |