-
Notifications
You must be signed in to change notification settings - Fork 181
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
Pwm implementation is missing for Alternate<OpenDrain> #199
Comments
Hmm, from a quick skim of the datasheet, I don't see a reason for it being restricted to OpenDrain. I believe the place where it gets set to |
358: Allow pullup inputs and opendrain outputs r=burrbull a=Windfisch This fixes #321, #199 and extends on #118, and also fixes this issue for other peripherals that don't mind which pull-ups are configured for their inputs and whether their outputs are pushpull or open drain. This is a superset of #357 and #359. Prefer this PR. Co-authored-by: Florian Jung <flo@windfis.ch>
I think this issue can be closed. I am using PWM in OpenDrain-Mode and it works fine. #358 even says that it fixed this issue. |
Currently the Pwm implementation works only for Alternate.
I miss the implementation for Alternate, furthermore I was not able to figure out how to fix this.
Perhaps this Alternate abstraction should become independent of outputmode, and constraints should be changed where both are needed.
The text was updated successfully, but these errors were encountered: