-
Book Overview & Buying
-
Table Of Contents
Hands-On RTOS with Microcontrollers - Second Edition
By :
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 by 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 feature – stream buffers. Throughout this chapter, we’ll keep a close eye on overall system-performance, using SystemView. By the end, you should have a good understanding of how to take advantage of RTOS features when writing drivers, and the trade-offs to be made.
The following topics will be covered in this chapter: