ChibiOS/HAL
7.0.3
|
PLATFORM RTC subsystem low level driver header. More...
Go to the source code of this file.
Data Structures | |
struct | RTCAlarm |
Type of a structure representing an RTC alarm time stamp. More... | |
Macros | |
#define | rtc_lld_driver_fields uint32_t dummy |
Implementation-specific RTCDriver fields. More... | |
Implementation capabilities | |
#define | RTC_SUPPORTS_CALLBACKS TRUE |
Callback support int the driver. More... | |
#define | RTC_ALARMS 2 |
Number of alarms available. More... | |
#define | RTC_HAS_STORAGE FALSE |
Presence of a local persistent storage. More... | |
PLATFORM configuration options | |
#define | PLATFORM_RTC_USE_RTC1 FALSE |
RTCD1 driver enable switch. More... | |
Typedefs | |
typedef void(* | rtccb_t) (RTCDriver *rtcp, rtcevent_t event) |
Type of a generic RTC callback. More... | |
Enumerations |
Functions | |
void | rtc_lld_init (void) |
RTC driver identifier. More... | |
void | rtc_lld_set_time (RTCDriver *rtcp, const RTCDateTime *timespec) |
Set current time. More... | |
void | rtc_lld_get_time (RTCDriver *rtcp, RTCDateTime *timespec) |
Get current time. More... | |
void | rtc_lld_set_alarm (RTCDriver *rtcp, rtcalarm_t alarm, const RTCAlarm *alarmspec) |
Set alarm time. More... | |
void | rtc_lld_get_alarm (RTCDriver *rtcp, rtcalarm_t alarm, RTCAlarm *alarmspec) |
Get alarm time. More... | |
PLATFORM RTC subsystem low level driver header.
Definition in file hal_rtc_lld.h.