3 ms·
This is the way. You explained it better than I could have. The example being an IO pin toggle is not great, because it's such a simple operation, and typicall
by mips_r4300i 3y ago
This is the way. You explained it better than I could have.
The example being an IO pin toggle is not great, because it's such a simple operation, and typically will be intrinsically atomic on many MCUs.
Now, something like setting up a DMA on one of the 2 available DMA engines you may have, and blocking til completion via interrupt, that is complex enough it has a much better justification for the abstraction salad.