aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/stm32/f1/rtc.h
diff options
context:
space:
mode:
authorKarl Palsson2013-01-22 23:37:54 +0000
committerKarl Palsson2013-01-22 23:55:59 +0000
commite5b32503825c53d278d09a34d7165020e1b5cad4 (patch)
tree860410abc4d99e2d16dee8e69a5d5b42b881f20d /include/libopencm3/stm32/f1/rtc.h
parentb6ee57a5b9fbac7fb1cfe62b6ed8a341bee5543e (diff)
[stm32] Support the "new" BCD style RTC peripheral
Add the register definitions and some of the most basic helper functions for the new style BCD RTC module found on the F2, F4, L1, F3 and F0. This tries to keep as close to HACKING_COMMON_DOC as possible, while maintaining sane names.
Diffstat (limited to 'include/libopencm3/stm32/f1/rtc.h')
-rw-r--r--include/libopencm3/stm32/f1/rtc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/f1/rtc.h b/include/libopencm3/stm32/f1/rtc.h
index 04aea01..a8a8966 100644
--- a/include/libopencm3/stm32/f1/rtc.h
+++ b/include/libopencm3/stm32/f1/rtc.h
@@ -17,6 +17,11 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
+/*
+ * The F1 RTC is a straight timestamp, a completely different peripheral to
+ * that found in the F2, F3, F4, L1 and F0.
+ */
+
#ifndef LIBOPENCM3_RTC_H
#define LIBOPENCM3_RTC_H