Skip to content

set default=0 for DRACR, DRSR, IRACR, IRSR - #212

Merged
jonathanpallant merged 1 commit into
rust-embedded:mainfrom
rikyborg:default-racr-rsr
Aug 4, 2026
Merged

set default=0 for DRACR, DRSR, IRACR, IRSR#212
jonathanpallant merged 1 commit into
rust-embedded:mainfrom
rikyborg:default-racr-rsr

Conversation

@rikyborg

@rikyborg rikyborg commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Add default value for Dracr, Drsr, Iracr and Irsr to enable usage of builder pattern, as mentioned in #189 (comment).

The bits not specified in the bitbybit::bitfield, are specified as UNK/SBZP by the reference manual, so writing zero from software should be correct.

@jonathanpallant

Copy link
Copy Markdown
Contributor

Makes sense, thanks!

@jonathanpallant
jonathanpallant added this pull request to the merge queue Aug 4, 2026
Merged via the queue into rust-embedded:main with commit 1116627 Aug 4, 2026
96 checks passed
@rikyborg
rikyborg deleted the default-racr-rsr branch August 5, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants