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 * Copyright (c) 2017 STMicroelectronics. 10 * All rights reserved. 11 * 12 * This software is licensed under terms that can be found in the LICENSE file in 13 * the root directory of this software component. 14 * If no LICENSE file comes with this software, it is provided AS-IS. 15 ****************************************************************************** 16 */ 17 18 /* Define to prevent recursive inclusion -------------------------------------*/ 19 #ifndef __STM32F4xx_FLASH_RAMFUNC_H 20 #define __STM32F4xx_FLASH_RAMFUNC_H 21 22 #ifdef __cplusplus 23 extern "C" { 24 #endif 25 #if defined(STM32F410Tx) || defined(STM32F410Cx) || defined(STM32F410Rx) || defined(STM32F411xE) || defined(STM32F446xx) || defined(STM32F412Zx) ||\ 26 defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) 27 28 /* Includes ------------------------------------------------------------------*/ 29 #include "stm32f4xx_hal_def.h" 30 31 /** @addtogroup STM32F4xx_HAL_Driver 32 * @{ 33 */ 34 35 /** @addtogroup FLASH_RAMFUNC 36 * @{ 37 */ 38 39 /* Exported types ------------------------------------------------------------*/ 40 /* Exported macro ------------------------------------------------------------*/ 41 /* Exported functions --------------------------------------------------------*/ 42 /** @addtogroup FLASH_RAMFUNC_Exported_Functions 43 * @{ 44 */ 45 46 /** @addtogroup FLASH_RAMFUNC_Exported_Functions_Group1 47 * @{ 48 */ 49 __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_StopFlashInterfaceClk(void); 50 __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_StartFlashInterfaceClk(void); 51 __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_EnableFlashSleepMode(void); 52 __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_DisableFlashSleepMode(void); 53 /** 54 * @} 55 */ 56 57 /** 58 * @} 59 */ 60 61 /** 62 * @} 63 */ 64 65 /** 66 * @} 67 */ 68 69 #endif /* STM32F410xx || STM32F411xE || STM32F446xx || STM32F412Zx || STM32F412Vx || STM32F412Rx || STM32F412Cx */ 70 #ifdef __cplusplus 71 } 72 #endif 73 74 75 #endif /* __STM32F4xx_FLASH_RAMFUNC_H */ 76 77