Expand description
CFE Time Services (TIME) interface.
This module provides safe wrappers for the cFE Time Services API, which is the primary source for mission-synchronized time in a cFS system. It handles spacecraft time, Mission Elapsed Time (MET), and conversions between them.
Structs§
- SysTime
- A wrapper around
CFE_TIME_SysTime_trepresenting a specific time.
Functions§
- external_
gps - Provides time from an external source like a GPS receiver.
- external_
met - Provides the Mission Elapsed Time from an external source.
- external_
time - Provides time from an external source relative to a known epoch.
- external_
tone - Provides the 1 Hz signal from an external source.
- get_
clock_ info - Provides information about the spacecraft clock as a bitmask.
- get_
clock_ state - Returns the current state of the spacecraft clock.
- get_
leap_ seconds - Returns the current value of the leap seconds counter.
- get_
met_ seconds - Returns the current seconds count of the mission-elapsed time.
- get_
met_ subseconds - Returns the current sub-seconds count of the mission-elapsed time.
- microseconds_
to_ subseconds - Converts microseconds to a subseconds value.
- register_
synch_ callback - Registers a synchronization callback to be called on time synchronization events.
- subseconds_
to_ microseconds - Converts a subseconds value (1/2^32 seconds) to microseconds.
- unregister_
synch_ callback - Unregisters a previously registered synchronization callback.
Type Aliases§
- Synch
Callback - A type alias for the callback function used for time synchronization events.