STM32 GPIOS mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-03 9:07 AM
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?
Thanks!
#gpio #stm-32 #input #outputSolved! Go to Solution.
- Labels:
-
GPIO-EXTI
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-03 4: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-03 10:24 AM
Details:
or in any Reference Guide for particular MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-02-03 4: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.
Up vote any posts that you find helpful, it shows what's working..
