2025-10-04 2:17 PM
File: stm32u0xx_hal_gpio.c
/**
* @brief Lock GPIO Pins configuration registers.
* @note The locked registers are GPIOx_MODER, GPIOx_OTYPER, GPIOx_OSPEEDR,
* GPIOx_PUPDR, GPIOx_AFRL and GPIOx_AFRH.
* @note The configuration of the locked GPIO pins can no longer be modified
* until the next reset.
* @PAram GPIOx where x can be (A..F) to select the GPIO peripheral for STM32U0xx family
* @PAram GPIO_Pin specifies the port bits to be locked.
* This parameter can be any combination of GPIO_Pin_x where x can be (0..15).
* @retval None
*/
HAL_StatusTypeDef HAL_GPIO_LockPin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)
{
HAL_GPIO_LockPin() should return HAL_StatusTypeDef.
But in Doxygen None