
PRELIMINARY
S3C6400X RISC MICROPROCESSOR
HSMMC CONTROLLER
27-3
Preliminary product information describe products that are in development,
for which full characterization data and associated errata are not yet available.
Specifications and information herein are subject to change without notice.
SEQUENCE
This section defines basic sequence flow chart divided into several sub sequences.
“
Wait for interrupts” is used
in the flow chart. This means the Host Driver waits until specified interrupts are asserted. If already asserted, then
follow the next step in the flow chart. Timeout checking required to detect no interrupt generated
.
This is not
described in the flow chart.
SD CARD DETECTION SEQUENCE
Figure 27-2. SD Card Detect Sequence
The flow chart for detecting a SD card is shown in Figure 27-2. Each step is executed as follows:
(1) To enable interrupt for card detection, write 1 to the following bits:
Card Insertion Status Enable in the Normal Interrupt Status Enable register
Card Insertion Signal Enable in the Normal Interrupt Signal Enable register
Card Removal Status Enable in the Normal Interrupt Status Enable register
Card Removal Signal Enable in the Normal Interrupt Signal Enable register
(2) When the Host Driver detects the card insertion or removal, it clears the interrupt statuses. If Card Insertion
interrupt is generated, write 1 to Card Insertion in the Normal Interrupt Status register. If Card Removal interrupt is
generated, write 1 to Card Removal in the Normal Interrupt Status register.