discoverpixy
Functions
stm32f4xx_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_flash_ramfunc.h"
Include dependency graph for stm32f4xx_flash_ramfunc.c:

Functions

__RAM_FUNC FLASH_FlashInterfaceCmd (FunctionalState NewState)
 Start/Stop the flash interface while System Run. More...
 
__RAM_FUNC FLASH_FlashSleepModeCmd (FunctionalState NewState)
 Enable/Disable the flash sleep while System Run. More...
 

Detailed Description

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

Author
MCD Application Team
Version
V1.4.0
Date
04-August-2014
  • 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 2014 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.