STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_hal_flash_ramfunc.c File Reference

FLASH RAMFUNC driver. This file provides a Flash firmware functions which should be executed from internal SRAM. More...

Go to the source code of this file.

Functions

__RAM_FUNC HAL_FLASHEx_EnableRunPowerDown (void)
 Enable the Power down in Run Mode. More...
 
__RAM_FUNC HAL_FLASHEx_DisableRunPowerDown (void)
 Disable the Power down in Run Mode. More...
 
__RAM_FUNC HAL_FLASHEx_OB_DBankConfig (uint32_t DBankConfig)
 Program the FLASH DBANK User Option Byte. More...
 

Variables

FLASH_ProcessTypeDef pFlash
 Variable used for Program/Erase sectors under interruption. More...
 

Detailed Description

FLASH RAMFUNC driver. This file provides a Flash firmware functions which should be executed from internal SRAM.

Author
MCD Application Team
  • FLASH HalfPage Programming
  • FLASH Power Down in Run mode
==============================================================================
                 ##### Flash RAM functions #####
==============================================================================

  *** ARM Compiler ***
  --------------------
  [..] RAM functions are defined using the toolchain options.
       Functions that are executed in RAM should reside in a separate
       source module. Using the 'Options for File' dialog you can simply change
       the 'Code / Const' area of a module to a memory space in physical RAM.
       Available memory areas are declared in the 'Target' tab of the
       Options for Target' dialog.

  *** ICCARM Compiler ***
  -----------------------
  [..] RAM functions are defined using a specific toolchain keyword "__ramfunc".

  *** GNU Compiler ***
  --------------------
  [..] RAM functions are defined using a specific toolchain attribute
       "__attribute__((section(".RamFunc")))".
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l4xx_hal_flash_ramfunc.c.