Information

FTFL_FSTAT field descriptions (continued)
Field Description
3–1
Reserved
This read-only field is reserved and always has the value zero.
0
MGSTAT0
Memory Controller Command Completion Status Flag
The MGSTAT0 status flag is set if an error is detected during execution of an FTFL command or during
the flash reset sequence. As a status flag, this bit cannot (and need not) be cleared by the user like the
other error flags in this register.
The value of the MGSTAT0 bit for "command-N" is valid only at the end of the "command-N" execution
when CCIF=1 and before the next command has been launched. At some point during the execution of
"command-N+1," the previous result is discarded and any previous error is cleared.
28.33.2 Flash Configuration Register (FTFL_FCNFG)
This register provides information on the current functional state of the FTFL module.
The erase control bits (ERSAREQ and ERSSUSP) have write restrictions. SWAP,
PFLSH, RAMRDY are read-only status bits . The unassigned bits read as noted and are
not writable. The reset values for the SWAP, PFLSH, RAMRDY bits are determined
during the reset sequence.
Address: FTFL_FCNFG is 4002_0000h base + 1h offset = 4002_0001h
Bit 7 6 5 4 3 2 1 0
Read
CCIE RDCOLLIE
ERSAREQ
ERSSUSP
SWAP PFLSH RAMRDY EEERDY
Write
Reset
0 0 0 0 0 0 0 0
FTFL_FCNFG field descriptions
Field Description
7
CCIE
Command Complete Interrupt Enable
The CCIE bit controls interrupt generation when an FTFL command completes.
0 Command complete interrupt disabled
1 Command complete interrupt enabled. An interrupt request is generated whenever the FSTAT[CCIF]
flag is set.
6
RDCOLLIE
Read Collision Error Interrupt Enable
The RDCOLLIE bit controls interrupt generation when an FTFL read collision error occurs.
0 Read collision error interrupt disabled
1 Read collision error interrupt enabled. An interrupt request is generated whenever an FTFL read
collision error is detected (see the description of FSTAT[RDCOLERR]).
5
ERSAREQ
Erase All Request
Table continues on the next page...
Chapter 28 Flash Memory Module (FTFL)
K20 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc. 611