Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register fields should support write-once and read write-once #34

Open
phausler opened this issue Nov 16, 2023 · 1 comment
Open

Register fields should support write-once and read write-once #34

phausler opened this issue Nov 16, 2023 · 1 comment
Labels
enhancement New feature or request mmio Related to the MMIO library

Comments

@phausler
Copy link
Member

For common definitions of register interfaces (such as SVD) there are two additional forms:

write-once: Read operations have an undefined results. Only the first write after reset has an effect.

read write-once: Read access is always permitted. Only the first write access after a reset will have an effect on the content. Other write operations have an undefined result.

@rauhul
Copy link
Collaborator

rauhul commented Nov 17, 2023

WriteOnce is something I have spent a quite a bit of time thinking about, but haven't been able find great solutions for.

@rauhul rauhul added the enhancement New feature or request label Nov 17, 2023
@rauhul rauhul added the mmio Related to the MMIO library label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mmio Related to the MMIO library
Projects
None yet
Development

No branches or pull requests

2 participants