Skip to content

Interrupt handling documentation issues #113

@MichaelBell

Description

@MichaelBell

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 documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions