ChibiOS/HAL 9.0.0
|
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. | |
Implementation capabilities | |
#define | RTC_SUPPORTS_CALLBACKS TRUE |
Callback support int the driver. | |
#define | RTC_ALARMS 2 |
Number of alarms available. | |
#define | RTC_HAS_STORAGE FALSE |
Presence of a local persistent storage. | |
PLATFORM configuration options | |
#define | PLATFORM_RTC_USE_RTC1 FALSE |
RTCD1 driver enable switch. |
Typedefs | |
typedef void(* | rtccb_t) (RTCDriver *rtcp, rtcevent_t event) |
Type of a generic RTC callback. |
Enumerations | |
enum | rtcevent_t { RTC_EVENT_SECOND = 0 } |
Type of an RTC event. More... |
Functions | |
void | rtc_lld_init (void) |
RTC driver identifier. | |
void | rtc_lld_set_time (RTCDriver *rtcp, const RTCDateTime *timespec) |
Set current time. | |
void | rtc_lld_get_time (RTCDriver *rtcp, RTCDateTime *timespec) |
Get current time. | |
void | rtc_lld_set_callback (RTCDriver *rtcp, rtccb_t callback) |
PLATFORM RTC subsystem low level driver header.
Definition in file hal_rtc_lld.h.