stm32l4xx_hal_flash_ramfunc.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /**
  2. ******************************************************************************
  3. * @file stm32l4xx_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. /* Define to prevent recursive inclusion -------------------------------------*/
  18. #ifndef STM32L4xx_FLASH_RAMFUNC_H
  19. #define STM32L4xx_FLASH_RAMFUNC_H
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. /* Includes ------------------------------------------------------------------*/
  24. #include "stm32l4xx_hal_def.h"
  25. /** @addtogroup STM32L4xx_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 (STM32L4P5xx) || defined (STM32L4Q5xx) || defined (STM32L4R5xx) || defined (STM32L4R7xx) || defined (STM32L4R9xx) || defined (STM32L4S5xx) || defined (STM32L4S7xx) || defined (STM32L4S9xx)
  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 /* STM32L4xx_FLASH_RAMFUNC_H */