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

ICR management question #180

Open
berkus opened this issue Aug 6, 2023 · 0 comments
Open

ICR management question #180

berkus opened this issue Aug 6, 2023 · 0 comments

Comments

@berkus
Copy link
Member

berkus commented Aug 6, 2023

PL011 documentation on ICR states:

On a write of 1, the corresponding interrupt is cleared. A write of 0 has no effect.

The code in pl011 uart states:

// Clear all pending interrupts.
self.registers.ICR.write(ICR::ALL::CLEAR);

ALL::CLEAR makes all bits 0, achieving a no-op.

Did I miss anything?

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

No branches or pull requests

1 participant