mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
refclock_phc: add support for timestamping of external PPS
Add extpps driver option to the PHC refclock to enable external timestamping of PPS signal and also options to configure the channel and pin index. In this mode, the driver polling function accumulates samples for hwclock, which is used to convert received timestamping events to local time.
This commit is contained in:
@@ -75,5 +75,6 @@ extern int RCL_AddPulse(RCL_Instance instance, struct timespec *pulse_time, doub
|
||||
extern int RCL_AddCookedPulse(RCL_Instance instance, struct timespec *cooked_time,
|
||||
double second, double dispersion, double raw_correction);
|
||||
extern double RCL_GetPrecision(RCL_Instance instance);
|
||||
extern int RCL_GetDriverPoll(RCL_Instance instance);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user