diff options
| author | Angus Gratton <angus@redyak.com.au> | 2023-10-31 16:42:10 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-11-03 18:26:51 +1100 |
| commit | 8c432ea2d437255eefb4aff18764936ad11b70c7 (patch) | |
| tree | 736d4bbf2ff2b8f0d86974bafa2a9044c7cb6d1e /py/objproperty.c | |
| parent | b41055a5a3e1c51ee7ea274da4744dd47c211b3a (diff) | |
rp2: Remove 1ms timeout to make idle waiting tickless.
The main motivation for doing this was to reduce the latency when the
system is woken by a USB interrupt. The best_effort_wfe_or_timeout()
function calls into the pico-sdk dynamic timer framework which sets up a
new dynamic timer instance each time, and then has to tear it down before
continuing after a WFE.
Testing Python interrupt latency, it seems to be improved by about 12us
(from average of 46us to 34us running a Pin IRQ). C-based "scheduled
nodes" should see even lower latency.
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Diffstat (limited to 'py/objproperty.c')
0 files changed, 0 insertions, 0 deletions
