11 Efficient Drivers and ISRs

Join our book community on Discord

https://packt.link/embedded

A qr code on a white background Description automatically generated

In the last chapter we explored the trade-offs between different drivers for transferring data using a UART. We discovered that we could use ISRs instead of polling to improve the overall efficiency of the driver’s usage of processor bandwidth. We also looked at the difference between a queue-based approach and the use of buffers.In this chapter we’ll attempt to further improve the efficiency of our driver using direct memory access (DMA). After that, we'll explore how drivers interact with the rest of the system, and we’ll take a look at another FreeRTOS ...

Get Hands-On RTOS with Microcontrollers - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.