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

gpio: add dynamic pin support and conversion functions #20

Merged
merged 2 commits into from
Oct 29, 2024

Conversation

astapleton
Copy link
Contributor

  • Add DynamicPin to allow for dynamic pin mode changes
  • Add type conversion functions for pin configuration

This is taken directly from the implementation in stm32h7xx-hal.

@astapleton astapleton requested a review from richardeoin August 13, 2024 19:09
astapleton added a commit that referenced this pull request Oct 8, 2024
This adds the basic outline functionality for the GPIO module and will
form the base for follow-up PRs (see #19, #20, #21) to round out the
GPIO functionality.

The gpio module is largely based on/copied from the implementation in
[stm32h7xx-hal](https://github.com/stm32-rs/stm32h7xx-hal).
Base automatically changed from as/gpio-base to master October 8, 2024 20:49
src/gpio/convert.rs Outdated Show resolved Hide resolved
@astapleton astapleton force-pushed the as/gpio-dynamic branch 3 times, most recently from 3c0210b to 1c4cfd6 Compare October 15, 2024 17:09
@astapleton
Copy link
Contributor Author

The version check failing is addressed by #25

@astapleton astapleton merged commit f3b4914 into master Oct 29, 2024
15 checks passed
@astapleton astapleton deleted the as/gpio-dynamic branch October 29, 2024 22:45
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