Files
micropython/tests/extmod/machine_hard_timer.py.exp
Chris Webb ec6cdf3718 tests: Test hardware timers as well as software timers.
On platforms where hardware timers are available, test these in each
combination of hard/soft and one-shot/periodic in the same way as for
software timers. Where a platform supports both software (id = -1) and
hardware (id >= 0) timers, the behaviour of both is now checked.

For now, esp8266 is the only platform that supports hardware timers and
both hard and soft callbacks.

Signed-off-by: Chris Webb <chris@arachsys.com>
2025-09-25 23:59:24 +10:00

17 lines
544 B
Plaintext

callback one-shot soft 50 unlocked
callback one-shot soft 25 unlocked
callback one-shot hard 50 locked
callback one-shot hard 25 locked
callback periodic soft 50 unlocked
callback periodic soft 50 unlocked
callback periodic soft 50 unlocked
callback periodic soft 50 unlocked
callback periodic soft 25 unlocked
callback periodic soft 25 unlocked
callback periodic hard 50 locked
callback periodic hard 50 locked
callback periodic hard 50 locked
callback periodic hard 50 locked
callback periodic hard 25 locked
callback periodic hard 25 locked