Mmc/Sd Interrupt Mask Register; Table 20-14 Mmc/Sd Interrupt Mask Register Description - Motorola DragonBall MC9328MX1 Reference Manual

Integrated portable system processor
Table of Contents

Advertisement

Multimedia Card/Secure Digital Host Controller Module (MMC/SD)

20.6.10 MMC/SD Interrupt Mask Register

When certain conditions exist in the module, the MMC/SD module has the ability to set an interrupt. The
MMC/SD Interrupt Mask Register allows the user to control whether these interrupts occur.
Rewriting this register clears the interrupt MMC_IRQ. When the interrupt source is from the SD I/O, the
MMC/SD module continues to interrupt the system. In this case, the user must write to the internal
registers on the SD I/O card. This is the only way to acknowledge the interrupt. In the interrupt service
routine the status indicators should be polled.
INT_MASK
BIT
31
30
29
TYPE
r
r
r
0
0
0
RESET
BIT
15
14
13
TYPE
r
r
r
0
0
0
RESET
Table 20-14. MMC/SD Interrupt Mask Register Description
Name
Reserved
Bits 31–7
AUTO_CARD_DETECT
Bit 6
DAT0_EN
Bit 5
SDIO
Bit 4
20-26
MMC/SD Interrupt Mask Register
28
27
26
25
24
23
r
r
r
r
r
r
0
0
0
0
0
0
12
11
10
9
8
7
r
r
r
r
r
r
0
0
0
0
0
0
Description
Reserved—These bits are reserved and should read 0.
Auto Card Detect (SD card only)—Masks the
auto card detect interrupt. Card insertion results in
the SD_DAT [3:0] pins changing from
, and card removal results in the pins
1111
changing from
1111
to
0111
detected, the user program must mask
AUTO_CARD_DETECT to avoid misleading
interrupt generation while the SD_DAT lines
change during card access.
SD_DAT0 Enable—Identifies how the SD I/O
interrupt is detected. An interrupt is determined by
SD_DAT [1] = 0, however this bit is an optional
setting for the SDIO bit.
MMC/SD I/O—Masks the interrupt from the SD I/O
card to the MMC/SD module I/O interrupt mask.
MC9328MX1 Reference Manual
22
21
20
r
r
r
0
0
0
0x0000
6
5
4
AUTO_
DAT0
CARD_
SDIO
_EN
DETECT
rw
rw
rw
0
0
0
0x0000
0 = Not masked
1 = Masked
0111
to
. After the card is
0 = SD I/O's Interrupt detection
1 = SD I/O's Interrupt detection
0 = Not masked
1 = Masked
Addr
0x00214024
19
18
17
r
r
r
0
0
0
3
2
1
END_
WRITE
BUF_
DATA_
CMD_
_OP_
READY
TRAN
RES
DONE
rw
rw
rw
0
0
0
Settings
based on SD_DAT [3:1] =
110
based on SD_DAT [3:0] =
1101
MOTOROLA
16
r
0
0
rw
0

Advertisement

Table of Contents
loading

Table of Contents