You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a sample application for the WP8548 on my mangOH green rev 8 board which controls some LEDs via een external pullup resistor. For electronic safety reasons I prefer to use external pullup resistors with my output pins iso internal pullups.
Then I need to control the outputs with open drain functionality.
During build time everything ran smoothly, but, at runtime I discovered that the API functions below have not been implemented.
What is the reason behind this?
Is it possible to add this functionality?
Some GPIO controllers directly support open drain outputs; many don't. When
you need open drain signaling but your hardware doesn't directly support it,
there's a common idiom you can use to emulate it with any GPIO pin that can
be used as either an input or an output:
LOW: gpio_direction_output(gpio, 0) ... this drives the signal
and overrides the pullup.
HIGH: gpio_direction_input(gpio) ... this turns off the output,
so the pullup (or some other device) controls the signal.
So if you use _SetInput it seems you can workaround that.
I created a sample application for the WP8548 on my mangOH green rev 8 board which controls some LEDs via een external pullup resistor. For electronic safety reasons I prefer to use external pullup resistors with my output pins iso internal pullups.
Then I need to control the outputs with open drain functionality.
During build time everything ran smoothly, but, at runtime I discovered that the API functions below have not been implemented.
What is the reason behind this?
Is it possible to add this functionality?
The text was updated successfully, but these errors were encountered: