EmbeddedInterviewLab
Topics
Questions
Coding
Forum
About
Toggle menu
Search topics...
⌘
K
Sign In
Back
|
Home
Home
Question Bank
Peripherals
GPIO
GPIO Interview Questions
10 questions in
Peripherals
Top
Trending
Newest
0
What is the difference between push-pull and open-drain GPIO output modes?
GPIO
Output Modes
foundational
0
Why are pull-up and pull-down resistors needed, and how do you choose their values?
GPIO
Output Modes
foundational
0
What problems can a floating (unconnected) GPIO input cause, and how do you prevent them?
GPIO
Input Configuration
foundational
#4
0
Why is analog mode recommended for unused GPIO pins?
GPIO
Input Configuration
foundational
#5
0
What are GPIO alternate functions, and how are they configured?
GPIO
Input Configuration
foundational
#6
0
How do GPIO interrupts work on STM32, and what are the limitations of the EXTI system?
GPIO
Interrupts and Debouncing
foundational
#7
0
When would you use GPIO polling vs. external interrupts? What are the trade-offs?
GPIO
Interrupts and Debouncing
foundational
#8
0
How do you debounce a mechanical switch in firmware? Describe at least two approaches.
GPIO
Interrupts and Debouncing
foundational
#9
0
Why should you use the BSRR register instead of directly writing to ODR for atomic pin manipulation?
GPIO
Atomic Operations
foundational
#10
0
What does the GPIO speed (slew rate) setting control, and how do you choose it?
GPIO
GPIO Speed and Slew Rate
foundational