mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
2a7034c77d
When a push-button is released and PA13/PA14 are defined as input (high-Z) the LED should not be active as the circuit is open but a small current leak through PCB or push-button close the circuit and allows a small LED bias giving erroneous level voltage. So it is recommended to activate an internal pull-up in order to clearly fix the voltage at PA13/PA14 when button is released and to wait a short delay before to read the GPIO value only when the pull-up is correctly configured. Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> |
||
---|---|---|
.. | ||
common | ||
stih410-b2260 | ||
stm32f429-discovery | ||
stm32f429-evaluation | ||
stm32f469-discovery | ||
stm32f746-disco | ||
stm32h743-disco | ||
stm32h743-eval | ||
stm32h750-art-pi | ||
stm32mp1 | ||
stv0991 |