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@48:b0f38e523552, 2019-01-08 (annotated)
- Committer:
- andrewboyson
- Date:
- Tue Jan 08 20:45:57 2019 +0000
- Revision:
- 48:b0f38e523552
- Parent:
- 47:fd2af868c10a
- Child:
- 49:e4424cc18bcb
Corrected name of ClkUtcInit routine
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| andrewboyson | 46:d3d56cb47940 | 1 | #include <stdint.h> |
| andrewboyson | 46:d3d56cb47940 | 2 | |
| andrewboyson | 47:fd2af868c10a | 3 | extern int ClkUtcLeapSecondCount; |
| andrewboyson | 47:fd2af868c10a | 4 | extern int64_t ClkUtcLeapSecondCount64; |
| andrewboyson | 47:fd2af868c10a | 5 | extern void ClkUtcSetLeapSecondCount(int value); |
| andrewboyson | 47:fd2af868c10a | 6 | extern void ClkUtcAddLeapSecondCount(int value); |
| andrewboyson | 47:fd2af868c10a | 7 | |
| andrewboyson | 47:fd2af868c10a | 8 | extern int ClkUtcNextLeapMonth1970; //Months since 1970 |
| andrewboyson | 47:fd2af868c10a | 9 | extern int64_t ClkUtcNextLeapSecondUtc; |
| andrewboyson | 47:fd2af868c10a | 10 | extern void ClkUtcSetNextLeapMonth1970(int value); |
| andrewboyson | 47:fd2af868c10a | 11 | |
| andrewboyson | 47:fd2af868c10a | 12 | extern bool ClkUtcNextLeapEnable; |
| andrewboyson | 47:fd2af868c10a | 13 | extern bool ClkUtcNextLeapBackward; |
| andrewboyson | 47:fd2af868c10a | 14 | extern void ClkUtcSetNextLeapEnable (bool value); |
| andrewboyson | 47:fd2af868c10a | 15 | extern void ClkUtcSetNextLeapBackward(bool value); |
| andrewboyson | 47:fd2af868c10a | 16 | |
| andrewboyson | 48:b0f38e523552 | 17 | extern void ClkUtcInit(void); |
| andrewboyson | 47:fd2af868c10a | 18 | |
| andrewboyson | 46:d3d56cb47940 | 19 | extern int64_t ClkUtcFromTai(int64_t tai); |
| andrewboyson | 46:d3d56cb47940 | 20 | extern int64_t ClkUtcToTai (int64_t utc); |
| andrewboyson | 46:d3d56cb47940 | 21 | extern void ClkUtcCheckAdjustLeapSecondCount(int64_t tai); |