If a port defines MICROPY_SOFT_TIMER_TICKS_MS then soft_timer assumes a SysTick back end, and provides a soft_timer_next variable that sets when the next call to soft_timer_handler() should occur. Otherwise, a port should provide soft_timer_get_ms() and soft_timer_schedule_at_ms() with appropriate semantics (see comments). Existing users of soft_timer should continue to work as they did. Signed-off-by: Damien George <damien@micropython.org> |
||
|---|---|---|
| .. | ||
| libc | ||
| memzip | ||
| netutils | ||
| readline | ||
| runtime | ||
| timeutils | ||
| tinyusb | ||
| upytesthelper | ||
| README.md | ||
This directory contains libraries, utilities and helper code developed specifically for this project. The code is intended to be portable and usable by any port.