ICARUS OS (Intelligent Cooperative Architecture for Real-time Unified Systems) 0.1.0
Preemptive Real-Time Operating System for ARM Cortex-M7
Loading...
Searching...
No Matches
gpio.c File Reference

This file provides code for the configuration of all used GPIO pins. More...

#include "bsp/gpio.h"

Go to the source code of this file.

Functions

void MX_GPIO_Init (void)
 Configure pins PC14-OSC32_IN (OSC32_IN) ---—> RCC_OSC32_IN PC15-OSC32_OUT (OSC32_OUT) ---—> RCC_OSC32_OUT PH0-OSC_IN (PH0) ---—> RCC_OSC_IN PH1-OSC_OUT (PH1) ---—> RCC_OSC_OUT PA13 (JTMS/SWDIO) ---—> DEBUG_JTMS-SWDIO PA14 (JTCK/SWCLK) ---—> DEBUG_JTCK-SWCLK.
 

Detailed Description

This file provides code for the configuration of all used GPIO pins.

Attention

Copyright (c) 2025 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file gpio.c.

Function Documentation

◆ MX_GPIO_Init()

void MX_GPIO_Init ( void  )

Configure pins PC14-OSC32_IN (OSC32_IN) ---—> RCC_OSC32_IN PC15-OSC32_OUT (OSC32_OUT) ---—> RCC_OSC32_OUT PH0-OSC_IN (PH0) ---—> RCC_OSC_IN PH1-OSC_OUT (PH1) ---—> RCC_OSC_OUT PA13 (JTMS/SWDIO) ---—> DEBUG_JTMS-SWDIO PA14 (JTCK/SWCLK) ---—> DEBUG_JTCK-SWCLK.

< Output Push Pull Mode

< No Pull-up or Pull-down activation

< Low speed

< Input Floating Mode

< Pull-down activation

< Output Push Pull Mode

< No Pull-up or Pull-down activation

< High speed

Definition at line 43 of file gpio.c.

References E3_GPIO_Port, E3_Pin, KEY_GPIO_Port, KEY_Pin, LCD_CS_Pin, and LCD_WR_RS_Pin.

Referenced by hal_init().