Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
clock.h
- Committer:
- andrewboyson
- Date:
- 2018-01-17
- Revision:
- 19:e537bacd1478
- Parent:
- 18:207dd1474cd9
- Child:
- 20:62e0760cae13
File content as of revision 19:e537bacd1478:
#include <stdbool.h>
#include <stdint.h>
#include <time.h>
extern void ClockNsToTmUtc (int64_t clk, struct tm* ptm);
extern int64_t ClockNsFromTmUtc(struct tm* ptm);
extern int ClockSlewDivisor ;
extern int ClockSlewMaxMs ;
extern int ClockPpbDivisor ;
extern int ClockPpbChangeMax ;
extern int ClockSyncedLimitNs ;
extern int ClockSyncedLimitPpb ;
extern int ClockSyncedHysterisNs ;
extern int ClockSyncedHysterisPpb;
extern int ClockMaxOffsetSecs ;
extern int64_t ClockRefNs(void);
extern int ClockIsSet(void);
extern int ClockIsSynced(void);
extern int64_t ClockNowNs(void);
extern void ClockTmLocal(struct tm* ptm);
extern void ClockTmUtc (struct tm* ptm);
extern bool ClockTicked;
extern uint32_t ClockScanAverage;
extern uint32_t ClockScanMinimum;
extern uint32_t ClockScanMaximum;
extern void ClockInit(void);
extern void ClockMain(void);