In STM32 there are two modes to configure GPIOS, input and output.
In input mode we have,
- Analog mode
- Floating Input
- Input with pull-up/pull-down
In output mode,
- General purpose output push-pull
- General purpose output Open-drain
- Alternate function output push-pull
- Alternate function output Open-drain.
Can any one explain each of these configurations in detail?