summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-04-16 15:00:01 -0700
committerGitHub <noreply@github.com>2018-04-16 15:00:01 -0700
commit84d4be279e629f4094d9e72770e807bd1bb166f6 (patch)
tree6e4b9556548655b7fc8c2d07e4e287f440aab8da /shared-bindings
parent8e2080411f65598b1b704f829bc2761455265f72 (diff)
Add a table of contents reference to RTC
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/rtc/__init__.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/shared-bindings/rtc/__init__.c b/shared-bindings/rtc/__init__.c
index 89e3a24dd..ac67a7131 100644
--- a/shared-bindings/rtc/__init__.c
+++ b/shared-bindings/rtc/__init__.c
@@ -41,6 +41,13 @@
//| The `rtc` module provides support for a Real Time Clock.
//| It also backs the `time.time()` and `time.localtime()` functions using the onboard RTC if present.
//|
+//| Libraries
+//|
+//| .. toctree::
+//| :maxdepth: 3
+//|
+//| RTC
+//|
void rtc_reset(void) {
MP_STATE_VM(rtc_time_source) = (mp_obj_t)&rtc_rtc_obj;