GPIO input mode with high impedance state
In this article, let’s understand what precisely this high impedance state is.
A high impedance state is also called a Hi-Z state. It’s nothing but keeping your pin floating by not connecting to high voltage state or the ground as shown in Figure1. So, that’s why this state is also called a floating state.
After you power the MCU, by default, all the GPIO pins will be in input mode with a High-Z state or floating state, and this is true with almost all microcontrollers.
Keeping the pin in a floating state can lead to leakage current, which may result in high power consumption because a floating pin is highly susceptible to picking up the noise and may result in leakage current.
In the following article, let’s see GPIO input mode with pull-up / pull-down state
FastBit Embedded Brain Academy Courses,
Click here: https://fastbitlab.com/course1