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

Implement InputPin for Output<OpenDrain> pins #114

Merged
merged 6 commits into from Jul 18, 2020

Conversation

teskje
Copy link
Collaborator

@teskje teskje commented Jul 17, 2020

Forked from #105 and added some cleanup.

Resolves #84.
Once this is merged we can close both #88 and #105.

David-OConnor and others added 5 commits July 17, 2020 16:24
This commit:
 - Makes the order of InputPin impls consistent
 - Impls InputPin only for Output<OpenDrain>, not the generic
   Output<MODE>
 - Adjusts the register access in accordance with the recently merged
   GPIO refactoring (stm32-rs#42)
 - Makes rustfmt happy
@teskje teskje requested a review from Sh3Rm4n July 17, 2020 14:48
@teskje teskje changed the title Inputpin for outputpin Implement InputPin for Output<OpenDrain> pins Jul 17, 2020
@David-OConnor
Copy link
Contributor

Sweet

@teskje
Copy link
Collaborator Author

teskje commented Jul 18, 2020

@David-OConnor I'll take that to mean this looks good to you? If so I'll merge tomorrow.

@David-OConnor
Copy link
Contributor

Yep!

@teskje teskje merged commit 8232126 into stm32-rs:master Jul 18, 2020
This was referenced Jul 18, 2020
@teskje teskje deleted the inputpin-for-outputpin branch July 18, 2020 10:50
@David-OConnor
Copy link
Contributor

Yep - looks good!

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.

Implement InputPin trait for PA1<Output<OpenDrain>>
2 participants