stm32l4xx_hal_flash_ramfunc.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. * <h2><center>&copy; 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. /* Define to prevent recursive inclusion -------------------------------------*/
  20. #ifndef __STM32L4xx_FLASH_RAMFUNC_H
  21. #define __STM32L4xx_FLASH_RAMFUNC_H
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. /* Includes ------------------------------------------------------------------*/
  26. #include "stm32l4xx_hal_def.h"
  27. /** @addtogroup STM32L4xx_HAL_Driver
  28. * @{
  29. */
  30. /** @addtogroup FLASH_RAMFUNC
  31. * @{
  32. */
  33. /* Exported types ------------------------------------------------------------*/
  34. /* Exported macro ------------------------------------------------------------*/
  35. /* Exported functions --------------------------------------------------------*/
  36. /** @addtogroup FLASH_RAMFUNC_Exported_Functions
  37. * @{
  38. */
  39. /** @addtogroup FLASH_RAMFUNC_Exported_Functions_Group1
  40. * @{
  41. */
  42. /* Peripheral Control functions ************************************************/
  43. __RAM_FUNC HAL_FLASHEx_EnableRunPowerDown(void);
  44. __RAM_FUNC HAL_FLASHEx_DisableRunPowerDown(void);
  45. #if defined (STM32L4R5xx) || defined (STM32L4R7xx) || defined (STM32L4R9xx) || defined (STM32L4S5xx) || defined (STM32L4S7xx) || defined (STM32L4S9xx)
  46. __RAM_FUNC HAL_FLASHEx_OB_DBankConfig(uint32_t DBankConfig);
  47. #endif
  48. /**
  49. * @}
  50. */
  51. /**
  52. * @}
  53. */
  54. /**
  55. * @}
  56. */
  57. /**
  58. * @}
  59. */
  60. #ifdef __cplusplus
  61. }
  62. #endif
  63. #endif /* __STM32L4xx_FLASH_RAMFUNC_H */
  64. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/