5.1.7.1.1. Informational Requirements

Requirement: label REQ_INT3_1733078414 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

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.

Requirement: label REQ_INT3_1733078547 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

Input mode: Used for reading data from external devices, such as sensors or buttons.

Requirement: label REQ_INT3_1733078732 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

Output mode: Used for sending signals to external devices, such as turning on LEDs or controlling motors.

Requirement: label REQ_INT3_1733078784 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

The behavior of GPIO pins is controlled by various GPIO registers.

Requirement: label REQ_INT3_1733078825 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

MODER: Configures the mode of each pin (input, output, analog, or alternate function).

Requirement: label REQ_INT3_1733078857 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

PUPDR: Controls whether the input pins are connected to a pull-up or pull-down resistor or are floating (not connected).

Requirement: label REQ_INT3_1733078913 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

OTYPER: Determines whether an output pin is in push-pull or open-drain mode.

Requirement: label REQ_INT3_1733078969 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

OSPEEDR: Sets the speed of the output signal (low, medium, fast, high).

Requirement: label REQ_INT3_1733079007 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

IDR: Reads the state of input pins (high or low).

Requirement: label REQ_INT3_1733079458 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

ODR: Sets the state of output pins (high or low).

Requirement: label REQ_INT3_1733079497 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

BSRR: Provides a fast way to set or reset individual pins without affecting others.

Requirement: label REQ_INT3_1733079536 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

RCC_AHB1ENR is a register that controls clock enabling for peripherals connected to AHB1.

Requirement: label REQ_INT3_1733079582 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

Enabling clock activates GPIO port functionality and enables GPIO pin use.

Requirement: label REQ_INT3_1733079634 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

Input mode: Configured to detect external signals, often with pull-up or pull-down resistors.

Requirement: label REQ_INT3_1733079677 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

Output mode: Used to send data or signals. Pins can be set to push-pull or open-drain mode.

Requirement: label REQ_INT3_1733079724 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

Analog mode: Used for processing signals from analog sensors through ADC or DAC interfaces.

Requirement: label REQ_INT3_1733079763 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

Alternate function mode: Allows pins to interact with peripherals like UART, SPI, I2C, and PWM.

Requirement: label REQ_INT3_1733079809 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

AFR[0] (Alternate function low register): sets alternate function for pins from 0 to 7. (0001 for USART, 0010 for SPI)

Requirement: label REQ_INT3_1733079846 ../../../../../_images/arrow-right-circle.svg
status: Draft
style: red_bar
category: Informational
priority: Low

AFR[1] (Alternate function high register): sets alternate function for pins from 8 to 15.