Add a table of contents reference to RTC
This commit is contained in:
parent
8e2080411f
commit
84d4be279e
@ -41,6 +41,13 @@
|
|||||||
//| The `rtc` module provides support for a Real Time Clock.
|
//| 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.
|
//| 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) {
|
void rtc_reset(void) {
|
||||||
MP_STATE_VM(rtc_time_source) = (mp_obj_t)&rtc_rtc_obj;
|
MP_STATE_VM(rtc_time_source) = (mp_obj_t)&rtc_rtc_obj;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user