1 /** 2 ****************************************************************************** 3 * @file stm32f4xx_hal_flash_ramfunc.h 4 * @author MCD Application Team 5 * @brief Header file of FLASH RAMFUNC driver. 6 ****************************************************************************** 7 * @attention 8 * 9 * <h2><center>© Copyright (c) 2017 STMicroelectronics. 10 * All rights reserved.</center></h2> 11 * 12 * This software component is licensed by ST under BSD 3-Clause license, 13 * the "License"; You may not use this file except in compliance with the 14 * License. You may obtain a copy of the License at: 15 * opensource.org/licenses/BSD-3-Clause 16 * 17 ****************************************************************************** 18 */ 19 20 /* Define to prevent recursive inclusion -------------------------------------*/ 21 #ifndef __STM32F4xx_FLASH_RAMFUNC_H 22 #define __STM32F4xx_FLASH_RAMFUNC_H 23 24 #ifdef __cplusplus 25 extern "C" { 26 #endif 27 #if defined(STM32F410Tx) || defined(STM32F410Cx) || defined(STM32F410Rx) || defined(STM32F411xE) || defined(STM32F446xx) || defined(STM32F412Zx) ||\ 28 defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) 29 30 /* Includes ------------------------------------------------------------------*/ 31 #include "stm32f4xx_hal_def.h" 32 33 /** @addtogroup STM32F4xx_HAL_Driver 34 * @{ 35 */ 36 37 /** @addtogroup FLASH_RAMFUNC 38 * @{ 39 */ 40 41 /* Exported types ------------------------------------------------------------*/ 42 /* Exported macro ------------------------------------------------------------*/ 43 /* Exported functions --------------------------------------------------------*/ 44 /** @addtogroup FLASH_RAMFUNC_Exported_Functions 45 * @{ 46 */ 47 48 /** @addtogroup FLASH_RAMFUNC_Exported_Functions_Group1 49 * @{ 50 */ 51 __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_StopFlashInterfaceClk(void); 52 __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_StartFlashInterfaceClk(void); 53 __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_EnableFlashSleepMode(void); 54 __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_DisableFlashSleepMode(void); 55 /** 56 * @} 57 */ 58 59 /** 60 * @} 61 */ 62 63 /** 64 * @} 65 */ 66 67 /** 68 * @} 69 */ 70 71 #endif /* STM32F410xx || STM32F411xE || STM32F446xx || STM32F412Zx || STM32F412Vx || STM32F412Rx || STM32F412Cx */ 72 #ifdef __cplusplus 73 } 74 #endif 75 76 77 #endif /* __STM32F4xx_FLASH_RAMFUNC_H */ 78 79 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ 80