aboutsummaryrefslogtreecommitdiff
path: root/stm/rtc.h
diff options
context:
space:
mode:
authorDamien George2014-02-19 23:15:09 +0000
committerDamien George2014-02-19 23:15:09 +0000
commit302646625b257bc76b9318cf68696aac18e42006 (patch)
tree06f4c2de72595f0c8c46c4f0f579c39cd418adac /stm/rtc.h
parent46239413d033a25662700ba39a97b07737b820fc (diff)
stm: Add RTC start-up info, and uPy bindings.
Diffstat (limited to 'stm/rtc.h')
-rw-r--r--stm/rtc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/stm/rtc.h b/stm/rtc.h
index 6b1ff1b45..fee4da888 100644
--- a/stm/rtc.h
+++ b/stm/rtc.h
@@ -1,2 +1,4 @@
void rtc_init(void);
-mp_obj_t pyb_rtc_read(void);
+
+MP_DECLARE_CONST_FUN_OBJ(pyb_rtc_info_obj);
+MP_DECLARE_CONST_FUN_OBJ(pyb_rtc_read_obj);