Skip to content

RP2040 (and likely other) broken with multiple interrupts when disabling #955

Description

@Kytezign

From the RP2040 documentation, the Interrupt Clear-Enable Register will clear (disable) all enabled interrupts when written with the or as it currently is in:
https://github.com/ZigEmbeddedGroup/microzig/blob/main/core/src/cpus/cortex_m.zig#L417

This seems to be a pervasive bug assuming this is true across all the cortex_m cpus and multiple register accesses.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions