Difference between revisions of "General-purpose input/output (GPIO)"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
A [[general-purpose input/output]] (GPIO) is an uncommitted digital signal pin on an integrated circuit or electronic circuit board which may be used as an input or output, or both, and is controllable by the user at runtime. | A [[general-purpose input/output]] (GPIO) is an uncommitted digital signal pin on an integrated circuit or electronic circuit board which may be used as an input or output, or both, and is controllable by the user at runtime. | ||
− | + | All [[STM32]] [[MCU]]s have a high number of [[GPIO]]s. In fact, almost all pins on a [[MCU]] package, which is not dedicated a power pin are [[GPIO]]s: | |
<div class="res-img"> | <div class="res-img"> | ||
[[File:STM32F40xxx LQFP64 pinout.png|600px]] | [[File:STM32F40xxx LQFP64 pinout.png|600px]] | ||
</div> | </div> | ||
+ | |||
+ | The [[GPIO]]s are divided into a number of ports (the actual number depends on the pins available on any particular package) labelled with letters and starting with "PortA". |
Revision as of 02:15, 16 October 2024
A general-purpose input/output (GPIO) is an uncommitted digital signal pin on an integrated circuit or electronic circuit board which may be used as an input or output, or both, and is controllable by the user at runtime.
All STM32 MCUs have a high number of GPIOs. In fact, almost all pins on a MCU package, which is not dedicated a power pin are GPIOs:
The GPIOs are divided into a number of ports (the actual number depends on the pins available on any particular package) labelled with letters and starting with "PortA".