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.
Diff: RTC.h
- Revision:
- 0:34f429428d45
diff -r 000000000000 -r 34f429428d45 RTC.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/RTC.h Tue Mar 28 09:07:49 2017 +0000 @@ -0,0 +1,31 @@ +#ifndef _RTC_H_ +#define _RTC_H_ + +#include "mbed.h" + +/* Defines */ +#define nRTCADRESS_W 0xD0 +#define nRTCADRESS_R 0xD1 + +/* Funktionen */ +void vfStopRTCOszi(); +void vfStartAndInitRTC(unsigned char bSeconds, + unsigned char bMinutes, + unsigned char bHours, + unsigned char bDay, + unsigned char bDate, + unsigned char bMonth, + unsigned char bYear, + unsigned char bControl); +void vfSetTime(unsigned char bSeconds, + unsigned char bMinutes, + unsigned char bHours); +void vfGetTime(unsigned char *bSeconds, + unsigned char *bMinutes, + unsigned char *bHours); +unsigned char bfBcdToDez(unsigned char bBcdValue); +char cfDezToBcd(unsigned char bDezValue); + + + +#endif \ No newline at end of file