May 2020
Intermediate to advanced
496 pages
13h 54m
English
We saw that, compared to a polled approach, the interrupt-based driver is considerably better in terms of CPU utilization. But what about applications with a high data rate that require millions of transfers per second? The next step in improved efficiency can be obtained by having the CPU involved as little as possible by pushing most of the work for transferring data around onto specialized peripheral hardware within the MCU.
In this example, we'll work through creating a driver using the same buffer-based interface as the interrupt-based driver. The only difference will ...