summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/uasyncio_threadsafeflag.py
Commit message (Collapse)AuthorAge
* tests: Rename uasyncio to asyncio.Jim Mussared2023-06-19
| | | | | | This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* tests: Replace umodule with module everywhere.Jim Mussared2023-06-08
| | | | | | This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
* extmod/uasyncio: Add clear method to ThreadSafeFlag.Ned Konz2022-08-12
| | | | | | | | | | This is useful in situations where the ThreadSafeFlag is reused and needs to be cleared of any previous, unwanted event. For example, clear the flag at the start of an operation, trigger the operation (eg an I2C write), then (a)wait for an external event to set the flag (eg a pin IRQ). Further events may trigger the flag again but these are unwanted and should be cleared before the next cycle starts.
* tests/extmod: Add test for ThreadSafeFlag.Jim Mussared2021-02-16
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>