diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-12-16 14:42:23 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-12-16 14:42:23 +0000 |
commit | 968d0cf6e9e8f362021e4288cd3336fe7922e00e (patch) | |
tree | be576765d1d02f9ad6b36f18542f0f4f06295740 /os/hal/include | |
parent | 172680aea3057dcea62fc4a053510d2dd03bb911 (diff) | |
download | ChibiOS-968d0cf6e9e8f362021e4288cd3336fe7922e00e.tar.gz ChibiOS-968d0cf6e9e8f362021e4288cd3336fe7922e00e.tar.bz2 ChibiOS-968d0cf6e9e8f362021e4288cd3336fe7922e00e.zip |
RTC. High level API rolled back.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3619 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/rtc.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/os/hal/include/rtc.h b/os/hal/include/rtc.h index 354640a11..1264c5bd8 100644 --- a/os/hal/include/rtc.h +++ b/os/hal/include/rtc.h @@ -85,20 +85,15 @@ extern "C" { void rtcInit(void);
void rtcSetTime(RTCDriver *rtcp, const RTCTime *timespec);
void rtcGetTime(RTCDriver *rtcp, RTCTime *timespec);
- void rtcSetWakeup(RTCDriver *rtcp, RTCWakeup *wakeupspec);
- void rtcGetWakeup(RTCDriver *rtcp, RTCWakeup *wakeupspec);
-
#if RTC_ALARMS > 0
void rtcSetAlarm(RTCDriver *rtcp,
rtcalarm_t alarm,
const RTCAlarm *alarmspec);
void rtcGetAlarm(RTCDriver *rtcp, rtcalarm_t alarm, RTCAlarm *alarmspec);
-#endif /* RTC_ALARMS > 0 */
-
+#endif
#if RTC_SUPPORTS_CALLBACKS
- void rtcSetCallback(RTCDriver *rtcp, RTCCallbackConfig *cb_cfg);
-#endif /* RTC_SUPPORTS_CALLBACKS */
-
+ void rtcSetCallback(RTCDriver *rtcp, rtccb_t callback);
+#endif
#ifdef __cplusplus
}
#endif
|