STM32 GPIO Lecture 1 : GPIO PIN and PORTS

 

GPIO PIN and PORTS

 

 

 

GPIO pin stands for the General-purpose input/output pin on MCU. It can be either an input pin or output pin, whose behavior can control at the run time. The use of GPIO is driving LEDs, reading digital signals, issuing interrupts, and many.

GPIO port is a collection of GPIO pins. For STM32F407VGx based microcontrollers have 16 I/O pins for each port. GPIO port of different microcontrollers has a different number of pins. 

 

GPIO pin and ports
Figure. GPIO pins connected to LED

 

GPIO port of different microcontrollers has a different number of pins. For example, 8051 based microcontroller supports the port of 8 I/O pins.  LPC2148 NXP microcontroller supports the port of 32 I/O pins.

In the following article, let’s learn GPIO behind the scene.

 

FastBit Embedded Brain Academy Courses,

Click here: https://fastbitlab.com/course1

FastBitLab

The FastBit Embedded Brain Academy uses the power of internet to bring the online courses related to the field of embedded system programming, Real time operating system, Embedded Linux systems, etc at your finger tip with very low cost. Backed with strong experience of industry, we have produced lots of courses with the customer enrolment over 3000+ across 100+ countries.