Mmc/Sd Status Register; Table 20-6 Mmc/Sd Status 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.2 MMC/SD Status Register

The read-only MMC/SD Status Register provides the programmer with information about the status of
MMC/SD module operations, application FIFO status, and error conditions.
STATUS
BIT
31
30
29
TYPE
r
r
0
0
RESET
BIT
15
14
13
CARD
SDIO_
END_
_PRE-
INT_
CMD_
SENCE
ACTIVE
RESP
TYPE
r
r
0
0
RESET
Name
Reserved
Bits 31–16
CARD_PRESENCE
Bit 15
SDIO_INT_ACTIVE
Bit 14
END_CMD_RESP
Bit 13
WRITE_OP_DONE
Bit 12
20-16
MMC/SD Status Register
28
27
26
r
r
r
r
0
0
0
0
12
11
10
WRITE
DATA_
WR_CRC
_OP_
TRANS_
_ERROR
DONE
DONE
_CODE
r
r
r
r
0
0
0
0
Table 20-6. MMC/SD Status Register Description
Description
Reserved—These bits are reserved and should read 0.
Card Presence—Detects whether an MMC/SD
card is present based on SD_DAT [3].
SD I/O Interrupt Active—Indicates whether an
interrupt is detected at the SD I/O card. A
separate acknowledge command to the card is
required to clear this interrupt.
End Command Response—Indicates that the
command was successfully transmitted to the
card. A response package is expected after each
successful command operation.
END_CMD_RESP is clear when the clock is
stopped.
Write Operation Done—Indicates when an
access operation is complete. The flash card
needs extra idle time to write and it requires the
MMC/SD module to wait until the card writes the
buffered data to the inner flash memory. The
MMC/SD module automatically detects the
status. WRITE_OP_DONE determines the end of
the write operation.
MC9328MX1 Reference Manual
25
24
23
22
r
r
r
r
0
0
0
0
0x0000
9
8
7
6
CARD
APPL
APPL
RESP
_BUS
_BUFF
_BUFF
_CRC
_CLK
_FF
_FE
_ERR
_RUN
r
r
r
r
0
0
0
0
0x0000
0x00214004
2
21
19
18
17
0
r
r
r
r
r
0
0
0
0
0
5
4
3
2
1
CRC_
CRC_
TIME
READ
WRITE
_OUT
_ERR
_ERR
_RESP
r
r
r
r
r
0
0
0
0
0
Settings
0 = No cards are present
1 = At least 1 card is present
0 = No interrupt detected
1 = Interrupt detected via SDIO
card bus
0 = Command not successful,
incomplete, or not
applicable (no response)
1 = Command transmitted
successfully (response
received)
0 = Write operation in progress
or incomplete
1 = Write operation complete
MOTOROLA
Addr
16
r
0
0
TIME
_OUT
_READ
r
0

Advertisement

Table of Contents
loading

Table of Contents