Andrew Boyson / clock

Dependents:   oldheating gps motorhome heating

Committer:
andrewboyson
Date:
Wed Feb 13 10:50:04 2019 +0000
Revision:
53:2605da6cf1c7
Parent:
52:333a0822a06d
Child:
54:a3c018ceca77
Refactored the Ppb settings

Who changed what in which revision?

UserRevisionLine numberNew contents of line
andrewboyson 47:fd2af868c10a 1 #include <time.h>
andrewboyson 47:fd2af868c10a 2 #include <stdint.h>
andrewboyson 47:fd2af868c10a 3 #include <stdbool.h>
andrewboyson 47:fd2af868c10a 4
andrewboyson 47:fd2af868c10a 5 extern bool ClkGovTrace;
andrewboyson 47:fd2af868c10a 6
andrewboyson 47:fd2af868c10a 7 extern int32_t ClkGovGetSlew(void); extern void ClkGovSetSlew(int32_t value);
andrewboyson 47:fd2af868c10a 8 extern int32_t ClkGovGetPpb (void); extern void ClkGovSetPpb (int32_t value);
andrewboyson 47:fd2af868c10a 9
andrewboyson 47:fd2af868c10a 10 extern void ClkGovInit (void);
andrewboyson 47:fd2af868c10a 11
andrewboyson 53:2605da6cf1c7 12 extern int ClkGovFreqDivisor ;
andrewboyson 53:2605da6cf1c7 13 extern int ClkGovFreqChangeMaxPpb ;
andrewboyson 53:2605da6cf1c7 14 extern int ClkGovFreqSyncedLimPpb ;
andrewboyson 53:2605da6cf1c7 15 extern int ClkGovFreqSyncedHysPpb ;
andrewboyson 53:2605da6cf1c7 16 extern int ClkGovSlewDivisor ;
andrewboyson 53:2605da6cf1c7 17 extern int ClkGovSlewChangeMaxMs ;
andrewboyson 53:2605da6cf1c7 18 extern int ClkGovSlewSyncedLimNs ;
andrewboyson 53:2605da6cf1c7 19 extern int ClkGovSlewSyncedHysNs ;
andrewboyson 53:2605da6cf1c7 20 extern int ClkGovSlewOffsetMaxSecs;
andrewboyson 47:fd2af868c10a 21
andrewboyson 47:fd2af868c10a 22 extern bool ClkGovIsReceivingTime;
andrewboyson 47:fd2af868c10a 23 extern bool ClkGovTimeIsSynced;
andrewboyson 47:fd2af868c10a 24 extern bool ClkGovRateIsSynced;
andrewboyson 47:fd2af868c10a 25 extern int ClkGovIsSynced(void);
andrewboyson 47:fd2af868c10a 26
andrewboyson 47:fd2af868c10a 27 extern void ClkGovSyncPpsI(void);
andrewboyson 47:fd2af868c10a 28 extern void ClkGovSyncPpsN(time_t t);
andrewboyson 47:fd2af868c10a 29
andrewboyson 47:fd2af868c10a 30 extern void ClkGovSyncTime(int64_t time);