From a121769785c1cde6a5599ba3449021b673144d9c Mon Sep 17 00:00:00 2001 From: Michael Aherne Date: Tue, 26 Feb 2013 18:23:31 -0800 Subject: Adding f4-specific rtc functions These should also work with the f2 --- include/libopencm3/stm32/f4/rtc.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'include/libopencm3/stm32/f4/rtc.h') 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 #include -#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 -- cgit v1.2.3