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

Do not hard code pin input mode for PCNT (IDFGH-13364) #14277

Closed
Heiko-L opened this issue Jul 30, 2024 · 1 comment
Closed

Do not hard code pin input mode for PCNT (IDFGH-13364) #14277

Heiko-L opened this issue Jul 30, 2024 · 1 comment
Assignees
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Type: Feature Request Feature request for IDF

Comments

@Heiko-L
Copy link

Heiko-L commented Jul 30, 2024

Is your feature request related to a problem?

In pulse_cnt.c the input pin for the pulse counter is set with pull ups enabled. Some people, like me, do not want that.

Describe the solution you'd like.

Let the user decide if he wants pull up/down or plain high Z input.

Describe alternatives you've considered.

There are no alternatives because the behavior is hard coded.

Additional context.

No response

@Heiko-L Heiko-L added the Type: Feature Request Feature request for IDF label Jul 30, 2024
@github-actions github-actions bot changed the title Do not hard code pin input mode for PCNT Do not hard code pin input mode for PCNT (IDFGH-13364) Jul 30, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Jul 30, 2024
@espressif-bot espressif-bot added Status: In Progress Work is in progress and removed Status: Opened Issue is new labels Sep 2, 2024
@kriegste
Copy link

kriegste commented Sep 2, 2024

Same goes for the UART. But you can try
gpio_pulldown_en(GPIO);
and
gpio_pullup_dis(GPIO);
after the init.

@espressif-bot espressif-bot added Status: Done Issue is done internally Resolution: NA Issue resolution is unavailable and removed Status: In Progress Work is in progress labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Type: Feature Request Feature request for IDF
Projects
None yet
Development

No branches or pull requests

4 participants