29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

RM0008<br />

Flexible static memory controller (FSMC)<br />

Bit 2 PBKEN: PC Card/NAND Flash memory bank enable bit.<br />

Enables the memory bank. Accessing a disabled memory bank causes an ERROR on AHB<br />

bus<br />

0: Corresponding memory bank is disabled (default after reset)<br />

1: Corresponding memory bank is enabled<br />

Bit 1 PWAITEN: Wait feature enable bit.<br />

Enables the Wait feature for the PC Card/NAND Flash memory bank:<br />

0: disabled<br />

1: enabled<br />

Note: For a PC Card, when the wait feature is enabled, the MEMWAITx/ATTWAITx/IOWAITx<br />

bits must be programmed to a value higher than t v(IORDY-NOE) /T HCLK + 4, where<br />

t v(IORDY-NOE) is the maximum time taken by NWAIT to go low once NOE is low.<br />

Bit 0<br />

Reserved.<br />

FIFO status <strong>and</strong> interrupt register 2..4 (FSMC_SR2..4)<br />

Address offset: 0xA000 0000 + 0x44 + 0x20 * (x-1), x = 2..4<br />

Reset value: 0x0000 0040<br />

This register contains information about FIFO status <strong>and</strong> interrupt. The FSMC has a FIFO<br />

that is used when writing to memories to store up to16 words of data from the AHB.<br />

This is used to quickly write to the AHB <strong>and</strong> free it for transactions to peripherals other than<br />

the FSMC, while the FSMC is draining its FIFO into the memory. This register has one of its<br />

bits that indicates the status of the FIFO, for ECC purposes.<br />

The ECC is calculated while the data are written to the memory, so in order to read the<br />

correct ECC the software must wait until the FIFO is empty.<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

FEMPT<br />

IFEN<br />

ILEN<br />

IREN<br />

IFS<br />

ILS<br />

IRS<br />

r rw rw rw rw rw rw<br />

Bit 6 FEMPT: FIFO empty.<br />

Read-only bit that provides the status of the FIFO<br />

0: FIFO not empty<br />

1: FIFO empty<br />

Bit 5 IFEN: Interrupt falling edge detection enable bit<br />

0: Interrupt falling edge detection request disabled<br />

1: Interrupt falling edge detection request enabled<br />

Bit 4 ILEN: Interrupt high-level detection enable bit<br />

0: Interrupt high-level detection request disabled<br />

1: Interrupt high-level detection request enabled<br />

Bit 3 IREN: Interrupt rising edge detection enable bit<br />

0: Interrupt rising edge detection request disabled<br />

1: Interrupt rising edge detection request enabled<br />

Doc ID 13902 Rev 9 449/995

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!