This question already has an answer here:
I went through the data sheet of STM32F4 and found the pin configuration of GPIOs. I dont understand the difference between these configurations.
• Input floating • Input pull-up • Input-pull-down • Analog • Output open-drain with pull-up or pull-down capability • Output push-pull with pull-up or pull-down capability
I have used some of these configurations by vaguely understanding it. Could you help me to understand how this works? What is the difference between these configurations?