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

Add more infallible GPIO methods #247

Merged
merged 5 commits into from
Jun 26, 2020
Merged

Add more infallible GPIO methods #247

merged 5 commits into from
Jun 26, 2020

Conversation

hannobraun
Copy link
Member

This continues the work done in #242.

This is based on #246. Until that's merged, I'm leaving this as a draft.

This is more efficient than the default implementation, as this does
just a single register write, while the default version is implemented
using multiple method calls. I think it's also a bit more clear for the
casual reader what's going on.
@hannobraun
Copy link
Member Author

Rebased and ready for review.

@hannobraun hannobraun marked this pull request as ready for review June 26, 2020 11:02
@hannobraun hannobraun mentioned this pull request Jun 26, 2020
7 tasks
@david-sawatzke david-sawatzke merged commit c713b2d into lpc-rs:master Jun 26, 2020
@hannobraun hannobraun deleted the infallible-gpio branch June 26, 2020 15:52
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