summaryrefslogtreecommitdiffstatshomepage
path: root/stm/rtc.h
diff options
context:
space:
mode:
authormux <freelancer.c@gmail.com>2014-01-23 13:49:06 +0200
committermux <freelancer.c@gmail.com>2014-01-23 13:49:06 +0200
commit638179fb9cea822c30a84f35dd7685660e6d6c41 (patch)
tree02fe120248f812c4dd936dd594ca5911e14d509e /stm/rtc.h
parentc4808dae0ac4d84c1b7651c904a42cfc47313a91 (diff)
downloadmicropython-638179fb9cea822c30a84f35dd7685660e6d6c41.tar.gz
micropython-638179fb9cea822c30a84f35dd7685660e6d6c41.zip
Move RTC to Separate Module
* Move RTC code from main to a separate module.
Diffstat (limited to 'stm/rtc.h')
-rw-r--r--stm/rtc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stm/rtc.h b/stm/rtc.h
new file mode 100644
index 0000000000..6b1ff1b454
--- /dev/null
+++ b/stm/rtc.h
@@ -0,0 +1,2 @@
+void rtc_init(void);
+mp_obj_t pyb_rtc_read(void);