UM10208_2
© NXP B.V. 2007. All rights reserved.
User manual
Rev. 02 — 1 June 2007
302 of 362
NXP Semiconductors
UM10208
Chapter 23: LPC2800 SD/MMC
5.15 FIFO Counter Register (MCIFifoCnt - 0x8010 0048)
The MCIFifoCnt register contains the remaining number of words to be written to or read
from the FIFO. The FIFO counter loads the value from the data length register (see Data
length register, MCIDataLength) when the Enable bit is set in the data control register. If
the data length is not word aligned (multiple of 4), the remaining 1 to 3 bytes are regarded
as a word.
shows the MCIFifoCnt register.
Table 347. Interrupt Mask registers (MCIMask0-1, addresses 0x8010 003C and 0x8010 0040)
Bit
Symbol
Description
Reset
Value
0
Mask0
Mask CmdCrcFail flag.
0
1
Mask1
Mask DataCrcFail flag.
0
2
Mask2
Mask CmdTimeOut flag.
0
3
Mask3
Mask DataTimeOut flag.
0
4
Mask4
Mask TxUnderrun flag.
0
5
Mask5
Mask RxOverrun flag.
0
6
Mask6
Mask CmdRespEnd flag.
0
7
Mask7
Mask CmdSent flag.
0
8
Mask8
Mask DataEnd flag.
0
9
Mask9
Mask StartBitErr flag.
0
10
Mask10
Mask DataBlockEnd flag.
0
11
Mask11
Mask CmdActive flag.
0
12
Mask12
Mask TxActive flag.
0
13
Mask13
Mask RxActive flag.
0
14
Mask14
Mask TxFifoHalfEmpty flag.
0
15
Mask15
Mask RxFifoHalfFull flag.
0
16
Mask16
Mask TxFifoFull flag.
0
17
Mask17
Mask RxFifoFull flag.
0
18
Mask18
Mask TxFifoEmpty flag.
0
19
Mask19
Mask RxFifoEmpty flag.
0
20
Mask20
Mask TxDataAvlbl flag.
0
21
Mask21
Mask RxDataAvlbl flag.
0
31:22
-
Reserved, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.
-
Table 348. FIFO Counter register (MCIFifoCnt - 0x8010 0048)
Bit
Symbol
Description
Reset
Value
14:0
Remaining data
0x0000
31:15
-
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
-