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

Fix gpio configuration for pwm input #56

Merged
merged 2 commits into from
Apr 27, 2019

Conversation

gbip
Copy link
Contributor

@gbip gbip commented Apr 26, 2019

It seems that I made a mistake in #10 as the gpio where not properly configured. I don't know why our tests worked, but this PR fix this issue.

Here is a screenshot of the reference manual, p166 (table 23).

image

@therealprof
Copy link
Member

Interesting that we missed it as this makes more sense. But it's quite possible that PWM output also works in OD mode despite not being documented.

Copy link
Member

@therealprof therealprof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a note to CHANGELOG.md.

@therealprof therealprof merged commit 98e37d9 into stm32-rs:master Apr 27, 2019
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