aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/f4/rtc.h
diff options
context:
space:
mode:
authorMichael Aherne2013-02-26 18:23:31 -0800
committerMichael Aherne2013-02-26 21:22:58 -0800
commita121769785c1cde6a5599ba3449021b673144d9c (patch)
treeae5bd0c82a0be24d6f4a99e85d32aec8dc2046a2 /include/libopencm3/stm32/f4/rtc.h
parent8c8b6440e7464f77a9a7b186d99db9f969f71d05 (diff)
Adding f4-specific rtc functions
These should also work with the f2
Diffstat (limited to 'include/libopencm3/stm32/f4/rtc.h')
-rw-r--r--include/libopencm3/stm32/f4/rtc.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/libopencm3/stm32/f4/rtc.h b/include/libopencm3/stm32/f4/rtc.h
index ab8d3ee..55b5b23 100644
--- a/include/libopencm3/stm32/f4/rtc.h
+++ b/include/libopencm3/stm32/f4/rtc.h
@@ -36,4 +36,13 @@ LGPL License Terms @ref lgpl_license
#include <libopencm3/stm32/memorymap.h>
#include <libopencm3/stm32/common/rtc_common_bcd.h>
-#endif \ No newline at end of file
+BEGIN_DECLS
+
+void rtc_enable_wakeup_timer(void);
+void rtc_disable_wakeup_timer(void);
+void rtc_enable_wakeup_timer_interrupt(void);
+void rtc_disable_wakeup_timer_interrupt(void);
+
+END_DECLS
+
+#endif