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.
time_helper.h@8:2192f2809f59, 2014-08-11 (annotated)
- Committer:
- vtraveller
- Date:
- Mon Aug 11 19:10:09 2014 +0000
- Revision:
- 8:2192f2809f59
Added helper functions for setting mbed internal clock without DS1307 device present.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vtraveller | 8:2192f2809f59 | 1 | #ifndef __TIME_HELPER_H__ |
vtraveller | 8:2192f2809f59 | 2 | #define __TIME_HELPER_H__ |
vtraveller | 8:2192f2809f59 | 3 | |
vtraveller | 8:2192f2809f59 | 4 | #include <time.h> |
vtraveller | 8:2192f2809f59 | 5 | |
vtraveller | 8:2192f2809f59 | 6 | void GetTime(tm & out_sTM); |
vtraveller | 8:2192f2809f59 | 7 | void SetTime(const tm & in_sTM); |
vtraveller | 8:2192f2809f59 | 8 | |
vtraveller | 8:2192f2809f59 | 9 | #endif /* __TIME_HELPER_H__ */ |