2018-02-03 09:07 AM
In STM32 there are two modes to configure GPIOS, input and output.
In input mode we have,
In output mode,
Can any one explain each of these configurations in detail?
Thanks!
#gpio #stm-32 #input #outputSolved! Go to Solution.
2018-02-03 04:02 PM
These are pretty standard concepts, what's challenging your understanding here?
The 'Alternate Function' in ST's nomenclature is attached to the Peripheral's IO logic rather than a user driven GPIO
The 'Analogue Input' turns off the digital sections Schmitt Trigger input, reduces the noise
https://en.wikipedia.org/wiki/Schmitt_trigger
Push-Pull, a pair of transistors either drive the output high/low to the supply rails.
Open-Drain (like Open-Collector), a single transistor than can drive to ground, the high state is left floating, and can be pulled up internally or externally.
2018-02-03 10:24 AM
Details:
or in any Reference Guide for particular MCU
2018-02-03 04:02 PM
These are pretty standard concepts, what's challenging your understanding here?
The 'Alternate Function' in ST's nomenclature is attached to the Peripheral's IO logic rather than a user driven GPIO
The 'Analogue Input' turns off the digital sections Schmitt Trigger input, reduces the noise
https://en.wikipedia.org/wiki/Schmitt_trigger
Push-Pull, a pair of transistors either drive the output high/low to the supply rails.
Open-Drain (like Open-Collector), a single transistor than can drive to ground, the high state is left floating, and can be pulled up internally or externally.