STM32F4xx_HAL_Driver  1.8.3
FMC Low Layer Exported Types
+ Collaboration diagram for FMC Low Layer Exported Types:

Data Structures

struct  FMC_NORSRAM_InitTypeDef
 FMC NORSRAM Configuration Structure definition. More...
 
struct  FMC_NORSRAM_TimingTypeDef
 FMC NORSRAM Timing parameters structure definition. More...
 
struct  FMC_NAND_InitTypeDef
 FMC NAND Configuration Structure definition. More...
 
struct  FMC_NAND_PCC_TimingTypeDef
 FMC NAND Timing parameters structure definition. More...
 
struct  FMC_PCCARD_InitTypeDef
 FMC PCCARD Configuration Structure definition. More...
 
struct  FMC_SDRAM_InitTypeDef
 FMC SDRAM Configuration Structure definition. More...
 
struct  FMC_SDRAM_TimingTypeDef
 FMC SDRAM Timing parameters structure definition. More...
 
struct  FMC_SDRAM_CommandTypeDef
 SDRAM command parameters structure definition. More...
 

Detailed Description


Data Structure Documentation

◆ FMC_NORSRAM_InitTypeDef

struct FMC_NORSRAM_InitTypeDef

FMC NORSRAM Configuration Structure definition.

Definition at line 232 of file stm32f4xx_ll_fmc.h.

Data Fields
uint32_t AsynchronousWait

Enables or disables wait signal during asynchronous transfers, valid only with asynchronous Flash memories. This parameter can be a value of FMC Asynchronous Wait

uint32_t BurstAccessMode

Enables or disables the burst access mode for Flash memory, valid only with synchronous burst Flash memories. This parameter can be a value of FMC Burst Access Mode

uint32_t ContinuousClock

Enables or disables the FMC clock output to external memory devices. This parameter is only enabled through the FMC_BCR1 register, and don't care through FMC_BCR2..4 registers. This parameter can be a value of FMC Continuous Clock

uint32_t DataAddressMux

Specifies whether the address and data values are multiplexed on the data bus or not. This parameter can be a value of FMC Data Address Bus Multiplexing

uint32_t ExtendedMode

Enables or disables the extended mode. This parameter can be a value of FMC Extended Mode

uint32_t MemoryDataWidth

Specifies the external memory device width. This parameter can be a value of FMC NORSRAM Data Width

uint32_t MemoryType

Specifies the type of external memory attached to the corresponding memory device. This parameter can be a value of FMC Memory Type

uint32_t NSBank

Specifies the NORSRAM memory device that will be used. This parameter can be a value of FMC NOR/SRAM Bank

uint32_t PageSize

Specifies the memory page size. This parameter can be a value of FMC Page Size

uint32_t WaitSignal

Enables or disables the wait state insertion via wait signal, valid for Flash memory access in burst mode. This parameter can be a value of FMC Wait Signal

uint32_t WaitSignalActive

Specifies if the wait signal is asserted by the memory one clock cycle before the wait state or during the wait state, valid only when accessing memories in burst mode. This parameter can be a value of FMC Wait Timing

uint32_t WaitSignalPolarity

Specifies the wait signal polarity, valid only when accessing the Flash memory in burst mode. This parameter can be a value of FMC Wait Signal Polarity

uint32_t WrapMode

Enables or disables the Wrapped burst access mode for Flash memory, valid only when accessing Flash memories in burst mode. This parameter can be a value of FMC Wrap Mode This mode is not available for the STM32F446/467/479xx devices

uint32_t WriteBurst

Enables or disables the write burst operation. This parameter can be a value of FMC Write Burst

uint32_t WriteFifo

Enables or disables the write FIFO used by the FMC controller. This parameter is only enabled through the FMC_BCR1 register, and don't care through FMC_BCR2..4 registers. This parameter can be a value of FMC Write FIFO This mode is available only for the STM32F446/469/479xx devices

uint32_t WriteOperation

Enables or disables the write operation in the selected device by the FMC. This parameter can be a value of FMC Write Operation

◆ FMC_NORSRAM_TimingTypeDef

struct FMC_NORSRAM_TimingTypeDef

FMC NORSRAM Timing parameters structure definition.

Definition at line 301 of file stm32f4xx_ll_fmc.h.

Data Fields
uint32_t AccessMode

Specifies the asynchronous access mode. This parameter can be a value of FMC Access Mode

uint32_t AddressHoldTime

Defines the number of HCLK cycles to configure the duration of the address hold time. This parameter can be a value between Min_Data = 1 and Max_Data = 15.

Note
This parameter is not used with synchronous NOR Flash memories.
uint32_t AddressSetupTime

Defines the number of HCLK cycles to configure the duration of the address setup time. This parameter can be a value between Min_Data = 0 and Max_Data = 15.

Note
This parameter is not used with synchronous NOR Flash memories.
uint32_t BusTurnAroundDuration

Defines the number of HCLK cycles to configure the duration of the bus turnaround. This parameter can be a value between Min_Data = 0 and Max_Data = 15.

Note
This parameter is only used for multiplexed NOR Flash memories.
uint32_t CLKDivision

Defines the period of CLK clock output signal, expressed in number of HCLK cycles. This parameter can be a value between Min_Data = 2 and Max_Data = 16.

Note
This parameter is not used for asynchronous NOR Flash, SRAM or ROM accesses.
uint32_t DataLatency

Defines the number of memory clock cycles to issue to the memory before getting the first data. The parameter value depends on the memory type as shown below:

  • It must be set to 0 in case of a CRAM
  • It is don't care in asynchronous NOR, SRAM or ROM accesses
  • It may assume a value between Min_Data = 2 and Max_Data = 17 in NOR Flash memories with synchronous burst mode enable
uint32_t DataSetupTime

Defines the number of HCLK cycles to configure the duration of the data setup time. This parameter can be a value between Min_Data = 1 and Max_Data = 255.

Note
This parameter is used for SRAMs, ROMs and asynchronous multiplexed NOR Flash memories.

◆ FMC_NAND_InitTypeDef

struct FMC_NAND_InitTypeDef

FMC NAND Configuration Structure definition.

Definition at line 347 of file stm32f4xx_ll_fmc.h.

Data Fields
uint32_t EccComputation

Enables or disables the ECC computation. This parameter can be any value of FMC ECC

uint32_t ECCPageSize

Defines the page size for the extended ECC. This parameter can be any value of FMC ECC Page Size

uint32_t MemoryDataWidth

Specifies the external memory device width. This parameter can be any value of FMC NAND Data Width

uint32_t NandBank

Specifies the NAND memory device that will be used. This parameter can be a value of FMC NAND Bank

uint32_t TARSetupTime

Defines the number of HCLK cycles to configure the delay between ALE low and RE low. This parameter can be a number between Min_Data = 0 and Max_Data = 255

uint32_t TCLRSetupTime

Defines the number of HCLK cycles to configure the delay between CLE low and RE low. This parameter can be a value between Min_Data = 0 and Max_Data = 255

uint32_t Waitfeature

Enables or disables the Wait feature for the NAND Memory device. This parameter can be any value of FMC Wait feature

◆ FMC_NAND_PCC_TimingTypeDef

struct FMC_NAND_PCC_TimingTypeDef

FMC NAND Timing parameters structure definition.

Definition at line 378 of file stm32f4xx_ll_fmc.h.

Data Fields
uint32_t HiZSetupTime

Defines the number of HCLK clock cycles during which the data bus is kept in HiZ after the start of a NAND-Flash write access to common/Attribute or I/O memory space (depending on the memory space timing to be configured). This parameter can be a number between Min_Data = 0 and Max_Data = 254

uint32_t HoldSetupTime

Defines the number of HCLK clock cycles to hold address (and data for write access) after the command de-assertion for NAND-Flash read or write access to common/Attribute or I/O memory space (depending on the memory space timing to be configured). This parameter can be a number between Min_Data = 0 and Max_Data = 254

uint32_t SetupTime

Defines the number of HCLK cycles to setup address before the command assertion for NAND-Flash read or write access to common/Attribute or I/O memory space (depending on the memory space timing to be configured). This parameter can be a value between Min_Data = 0 and Max_Data = 254

uint32_t WaitSetupTime

Defines the minimum number of HCLK cycles to assert the command for NAND-Flash read or write access to common/Attribute or I/O memory space (depending on the memory space timing to be configured). This parameter can be a number between Min_Data = 0 and Max_Data = 254

◆ FMC_PCCARD_InitTypeDef

struct FMC_PCCARD_InitTypeDef

FMC PCCARD Configuration Structure definition.

Definition at line 411 of file stm32f4xx_ll_fmc.h.

Data Fields
uint32_t TARSetupTime

Defines the number of HCLK cycles to configure the delay between ALE low and RE low. This parameter can be a number between Min_Data = 0 and Max_Data = 255

uint32_t TCLRSetupTime

Defines the number of HCLK cycles to configure the delay between CLE low and RE low. This parameter can be a value between Min_Data = 0 and Max_Data = 255

uint32_t Waitfeature

Enables or disables the Wait feature for the PCCARD Memory device. This parameter can be any value of FMC Wait feature

◆ FMC_SDRAM_InitTypeDef

struct FMC_SDRAM_InitTypeDef

FMC SDRAM Configuration Structure definition.

Definition at line 430 of file stm32f4xx_ll_fmc.h.

Data Fields
uint32_t CASLatency

Defines the SDRAM CAS latency in number of memory clock cycles. This parameter can be a value of FMC SDRAM CAS Latency.

uint32_t ColumnBitsNumber

Defines the number of bits of column address. This parameter can be a value of FMC SDRAM Column Bits number.

uint32_t InternalBankNumber

Defines the number of the device's internal banks. This parameter can be of FMC SDRAM Internal Banks Number.

uint32_t MemoryDataWidth

Defines the memory device width. This parameter can be a value of FMC SDRAM Memory Bus Width.

uint32_t ReadBurst

This bit enable the SDRAM controller to anticipate the next read commands during the CAS latency and stores data in the Read FIFO. This parameter can be a value of FMC SDRAM Read Burst.

uint32_t ReadPipeDelay

Define the delay in system clock cycles on read data path. This parameter can be a value of FMC SDRAM Read Pipe Delay.

uint32_t RowBitsNumber

Defines the number of bits of column address. This parameter can be a value of FMC SDRAM Row Bits number.

uint32_t SDBank

Specifies the SDRAM memory device that will be used. This parameter can be a value of FMC SDRAM Bank

uint32_t SDClockPeriod

Define the SDRAM Clock Period for both SDRAM devices and they allow to disable the clock before changing frequency. This parameter can be a value of FMC SDRAM Clock Period.

uint32_t WriteProtection

Enables the SDRAM device to be accessed in write mode. This parameter can be a value of FMC SDRAM Write Protection.

◆ FMC_SDRAM_TimingTypeDef

struct FMC_SDRAM_TimingTypeDef

FMC SDRAM Timing parameters structure definition.

Definition at line 468 of file stm32f4xx_ll_fmc.h.

Data Fields
uint32_t ExitSelfRefreshDelay

Defines the delay from releasing the self refresh command to issuing the Activate command in number of memory clock cycles. This parameter can be a value between Min_Data = 1 and Max_Data = 16

uint32_t LoadToActiveDelay

Defines the delay between a Load Mode Register command and an active or Refresh command in number of memory clock cycles. This parameter can be a value between Min_Data = 1 and Max_Data = 16

uint32_t RCDDelay

Defines the delay between the Activate Command and a Read/Write command in number of memory clock cycles. This parameter can be a value between Min_Data = 1 and Max_Data = 16

uint32_t RowCycleDelay

Defines the delay between the Refresh command and the Activate command and the delay between two consecutive Refresh commands in number of memory clock cycles. This parameter can be a value between Min_Data = 1 and Max_Data = 16

uint32_t RPDelay

Defines the delay between a Precharge Command and an other command in number of memory clock cycles. This parameter can be a value between Min_Data = 1 and Max_Data = 16

uint32_t SelfRefreshTime

Defines the minimum Self Refresh period in number of memory clock cycles. This parameter can be a value between Min_Data = 1 and Max_Data = 16

uint32_t WriteRecoveryTime

Defines the Write recovery Time in number of memory clock cycles. This parameter can be a value between Min_Data = 1 and Max_Data = 16

◆ FMC_SDRAM_CommandTypeDef

struct FMC_SDRAM_CommandTypeDef

SDRAM command parameters structure definition.

Definition at line 502 of file stm32f4xx_ll_fmc.h.

Data Fields
uint32_t AutoRefreshNumber

Defines the number of consecutive auto refresh command issued in auto refresh mode. This parameter can be a value between Min_Data = 1 and Max_Data = 15

uint32_t CommandMode

Defines the command issued to the SDRAM device. This parameter can be a value of FMC SDRAM Command Mode.

uint32_t CommandTarget

Defines which device (1 or 2) the command will be issued to. This parameter can be a value of FMC SDRAM Command Target.

uint32_t ModeRegisterDefinition

Defines the SDRAM Mode register content