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

CH32V003: Add accessors for DBGMCU_CR CSR register and correct its bit definitions. #496

Merged
merged 1 commit into from
Jan 19, 2025

Conversation

bikeNomad
Copy link
Contributor

This PR adds __get_DEBUG_CR() and __set_DEBUG_CR() functions to access the DBGMCU_CR CSR register in the CH32V003.
It also corrects the bit definitions for that register per the Reference Manual section 18.2.

Also correct bit definitions for that register.
@cnlohr cnlohr merged commit 144974b into cnlohr:master Jan 19, 2025
81 checks passed
@cnlohr
Copy link
Owner

cnlohr commented Jan 19, 2025

Thanks, this is great!

@bikeNomad bikeNomad deleted the add-ch32v003-dbgmcu_cr branch January 19, 2025 17:21
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