32 #if (HAL_USE_RTC == TRUE) || defined(__DOXYGEN__) 44 #define RTC_SUPPORTS_CALLBACKS TRUE 54 #define RTC_HAS_STORAGE FALSE 70 #if !defined(PLATFORM_RTC_USE_RTC1) || defined(__DOXYGEN__) 71 #define PLATFORM_RTC_USE_RTC1 FALSE 86 #define _rtc_driver_methods \ 94 #if (RTC_SUPPORTS_CALLBACKS == TRUE) || defined(__DOXYGEN__) 116 #if (RTC_HAS_STORAGE == TRUE) || defined(__DOXYGEN__) 131 #if (RTC_HAS_STORAGE == TRUE) || defined(__DOXYGEN__) 149 #if (PLATFORM_RTC_USE_RTC1 == TRUE) && !defined(__DOXYGEN__) 153 #if (RTC_HAS_STORAGE == TRUE) && !defined(__DOXYGEN__) 171 #if RTC_SUPPORTS_CALLBACKS == TRUE void rtc_lld_get_time(RTCDriver *rtcp, RTCDateTime *timespec)
Get current time.
RTCDriver virtual methods table.
void rtc_lld_set_alarm(RTCDriver *rtcp, rtcalarm_t alarm, const RTCAlarm *alarmspec)
Set alarm time.
rtcevent_t
Type of an RTC event.
Type of a structure representing an RTC alarm time stamp.
void rtc_lld_init(void)
RTC driver identifier.
void rtc_lld_get_alarm(RTCDriver *rtcp, rtcalarm_t alarm, RTCAlarm *alarmspec)
Get alarm time.
uint32_t rtcalarm_t
Type of an RTC alarm number.
Type of a structure representing an RTC date/time stamp.
const struct RTCDriverVMT * vmt
Virtual Methods Table.
void rtc_lld_set_time(RTCDriver *rtcp, const RTCDateTime *timespec)
Set current time.
Structure representing an RTC driver.
void(* rtccb_t)(RTCDriver *rtcp, rtcevent_t event)
Type of a generic RTC callback.
#define _rtc_driver_methods
FileStream specific methods.