diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-25 10:03:59 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-09-25 10:03:59 +0000 |
commit | 41fd0fb5fb2d446605e7a99c11f46d7c28071500 (patch) | |
tree | 36e62fdc404fdbbacf5139a547ff8ac0e4d5bc15 /os/hal/include | |
parent | 5edc2c8b69cd60a1c53b565e529e099c36a243c4 (diff) | |
download | ChibiOS-41fd0fb5fb2d446605e7a99c11f46d7c28071500.tar.gz ChibiOS-41fd0fb5fb2d446605e7a99c11f46d7c28071500.tar.bz2 ChibiOS-41fd0fb5fb2d446605e7a99c11f46d7c28071500.zip |
RTC. API changes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3405 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/rtc.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/os/hal/include/rtc.h b/os/hal/include/rtc.h index 5adf9559c..02aec2ceb 100644 --- a/os/hal/include/rtc.h +++ b/os/hal/include/rtc.h @@ -74,10 +74,20 @@ extern "C" { rtccb_t secondcb, rtccb_t alarmcb);
#endif /* RTC_SUPPORTS_CALLBACKS */
- void rtcSetTime(uint32_t tv_sec);
- uint32_t rtcGetTime(uint16_t *msec);
- void rtcSetAlarm(uint32_t tv_alarm);
- uint32_t rtcGetAlarm(void);
+ void rtcSetTime(RTCDateTime *timespec);
+ void rtcGetTime(RTCDateTime *timespec);
+
+
+
+
+ void rtcSetAlarm(RTCDateTime *timespec);
+ void rtcGetAlarm(RTCDateTime *timespec);
+
+
+
+
+
+
#ifdef __cplusplus
}
#endif
|