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

Allow glitchless output configuration #3

Merged
merged 2 commits into from
May 5, 2022
Merged

Allow glitchless output configuration #3

merged 2 commits into from
May 5, 2022

Conversation

Rahix
Copy link
Owner

@Rahix Rahix commented May 5, 2022

When configuring a pin as output, it was previously not possible to glitchlessly bring the pin into the desired electrical state. For lots of control usecases, this is a very important feature.

Change the semantics of into_output() such that it always puts the pin into a LOW state. Add a new into_output_high() which always puts the pin into a HIGH state.

I am going to mark this as a breaking change because existing code might rely on the fact that into_output() previously didn't touch the pin state...

Rahix added 2 commits May 5, 2022 23:12
When configuring a pin as output, it was previously not possible to
glitchlessly bring the pin into the desired electrical state.  Change
the semantics of `into_output()` such that it always puts the pin into a
LOW state.  Add a new `into_output_high()` which always puts the pin
into a HIGH state.
@Rahix Rahix merged commit a8e03ad into main May 5, 2022
@Rahix Rahix deleted the glitchless-outputs branch May 5, 2022 21:25
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