stm32:f1:RTC: add documentation

This commit is contained in:
Ken Sarkies
2014-02-19 13:44:18 +10:30
committed by Karl Palsson
parent 40cde559a7
commit 957c5233f4
2 changed files with 158 additions and 3 deletions

View File

@@ -138,12 +138,18 @@
/* TODO */
/* --- Function prototypes --------------------------------------------------*/
/** RTC Interrupt Flags */
typedef enum {
RTC_SEC, RTC_ALR, RTC_OW,
/** Counter Second Flag */
RTC_SEC,
/** Alarm Event Flag */
RTC_ALR,
/** Counter Overflow Flag */
RTC_OW,
} rtcflag_t;
/* --- Function prototypes --------------------------------------------------*/
BEGIN_DECLS
void rtc_awake_from_off(enum rcc_osc clock_source);