S3C2416X RISC MICROPROCESSOR
HSMMC CONTROLLER
20-3
4 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
fall through that step in the flow chart. Timeout checking shall be always required to detect no interrupt generated
but this is not described in the flow chart.
4.1 SD CARD DETECTION SEQUENCE
Figure 20-2. SD Card Detect Sequence
The flow chart for detecting a SD card is shown in Figure 20-2. Each step is executed as follows:
(1) To enable interrupt for card detection, write 1 to the following bits:
Card Insertion Status Enable(ENSTACARDNS) in the Normal Interrupt Status Enable register
Card Insertion Signal Enable(ENSIGCARDNS) in the Normal Interrupt Signal Enable register
Card Removal Status Enable(ENSTACARDREM) in the Normal Interrupt Status Enable register
Card Removal Signal Enable(ENSIGCARDREM) in the Normal Interrupt Signal Enable register
(2) When the Host Driver detects the card insertion or removal, clear its interrupt statuses. If Card Insertion
interrupt(STACARDINS) is generated, write 1 to Card Insertion in the Normal Interrupt Status register. If Card
Removal interrupt(STACARDREM) is generated, write 1 to Card Removal in the Normal Interrupt Status register.
(3) Check Card Inserted in the Present State register. In the case where Card Inserted(INSCARD) is 1, the Host
Driver can supply the power and the clock to the SD card. In the case where Card Inserted is 0, the other
executing processes of the Host Driver shall be immediately closed.
Содержание S3C2416
Страница 33: ...S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW 1 5 3 BLOCK DIAGRAM Figure 1 1 S3C2416X Block Diagram ...
Страница 38: ...PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR 1 10 153 AIN 1 U14 195 EINT 10 GPG2 K15 237 SDATA 14 C18 ...
Страница 122: ...BUS MATRIX EBI S3C2416X RISC MICROPROCESSOR 3 4 NOTES ...
Страница 204: ...DMA CONTROLLER S3C2416X RISC MICROPROCESSOR 8 18 NOTES ...
Страница 284: ...WATCHDOG TIMER S3C2416X RISC MICROPROCESSOR 11 6 NOTES ...
Страница 320: ...REAL TIME CLOCK S3C2416X RISC MICROPROCESSOR 13 16 NOTES ...
Страница 344: ...UART S3C2416X RISC MICROPROCESSOR 14 24 NOTES ...
Страница 380: ...USB2 0 DEVICE S3C2416X RISC MICROPROCESSOR 16 34 NOTES ...
Страница 432: ...2D S3C2416X RISC MICROPROCESSOR 18 38 NOTES ...
Страница 446: ...HS_SPI CONTROLLER S3C2416X RISC MICROPROCESSOR 19 14 NOTES ...
Страница 455: ...S3C2416X RISC MICROPROCESSOR HSMMC CONTROLLER 20 9 4 9 SD COMMAND ISSUE SEQUENCE Figure 20 9 Timeout Setting Sequence ...
Страница 604: ...S3C2416X RISC MICROPROCESSOR S3C2416X RISC MICROPROCESSOR 23 22 NOTES ...
Страница 638: ...PCM AUDIO INTERFACE S3C2416X RISC MICROPROCESSOR 25 18 NOTES ...
Страница 653: ...S3C2416X RISC MICROPROCESSOR ELECTRICAL DATA 26 15 Figure 26 14 SDRAM READ WRITE Timing Trp 2 Trcd 2 Tcl 2 DW 16 bit ...
Страница 670: ...ELECTRICAL DATA S3C2416X RISC MICROPROCESSOR 26 32 NOTES ...
Страница 672: ...MECHANICAL DATA S3C2416X RISC MICROPROCESSOR 30 2 Figure 27 2 330 FBGA 1414 Package Dimension 2 Bottom View ...