[LinuxPPS] How to use PPS to adjust system clock time ?
Rodolfo Giometti
giometti at enneenne.com
Sat Feb 16 09:10:21 CET 2019
On 16/02/2019 08:53, Ran Shalit wrote:
> Thank you very much Rodolfo for the reply.
> I had assumed that linuxPPS interface should only use seconds (2,3,...) but I still don't understand where the nanosecond resolution in linuxpps interface arrives from.
From the system clock.
> Is it that the linuxpps interface already attached the pps to the system clock ?
No. A pps device simply attachs a timestamp to each arriving pulse then a
userland program uses these information to precisely set system clock.
Ciao,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti at enneenne.com
Linux Device Driver giometti at linux.it
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
More information about the discussions
mailing list