MIP SDK  0.0.1
MicroStrain Communications Library for embedded systems
Classes | Typedefs | Functions
(0x01,0x72) Gps Time Update [C]
Collaboration diagram for (0x01,0x72) Gps Time Update [C]:

Classes

struct  mip::C::mip_base_gps_time_update_command
 

Typedefs

typedef uint8_t mip::C::mip_base_gps_time_update_command_field_id
 
typedef struct mip_base_gps_time_update_command mip::C::mip_base_gps_time_update_command
 

Functions

void mip::C::insert_mip_base_gps_time_update_command (mip_serializer *serializer, const mip_base_gps_time_update_command *self)
 
void mip::C::extract_mip_base_gps_time_update_command (mip_serializer *serializer, mip_base_gps_time_update_command *self)
 
void mip::C::insert_mip_base_gps_time_update_command_field_id (struct mip_serializer *serializer, const mip_base_gps_time_update_command_field_id self)
 
void mip::C::extract_mip_base_gps_time_update_command_field_id (struct mip_serializer *serializer, mip_base_gps_time_update_command_field_id *self)
 
mip_cmd_result mip::C::mip_base_write_gps_time_update (struct mip_interface *device, mip_base_gps_time_update_command_field_id field_id, uint32_t value)
 

Detailed Description

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.

Typedef Documentation

◆ mip_base_gps_time_update_command

◆ mip_base_gps_time_update_command_field_id

Function Documentation

◆ extract_mip_base_gps_time_update_command()

void mip::C::extract_mip_base_gps_time_update_command ( mip_serializer serializer,
mip_base_gps_time_update_command self 
)

◆ extract_mip_base_gps_time_update_command_field_id()

void mip::C::extract_mip_base_gps_time_update_command_field_id ( struct mip_serializer serializer,
mip_base_gps_time_update_command_field_id self 
)

◆ insert_mip_base_gps_time_update_command()

void mip::C::insert_mip_base_gps_time_update_command ( mip_serializer serializer,
const mip_base_gps_time_update_command self 
)

◆ insert_mip_base_gps_time_update_command_field_id()

void mip::C::insert_mip_base_gps_time_update_command_field_id ( struct mip_serializer serializer,
const mip_base_gps_time_update_command_field_id  self 
)

◆ mip_base_write_gps_time_update()

mip_cmd_result mip::C::mip_base_write_gps_time_update ( struct mip_interface device,
mip_base_gps_time_update_command_field_id  field_id,
uint32_t  value 
)