|
ChibiOS/HAL
6.1.0
|
RTC Driver code. More...
#include "hal.h"Go to the source code of this file.
Functions | |
| void | rtcInit (void) |
| RTC Driver initialization. More... | |
| void | rtcObjectInit (RTCDriver *rtcp) |
| Initializes a generic RTC driver object. More... | |
| void | rtcSetTime (RTCDriver *rtcp, const RTCDateTime *timespec) |
| Set current time. More... | |
| void | rtcGetTime (RTCDriver *rtcp, RTCDateTime *timespec) |
| Get current time. More... | |
| void | rtcSetAlarm (RTCDriver *rtcp, rtcalarm_t alarm, const RTCAlarm *alarmspec) |
| Set alarm time. More... | |
| void | rtcGetAlarm (RTCDriver *rtcp, rtcalarm_t alarm, RTCAlarm *alarmspec) |
| Get current alarm. More... | |
| void | rtcSetCallback (RTCDriver *rtcp, rtccb_t callback) |
| Enables or disables RTC callbacks. More... | |
| void | rtcConvertDateTimeToStructTm (const RTCDateTime *timespec, struct tm *timp, uint32_t *tv_msec) |
Convert RTCDateTime to broken-down time structure. More... | |
| void | rtcConvertStructTmToDateTime (const struct tm *timp, uint32_t tv_msec, RTCDateTime *timespec) |
Convert broken-down time structure to RTCDateTime. More... | |
| uint32_t | rtcConvertDateTimeToFAT (const RTCDateTime *timespec) |
| Get current time in format suitable for usage in FAT file system. More... | |
RTC Driver code.
Definition in file hal_rtc.c.