STM32F4xx_HAL_Driver  1.8.3
stm32f4xx_ll_fsmc.c File Reference

FSMC Low Layer HAL module driver. More...

Go to the source code of this file.

Functions

HAL_StatusTypeDef FSMC_NORSRAM_Init (FSMC_NORSRAM_TypeDef *Device, FSMC_NORSRAM_InitTypeDef *Init)
 Initialize the FSMC_NORSRAM device according to the specified control parameters in the FSMC_NORSRAM_InitTypeDef. More...
 
HAL_StatusTypeDef FSMC_NORSRAM_DeInit (FSMC_NORSRAM_TypeDef *Device, FSMC_NORSRAM_EXTENDED_TypeDef *ExDevice, uint32_t Bank)
 DeInitialize the FSMC_NORSRAM peripheral. More...
 
HAL_StatusTypeDef FSMC_NORSRAM_Timing_Init (FSMC_NORSRAM_TypeDef *Device, FSMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank)
 Initialize the FSMC_NORSRAM Timing according to the specified parameters in the FSMC_NORSRAM_TimingTypeDef. More...
 
HAL_StatusTypeDef FSMC_NORSRAM_Extended_Timing_Init (FSMC_NORSRAM_EXTENDED_TypeDef *Device, FSMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank, uint32_t ExtendedMode)
 Initialize the FSMC_NORSRAM Extended mode Timing according to the specified parameters in the FSMC_NORSRAM_TimingTypeDef. More...
 
HAL_StatusTypeDef FSMC_NORSRAM_WriteOperation_Enable (FSMC_NORSRAM_TypeDef *Device, uint32_t Bank)
 Enables dynamically FSMC_NORSRAM write operation. More...
 
HAL_StatusTypeDef FSMC_NORSRAM_WriteOperation_Disable (FSMC_NORSRAM_TypeDef *Device, uint32_t Bank)
 Disables dynamically FSMC_NORSRAM write operation. More...
 
HAL_StatusTypeDef FSMC_NAND_Init (FSMC_NAND_TypeDef *Device, FSMC_NAND_InitTypeDef *Init)
 Initializes the FSMC_NAND device according to the specified control parameters in the FSMC_NAND_HandleTypeDef. More...
 
HAL_StatusTypeDef FSMC_NAND_CommonSpace_Timing_Init (FSMC_NAND_TypeDef *Device, FSMC_NAND_PCC_TimingTypeDef *Timing, uint32_t Bank)
 Initializes the FSMC_NAND Common space Timing according to the specified parameters in the FSMC_NAND_PCC_TimingTypeDef. More...
 
HAL_StatusTypeDef FSMC_NAND_AttributeSpace_Timing_Init (FSMC_NAND_TypeDef *Device, FSMC_NAND_PCC_TimingTypeDef *Timing, uint32_t Bank)
 Initializes the FSMC_NAND Attribute space Timing according to the specified parameters in the FSMC_NAND_PCC_TimingTypeDef. More...
 
HAL_StatusTypeDef FSMC_NAND_DeInit (FSMC_NAND_TypeDef *Device, uint32_t Bank)
 DeInitializes the FSMC_NAND device. More...
 
HAL_StatusTypeDef FSMC_NAND_ECC_Enable (FSMC_NAND_TypeDef *Device, uint32_t Bank)
 Enables dynamically FSMC_NAND ECC feature. More...
 
HAL_StatusTypeDef FSMC_NAND_ECC_Disable (FSMC_NAND_TypeDef *Device, uint32_t Bank)
 Disables dynamically FSMC_NAND ECC feature. More...
 
HAL_StatusTypeDef FSMC_NAND_GetECC (FSMC_NAND_TypeDef *Device, uint32_t *ECCval, uint32_t Bank, uint32_t Timeout)
 Disables dynamically FSMC_NAND ECC feature. More...
 
HAL_StatusTypeDef FSMC_PCCARD_Init (FSMC_PCCARD_TypeDef *Device, FSMC_PCCARD_InitTypeDef *Init)
 Initializes the FSMC_PCCARD device according to the specified control parameters in the FSMC_PCCARD_HandleTypeDef. More...
 
HAL_StatusTypeDef FSMC_PCCARD_CommonSpace_Timing_Init (FSMC_PCCARD_TypeDef *Device, FSMC_NAND_PCC_TimingTypeDef *Timing)
 Initializes the FSMC_PCCARD Common space Timing according to the specified parameters in the FSMC_NAND_PCC_TimingTypeDef. More...
 
HAL_StatusTypeDef FSMC_PCCARD_AttributeSpace_Timing_Init (FSMC_PCCARD_TypeDef *Device, FSMC_NAND_PCC_TimingTypeDef *Timing)
 Initializes the FSMC_PCCARD Attribute space Timing according to the specified parameters in the FSMC_NAND_PCC_TimingTypeDef. More...
 
HAL_StatusTypeDef FSMC_PCCARD_IOSpace_Timing_Init (FSMC_PCCARD_TypeDef *Device, FSMC_NAND_PCC_TimingTypeDef *Timing)
 Initializes the FSMC_PCCARD IO space Timing according to the specified parameters in the FSMC_NAND_PCC_TimingTypeDef. More...
 
HAL_StatusTypeDef FSMC_PCCARD_DeInit (FSMC_PCCARD_TypeDef *Device)
 DeInitializes the FSMC_PCCARD device. More...
 

Detailed Description

FSMC Low Layer HAL module driver.

Author
MCD Application Team
     This file provides firmware functions to manage the following
     functionalities of the Flexible Memory Controller (FSMC) peripheral memories:
      + Initialization/de-initialization functions
      + Peripheral Control functions
      + Peripheral State functions
Attention

Copyright (c) 2016 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.

==============================================================================
                      ##### FSMC peripheral features #####
==============================================================================
[..] The Flexible memory controller (FSMC) includes following memory controllers:
     (+) The NOR/PSRAM memory controller
     (+) The NAND/PC Card memory controller

[..] The FSMC functional block makes the interface with synchronous and asynchronous static
     memories and 16-bit PC memory cards. Its main purposes are:
     (+) to translate AHB transactions into the appropriate external device protocol
     (+) to meet the access time requirements of the external memory devices

[..] All external memories share the addresses, data and control signals with the controller.
     Each external device is accessed by means of a unique Chip Select. The FSMC performs
     only one access at a time to an external device.
     The main features of the FSMC controller are the following:
      (+) Interface with static-memory mapped devices including:
         (++) Static random access memory (SRAM)
         (++) Read-only memory (ROM)
         (++) NOR Flash memory/OneNAND Flash memory
         (++) PSRAM (4 memory banks)
         (++) 16-bit PC Card compatible devices
         (++) Two banks of NAND Flash memory with ECC hardware to check up to 8 Kbytes of
              data
      (+) Independent Chip Select control for each memory bank
      (+) Independent configuration for each memory bank

Definition in file stm32f4xx_ll_fsmc.c.