KugleFirmware/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash.c
/**
  * @brief  Lock the FLASH Option Control Registers access.
  * @retval HAL Status 
  */
@brief  Lock the FLASH Option Control Registers access.
@retval HAL Status
@brief Lock the FLASH Option Control Registers access . @retval HAL Status
HAL_StatusTypeDef HAL_FLASH_OB_Lock(void)
{
  SET_BIT(FLASH->OPTCR, FLASH_OPTCR_OPTLOCK);
  return HAL_OK;  
}
HAL_StatusTypeDef HAL_FLASH_OB_Lock ( void ) { SET_BIT ( FLASH -> OPTCR , FLASH_OPTCR_OPTLOCK ) ; return HAL_OK ; }
@brief  Lock the FLASH Option Control Registers access.
@brief Lock the FLASH Option Control Registers access .
/* Set the OPTLOCK Bit to lock the FLASH A and B Option Byte Registers access */