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
clk/clkutc.h
- Committer:
- andrewboyson
- Date:
- 2019-02-21
- Revision:
- 57:4daf2e423b27
- Parent:
- 51:826c58fbfaed
- Child:
- 73:286a739f7c05
File content as of revision 57:4daf2e423b27:
#include "clktime.h"
extern int ClkUtcGetEpochOffset(void);
extern void ClkUtcSetEpochOffset(int value);
extern void ClkUtcAddEpochOffset(int value);
extern int ClkUtcGetNextEpochMonth1970(void); //Months since 1970
extern clktime ClkUtcGetNextEpoch (void);
extern void ClkUtcSetNextEpochMonth1970(int value);
extern bool ClkUtcGetNextLeapEnable (void);
extern bool ClkUtcGetNextLeapForward(void);
extern void ClkUtcSetNextLeapEnable (bool value);
extern void ClkUtcSetNextLeapForward(bool value);
extern void ClkUtcTglNextLeapEnable (void);
extern void ClkUtcTglNextLeapForward(void);
extern void ClkUtcInit(void);
extern clktime ClkUtcFromTai(clktime tai);
extern clktime ClkUtcToTai (clktime utc);
extern void ClkUtcCheckAdjustLeapSecondCount(clktime tai);