The DMA-based UART driver in JeeH is an interesting example of the interaction between hardware, memory use, and blocking behaviour.
Reading data#
In JeeH, the way to read bytes from the UART is to send a message to its device driver, and wait for its …