User's Manual

Table Of Contents
HSMMC CONTROLLER S3C2450X RISC MICROPROCESSOR
21-30
5.10 PRESENT STATE REGISTER
This register contains the SD Command Argument.
Register Address R/W Description Reset Value
PRNSTS0 0X4AC00024 RO/ROC
Present State Register (Channel 0)
0x000A0000
PRNSTS1 0X4A800024 RO/ROC
Present State Register (Channel 1)
0x000A0000
Name Bit Description Initial Value
[31:25]
Reserved
0
PRNTCMD [24] CMD Line Signal Level (RO)
This status is used to check the CMD line level to recover from
errors, and for debugging.
Note: CMD port is mapped to SDx_CMD pin
0
PRNTDAT [23:20] DAT[3:0] Line Signal Level (RO)
This status is used to check the DAT line level to recover from
errors, and for debugging. This is especially useful in detecting the
busy signal level from DAT[0].
D23 = DAT[3]
D22 = DAT[2]
D21 = DAT[1]
D20 = DAT[0]
Note: DAT port is mapped to SDx_DAT pin
Line
State
PRNTWP [19] Write Protect Switch Pin Level (RO)
The Write Protect Switch is supported for memory and combo cards.
This bit reflects the SDWP# pin.
1 = Write enabled (SDWP#=1)
0 = Write protected (SDWP#=0)
Note: SDWP# of channel 0 is fixed to High.
1
PRNTCD [18] Card Detect Pin Level (RO)
This bit reflects the inverse value of the SDCD# pin. Debouncing is
not performed on this bit. This bit may be valid when Card State
Stable is set to 1, but it is not guaranteed because of propagation
delay. Use of this bit is limited to testing since it must be debounced
by software.
1 = Card present (SDCD#=0)
0 = No card present (SDCD#=1)
Note: SDCD# of Channel 0 is fixed to LOW.
Line
State
STBLCARD [17] Card State Stable (RO)
This bit is used for testing. If it is 0, the Card Detect Pin Level is not
stable. If this bit is set to 1, it means the Card Detect Pin Level is
stable. No Card state can be detected by this bit is set to 1 and Card
Inserted is set to 0. The Software Reset For All in the Software
Reset register shall not affect this bit.
1 = No Card or Inserted
1
(After Reset)