stm32g4xx_hal_flash_ramfunc.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. /* Define to prevent recursive inclusion -------------------------------------*/
  18. #ifndef STM32G4xx_FLASH_RAMFUNC_H
  19. #define STM32G4xx_FLASH_RAMFUNC_H
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. /* Includes ------------------------------------------------------------------*/
  24. #include "stm32g4xx_hal_def.h"
  25. /** @addtogroup STM32G4xx_HAL_Driver
  26. * @{
  27. */
  28. /** @addtogroup FLASH_RAMFUNC
  29. * @{
  30. */
  31. /* Exported types ------------------------------------------------------------*/
  32. /* Exported macro ------------------------------------------------------------*/
  33. /* Exported functions --------------------------------------------------------*/
  34. /** @addtogroup FLASH_RAMFUNC_Exported_Functions
  35. * @{
  36. */
  37. /** @addtogroup FLASH_RAMFUNC_Exported_Functions_Group1
  38. * @{
  39. */
  40. /* Peripheral Control functions ************************************************/
  41. __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_EnableRunPowerDown(void);
  42. __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_DisableRunPowerDown(void);
  43. #if defined (FLASH_OPTR_DBANK)
  44. __RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_OB_DBankConfig(uint32_t DBankConfig);
  45. #endif
  46. /**
  47. * @}
  48. */
  49. /**
  50. * @}
  51. */
  52. /**
  53. * @}
  54. */
  55. /**
  56. * @}
  57. */
  58. #ifdef __cplusplus
  59. }
  60. #endif
  61. #endif /* STM32G4xx_FLASH_RAMFUNC_H */