summaryrefslogtreecommitdiff
path: root/stmhal/rtc.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-15 12:54:48 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-15 12:54:48 +0000
commit8b96af69077d2c9b4e523e78497e639fde1efc68 (patch)
tree42cc0edc2f17f5385e8872c3ae8f0cc1c99c1493 /stmhal/rtc.h
parent07174c6fca67147c120b1a102b7cc40ad3ce4d69 (diff)
stmhal: Get RTC working.
Diffstat (limited to 'stmhal/rtc.h')
-rw-r--r--stmhal/rtc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stmhal/rtc.h b/stmhal/rtc.h
new file mode 100644
index 000000000..fee4da888
--- /dev/null
+++ b/stmhal/rtc.h
@@ -0,0 +1,4 @@
+void rtc_init(void);
+
+MP_DECLARE_CONST_FUN_OBJ(pyb_rtc_info_obj);
+MP_DECLARE_CONST_FUN_OBJ(pyb_rtc_read_obj);