UM10208_2
© NXP B.V. 2007. All rights reserved.
User manual
Rev. 02 — 1 June 2007
295 of 362
NXP Semiconductors
UM10208
Chapter 23: LPC2800 SD/MMC
4.3.16 APB interfaces
The APB interface generates the interrupt and DMA requests, and accesses the SD/MCI
registers and the data FIFO. It consists of a data path, register decoder, and
interrupt/DMA logic. DMA is controlled by the General Purpose DMA controller, see
for details.
4.3.17 Interrupt logic
The interrupt logic generates 2 interrupt request signals. Each is asserted when at least
one status flag is set and that interrupt is enabled in the related mask register. Two mask
registers are provided to allow selection of the conditions that will generate each interrupt.
A status flag generates an interrupt request if a corresponding mask flag is set. Two
interrupts allow use of one as FIQ and one as IRQ to the CPU, or separation of functions
to 2 interrupt service routines.
5.
Register description
This section describes the SD/MCI registers and provides programming details.
5.1 Summary of SD/MCI registers
The SD/MCI registers are shown in
.
[1]
Reset Value reflects the data stored in used bits only. It does not include reserved bits content.
Table 331. SD/MCI register map
Name
Description
Access Width Reset
Value
Address
MCIPower
Power control register.
R/W
8
0x00
0x8010 0000
MCIClock
Clock control register.
R/W
12
0x000
0x8010 0004
MCIArgument
Argument register.
R/W
32
0x00000000 0x8010 0008
MCICommand
Command register.
R/W
11
0x000
0x8010 000C
MCIRespCmd
Response command register.
RO
6
0x00
0x8010 0010
MCIResponse0 Response register.
RO
32
0x00000000 0x8010 0014
MCIResponse1 Response register.
RO
32
0x00000000 0x8010 0018
MCIResponse2 Response register.
RO
32
0x00000000 0x8010 001C
MCIResponse3 Response register.
RO
31
0x00000000 0x8010 0020
MCIDataTimer
Data Timer.
R/W
32
0x00000000 0x8010 0024
MCIDataLength Data length register.
R/W
16
0x0000
0x8010 0028
MCIDataCtrl
Data control register.
R/W
8
0x00
0x8010 002C
MCIDataCnt
Data counter.
RO
16
0x0000
0x8010 0030
MCIStatus
Status register.
RO
22
0x000000
0x8010 0034
MCIClear
Clear register.
WO
11
-
0x8010 0038
MCIMask0
Interrupt 0 mask register.
R/W
22
0x000000
0x8010 003C
MCIMask1
Interrupt 1 mask register.
R/W
22
0x000000
0x8010 0040
MCIFifoCnt
FIFO Counter.
RO
15
0x0000
0x8010 0048
MCIFIFO
Data FIFO Register.
R/W
32
0x00000000 0x8010 0080
to
0x8010 00BC