Flexible Static Memory Controller (FSMC) support.
Contents
FSMC register map type.
Public Members
- __io uint32 BCR1
SRAM/NOR-Flash chip-select control register 1.
- __io uint32 BTR1
SRAM/NOR-Flash chip-select timing register 1.
- __io uint32 BCR2
SRAM/NOR-Flash chip-select control register 2.
- __io uint32 BTR2
SRAM/NOR-Flash chip-select timing register 2.
- __io uint32 BCR3
SRAM/NOR-Flash chip-select control register 3.
- __io uint32 BTR3
SRAM/NOR-Flash chip-select timing register 3.
- __io uint32 BCR4
SRAM/NOR-Flash chip-select control register 4.
- __io uint32 BTR4
SRAM/NOR-Flash chip-select timing register 4.
- const uint8 RESERVED1[64]
Reserved.
- __io uint32 PCR2
PC Card/NAND Flash control register 2.
- __io uint32 SR2
FIFO status and interrupt register 2.
- __io uint32 PMEM2
Common memory space timing register 2.
- __io uint32 PATT2
Attribute memory space timing register 2.
- const uint8 RESERVED2[4]
Reserved.
- __io uint32 ECCR2
ECC result register 2.
- const uint8 RESERVED3[2]
- __io uint32 PCR3
PC Card/NAND Flash control register 3.
- __io uint32 SR3
FIFO status and interrupt register 3.
- __io uint32 PMEM3
Common memory space timing register 3.
- __io uint32 PATT3
Attribute memory space timing register 3.
- const uint32 RESERVED4
Reserved.
- __io uint32 ECCR3
ECC result register 3.
- const uint8 RESERVED5[8]
Reserved.
- __io uint32 PCR4
PC Card/NAND Flash control register 4.
- __io uint32 SR4
FIFO status and interrupt register 4.
- __io uint32 PMEM4
Common memory space timing register 4.
- __io uint32 PATT4
Attribute memory space timing register 4.
- __io uint32 PIO4
I/O space timing register 4.
- const uint8 RESERVED6[80]
Reserved.
- __io uint32 BWTR1
SRAM/NOR-Flash write timing register 1.
- const uint32 RESERVED7
Reserved.
- __io uint32 BWTR2
SRAM/NOR-Flash write timing register 2.
- const uint32 RESERVED8
Reserved.
- __io uint32 BWTR3
SRAM/NOR-Flash write timing register 3.
- const uint32 RESERVED9
Reserved.
- __io uint32 BWTR4
SRAM/NOR-Flash write timing register 4.
FSMC NOR/PSRAM register map type.
Public Members
- __io uint32 BCR
Chip-select control register.
- __io uint32 BTR
Chip-select timing register.
- const uint8 RESERVED[252]
Reserved.
- __io uint32 BWTR
Write timing register.
Configure FSMC GPIOs for use with SRAM.
Set the DATAST bits in the given NOR/PSRAM register map’s chip-select timing register (FSMC_BTR).
Parameters: |
|
---|
Set the ADDHLD bits in the given NOR/PSRAM register map’s chip select timing register (FSMC_BTRx).
Parameters: |
|
---|
Pointer to base address of FSMC memory bank 1 (split into 4 regions, each supporting 1 NOR Flash, SRAM, or PSRAM chip).
Pointer to base address of FSMC memory bank 2 (for NAND Flash).
Pointer to base address of FSMC memory bank 3 (for NAND Flash).
Pointer to base address of FSMC memory bank 4 (for PC card devices.
Pointer to base address of FSMC memory bank 1, region 1 (for NOR/PSRAM).
Pointer to base address of FSMC memory bank 1, region 2 (for NOR/PSRAM).
Pointer to base address of FSMC memory bank 1, region 3 (for NOR/PSRAM).
Pointer to base address of FSMC memory bank 1, region 4 (for NOR/PSRAM).
FSMC register map base pointer.
FSMC NOR/PSRAM base pointer 1.
FSMC NOR/PSRAM base pointer 2.
FSMC NOR/PSRAM base pointer 3.
FSMC NOR/PSRAM base pointer 4.