-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
In the C/C++ SDK docs section 4.1.13.3.11. irq_set_priority, the priority levels are described backwards. The ARM docs and the RP2040 datasheet are clear that the lower value corresponds to a higher priority, but the C/C++ SDK docs incorrectly say "Hardware priorities range from 0 (lowest) to 255 (highest)"
Also, it would be nice if section 2.4.5.1 About the NVIC of the RP2040 datasheet explicitly said that higher priority interrupts can interrupt lower priority interrupt handlers. I wasn't sure whether the priorities worked like this or just determined which interrupt would be serviced first, but I'm told on ARM processors higher priority interrupts always preempt lower priority interrupts.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation