Add a table of contents reference to RTC

This commit is contained in:
Scott Shawcroft 2018-04-16 15:00:01 -07:00 committed by GitHub
parent 8e2080411f
commit 84d4be279e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -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;