Documentation
¶
Overview ¶
This example shows how to use channels to divide interrupt handler into two parts: fast part - that runs in interrupt context and slow part - that runs in thread context.
Fast part only enqueues events/data that receives from source (you) and informs the source (using LED3) if its buffer is full. Slow part dequeues events/data and handles them. This scheme can be used to implement interrupt driven I/O library.
Click to show internal directories.
Click to hide internal directories.