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

set_drive_strength for AnyOutput #1995

Closed
undefinedvalue opened this issue Aug 25, 2024 · 1 comment · Fixed by #2075
Closed

set_drive_strength for AnyOutput #1995

undefinedvalue opened this issue Aug 25, 2024 · 1 comment · Fixed by #2075
Assignees
Labels
peripheral:gpio GPIO peripheral

Comments

@undefinedvalue
Copy link

Is there a technical limitation to why esp_hal::gpio::AnyOutput doesn't support set_drive_strength? If not, it should support it to have feature parity with Output.

If there is a reason this can't be done, is there a workaround that still allows creating an AnyOutput for the pin?

(Also, just want to say that the new API for pins is a huge improvement over the last time I was working with this over a year ago, nice work)

@esp-rs esp-rs deleted a comment Aug 25, 2024
@esp-rs esp-rs deleted a comment Aug 25, 2024
@esp-rs esp-rs deleted a comment Aug 25, 2024
@esp-rs esp-rs deleted a comment Aug 25, 2024
@esp-rs esp-rs deleted a comment Aug 25, 2024
@jessebraham
Copy link
Member

There is no technical reason as far as I'm aware, this functionality simply has not been implemented yet. Would be happy to accept a PR for this, otherwise one of the maintainers can take a swing at it whenever they have some free time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
peripheral:gpio GPIO peripheral
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants