aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32/f2/rtc.c
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2013-02-18 14:06:02 -0800
committerPiotr Esden-Tempski2013-02-18 14:06:02 -0800
commit9095f58fa3c167a8646a0f9abd5461115e53e2de (patch)
tree9019211307e8c3fde340c9465d9e9b623cd7440d /lib/stm32/f2/rtc.c
parentb903ae75d847f0764a30744f26d68d9599c7df72 (diff)
parentd9fb4f7401b8bf546cc7e6ddeb9f22d343f0622d (diff)
Merge pull request #79 "More L1 support (and f2/f4 rtc)"
Merge remote-tracking branch 'karlp/pr_more_l1_rtc'
Diffstat (limited to 'lib/stm32/f2/rtc.c')
-rw-r--r--lib/stm32/f2/rtc.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/stm32/f2/rtc.c b/lib/stm32/f2/rtc.c
new file mode 100644
index 0000000..461d0b1
--- /dev/null
+++ b/lib/stm32/f2/rtc.c
@@ -0,0 +1,27 @@
+/** @defgroup rtc_file RTC
+
+@ingroup STM32F2xx
+
+@brief <b>libopencm3 STM32F2xx RTC</b>
+
+*/
+
+/*
+ * This file is part of the libopencm3 project.
+ *
+ * This library is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#include <libopencm3/stm32/rtc.h>
+#include <libopencm3/stm32/common/rtc_common_bcd.h>