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

[DON'T MERGE] Update pac #102

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

usbalbin
Copy link
Contributor

@usbalbin usbalbin commented Dec 16, 2023

#96 requires updates to the pac. However the new pac changes register blocks member fields to access methods.

Almost all this PR does is adding paranthesis to things like

- dac.dac_cr.modify(|_, w| w.$en().clear_bit());
+ dac.dac_cr().modify(|_, w| w.$en().clear_bit());

This PR currently uses stm32g4 from the nightly repo, I assume that at some point when a new version of the pac is released. We can then merge this PR(after updating it to depend on that released pac).

I will use this as a base when working on #96 for now..

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.

None yet

1 participant