Martin Johnson / STM32F3-Discovery

Dependents:   Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more

Embed: (wiki syntax)

« Back to documentation index

stm32f30x_fmc.c File Reference

stm32f30x_fmc.c File Reference

This file provides firmware functions to manage the following functionalities of the FMC peripheral: + Interface with SRAM, PSRAM, NOR and OneNAND memories + Interface with NAND memories + Interface with 16-bit PC Card compatible memories + Interrupts and flags management. More...

Go to the source code of this file.

Functions

void FMC_NORSRAMDeInit (uint32_t FMC_Bank)
 De-initializes the FMC NOR/SRAM Banks registers to their default reset values.
void FMC_NORSRAMInit (FMC_NORSRAMInitTypeDef *FMC_NORSRAMInitStruct)
 Initializes the FMC NOR/SRAM Banks according to the specified parameters in the FMC_NORSRAMInitStruct.
void FMC_NORSRAMStructInit (FMC_NORSRAMInitTypeDef *FMC_NORSRAMInitStruct)
 Fills each FMC_NORSRAMInitStruct member with its default value.
void FMC_NORSRAMCmd (uint32_t FMC_Bank, FunctionalState NewState)
 Enables or disables the specified NOR/SRAM Memory Bank.
void FMC_NANDDeInit (uint32_t FMC_Bank)
 De-initializes the FMC NAND Banks registers to their default reset values.
void FMC_NANDInit (FMC_NANDInitTypeDef *FMC_NANDInitStruct)
 Initializes the FMC NAND Banks according to the specified parameters in the FMC_NANDInitStruct.
void FMC_NANDStructInit (FMC_NANDInitTypeDef *FMC_NANDInitStruct)
 Fills each FMC_NANDInitStruct member with its default value.
void FMC_NANDCmd (uint32_t FMC_Bank, FunctionalState NewState)
 Enables or disables the specified NAND Memory Bank.
void FMC_NANDECCCmd (uint32_t FMC_Bank, FunctionalState NewState)
 Enables or disables the FMC NAND ECC feature.
uint32_t FMC_GetECC (uint32_t FMC_Bank)
 Returns the error correction code register value.
void FMC_PCCARDDeInit (void)
 De-initializes the FMC PCCARD Bank registers to their default reset values.
void FMC_PCCARDInit (FMC_PCCARDInitTypeDef *FMC_PCCARDInitStruct)
 Initializes the FMC PCCARD Bank according to the specified parameters in the FMC_PCCARDInitStruct.
void FMC_PCCARDStructInit (FMC_PCCARDInitTypeDef *FMC_PCCARDInitStruct)
 Fills each FMC_PCCARDInitStruct member with its default value.
void FMC_PCCARDCmd (FunctionalState NewState)
 Enables or disables the PCCARD Memory Bank.
void FMC_ITConfig (uint32_t FMC_Bank, uint32_t FMC_IT, FunctionalState NewState)
 Enables or disables the specified FMC interrupts.
FlagStatus FMC_GetFlagStatus (uint32_t FMC_Bank, uint32_t FMC_FLAG)
 Checks whether the specified FMC flag is set or not.
void FMC_ClearFlag (uint32_t FMC_Bank, uint32_t FMC_FLAG)
 Clears the FMC's pending flags.
ITStatus FMC_GetITStatus (uint32_t FMC_Bank, uint32_t FMC_IT)
 Checks whether the specified FMC interrupt has occurred or not.
void FMC_ClearITPendingBit (uint32_t FMC_Bank, uint32_t FMC_IT)
 Clears the FMC's interrupt pending bits.

Detailed Description

This file provides firmware functions to manage the following functionalities of the FMC peripheral: + Interface with SRAM, PSRAM, NOR and OneNAND memories + Interface with NAND memories + Interface with 16-bit PC Card compatible memories + Interrupts and flags management.

Author:
MCD Application Team
Version:
V1.2.3
Date:
10-July-2015
Attention:

© COPYRIGHT 2015 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.

Definition in file stm32f30x_fmc.c.