1 /**
2   ******************************************************************************
3   * @file    stm32g4xx_hal_flash_ramfunc.h
4   * @author  MCD Application Team
5   * @brief   Header file of FLASH RAMFUNC driver.
6   ******************************************************************************
7   * @attention
8   *
9   * Copyright (c) 2019 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 STM32G4xx_FLASH_RAMFUNC_H
20 #define STM32G4xx_FLASH_RAMFUNC_H
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 /* Includes ------------------------------------------------------------------*/
27 #include "stm32g4xx_hal_def.h"
28 
29 /** @addtogroup STM32G4xx_HAL_Driver
30   * @{
31   */
32 
33 /** @addtogroup FLASH_RAMFUNC
34   * @{
35   */
36 
37 /* Exported types ------------------------------------------------------------*/
38 /* Exported macro ------------------------------------------------------------*/
39 /* Exported functions --------------------------------------------------------*/
40 /** @addtogroup FLASH_RAMFUNC_Exported_Functions
41   * @{
42   */
43 
44 /** @addtogroup FLASH_RAMFUNC_Exported_Functions_Group1
45   * @{
46   */
47 /* Peripheral Control functions  ************************************************/
48 __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_EnableRunPowerDown(void);
49 __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_DisableRunPowerDown(void);
50 #if defined (FLASH_OPTR_DBANK)
51 __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_OB_DBankConfig(uint32_t DBankConfig);
52 #endif
53 /**
54   * @}
55   */
56 
57 /**
58   * @}
59   */
60 
61 /**
62   * @}
63   */
64 
65 /**
66   * @}
67   */
68 
69 #ifdef __cplusplus
70 }
71 #endif
72 
73 #endif /* STM32G4xx_FLASH_RAMFUNC_H */
74 
75