5.1.7.1.1. Informational Requirements
GPIO stands for General Purpose Input/Output. It refers to pins on the microcontroller that allow interaction with external devices, such as sensors, LEDs, and motors. |
Input mode: Used for reading data from external devices, such as sensors or buttons. |
|
The behavior of GPIO pins is controlled by various GPIO registers. |
|
|
|
|
|
|
|
|
Enabling clock activates GPIO port functionality and enables GPIO pin use. |
Input mode: Configured to detect external signals, often with pull-up or pull-down resistors. |
Output mode: Used to send data or signals. Pins can be set to push-pull or open-drain mode. |
Analog mode: Used for processing signals from analog sensors through ADC or DAC interfaces. |
Alternate function mode: Allows pins to interact with peripherals like UART, SPI, I2C, and PWM. |
|
|