STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
stm32f4xx_hal_flash_ramfunc.c File Reference

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

#include "stm32f4xx_hal.h"
Include dependency graph for stm32f4xx_hal_flash_ramfunc.c:

Go to the source code of this file.

Functions

__RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_StopFlashInterfaceClk (void)
 Stop the flash interface while System Run.
 
__RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_StartFlashInterfaceClk (void)
 Start the flash interface while System Run.
 
__RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_EnableFlashSleepMode (void)
 Enable the flash sleep while System Run.
 
__RAM_FUNC HAL_StatusTypeDef HAL_FLASHEx_DisableFlashSleepMode (void)
 Disable the flash sleep while System Run.
 

Detailed Description

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

Author
MCD Application Team
  • Stop/Start the flash interface while System Run
  • Enable/Disable the flash sleep while System Run
    ==============================================================================
                      ##### APIs executed from Internal RAM #####
    ==============================================================================
    [..]
      *** ARM Compiler ***
      --------------------
      [..] RAM functions are defined using the toolchain options.
           Functions that are be 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 is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file stm32f4xx_hal_flash_ramfunc.c.