Fix register field widths - #46
Merged
i509VCB merged 2 commits intoAug 31, 2026
Merged
Conversation
The SVD gave these three a single bit where IMASK and RIS got eight, so only interrupt 0 of the group was reachable through them. hw_cpuss.h masks all five with 0xFF.
GEN_EVENT1 masks DIO16 to DIO31 at bits 16 to 31, but both event blocks shared a 16-bit fieldset based at bit 0, so the upper half was reachable only at the wrong offset.
CordlessCoder
added a commit
to CordlessCoder/mspm0-data
that referenced
this pull request
Sep 14, 2026
Four conflicts, all against changes this branch already carried: cpuss_v1 and gpio_v1 are mspm0-rs#46 coming back. The branch has the same widths under the cleanup pass, which merges the five interrupt fieldsets and drops the trivial enums, so the branch side was kept. Flattening both revisions to register offset and field bit-ranges shows no difference: 15 registers in cpuss_v1, 62 in gpio_v1. ./d takes the Darwin job count, which supersedes the plain nproc here. GENERATE_PERIPHERALS takes both entries.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two widths that are narrower than the hardware, so a driver written against them addresses the wrong bits.
No new peripherals, just the two corrections.
This is the first of a series replacing #44.