![ARTERY AT32F435 Series Скачать руководство пользователя страница 538](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592538.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 538
Rev 2.03
24.7.2 NAND Flash control registers
24.7.2.1 NAND Flash control register x (XMC_BKxCTRL) (x=2,3)
Accessed by words.
Bit
Register
Reset value
Type
Description
Bit 31: 20 Reserved
0x000
resd
Kept at its default value.
Bit 19: 17 ECCPGS
0x0
rw
ECC page size
000: 256 bytes
001
:
512 bytes
010: 1024 bytes
011: 2048 bytes
100: 4096 bytes
101: 8192 bytes
Bit 16: 13 TAR
0x0
rw
ALE to RE delay
This field specifies the delay from the falling edge of the
ALE to that of the RE.
0000: 1 HCLK cycle
……
1111: 16 HCLK cycles
Bit 12: 9
TCR
0x0
rw
CLE to RE delay
This field specifies the delay from the falling edge of the
CLE to that of the RE.
0000: 1 HCLK cycle
……
1111: 16 HCLK cycles
Bit 8: 7
Reserved
0x0
resd
Kept at its default value.
Bit 6
ECCEN
0x0
rw
ECC enable
0: ECC disabled
1: ECC enabled
Bit 5: 4
EXTMDBW
0x1
rw
External memory data bus width
This field specifies the external NAND Flash width.
00: 8 bits
01: 16 bits
10: Reserved
11: Reserved
Bit 3
DEV
0x1
rw
Memory device type
0: Reserved
1: NAND Flash
Bit 2
EN
0x0
rw
Memory bank enable
0: Memory bank disabled
1: Memory bank enabled
Bit 1
NWEN
0x0
rw
Wait feature enable
This bit is used to enable NAND Flash wait function.
0: Disabled
1: Enabled
Bit 0
Reserved
0x0
resd
Kept at its default value.
24.7.2.2 Interrupt enable and FIFO status register x (XMC_BKxIS)
(x=2,3)
Accessed by words.
Bit
Register
Reset value
Type
Description
Bit 31: 7
Reserved
0x000000
resd
Kept at its default value.
Bit 6
FIFOE
0x1
rw
FIFO empty
This bit is set by hardware when the FIFO is empty.
0: FIFO is not empty
1: FIFO is empty
XMC FIFO size is 16 words. It is used to store the data
from AHB.
Bit 5
FEIEN
0x0
rw
Falling edge interrupt enable
0: Falling edge interrupt disabled
1: Falling edge interrupt enabled
Bit 4
HLIEN
0x0
rw
High-level interrupt enable