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

Minimal DAC driver #318

Merged
merged 7 commits into from
Aug 2, 2022
Merged

Minimal DAC driver #318

merged 7 commits into from
Aug 2, 2022

Conversation

jonas-schievink
Copy link
Contributor

@jonas-schievink jonas-schievink commented Jun 14, 2022

This PR adds a minimal DAC driver that supports manual sample output on channel 1 only, and does not manage pins. I hope that's okay and you'll still consider merging this :)

@jonas-schievink jonas-schievink marked this pull request as ready for review June 15, 2022 12:52
bors bot added a commit to stm32-rs/stm32-rs that referenced this pull request Jun 15, 2022
742: F302: rename `DAC` to `DAC1` r=richardeoin a=jonas-schievink

This matches other chips in the F30x lineage and is also how the reference manual calls it.

cc stm32-rs/stm32f3xx-hal#318, where the inconsistent name required some extra `#[cfg]`s

Co-authored-by: Jonas Schievink <[email protected]>
@jonas-schievink
Copy link
Contributor Author

Friendly ping @Sh3Rm4n :)

@Sh3Rm4n
Copy link
Member

Sh3Rm4n commented Aug 2, 2022

Thanks! That's very much a minimal implementation. Wasn't aware that the implementation is so easy 😀

Sorry for the delay. With the addition of a CHANGELOG entry, this would be good to go!

@jonas-schievink
Copy link
Contributor Author

Thanks for the review! I've added a changelog entry.

@Sh3Rm4n Sh3Rm4n merged commit d30018e into stm32-rs:master Aug 2, 2022
@Sh3Rm4n Sh3Rm4n mentioned this pull request Sep 7, 2022
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.

3 participants