User's Manual

Table Of Contents
HSMMC CONTROLLER S3C2450X RISC MICROPROCESSOR
21-36
5.11 HOST CONTROL REGISTER
This register contains the SD Command Argument.
Register Address R/W Description Reset Value
HOSTCTL0 0X4AC00028 R/W Present State Register (Channel 0) 0x0
HOSTCTL1 0X4A800028 R/W Present State Register (Channel 1) 0x0
Name Bit Description Initial Value
CDSIGSEL [7]
Reserved
This field should be fixed to LOW
0
CDTESTLVL [6]
Reserved
This field should be fixed to LOW
0
WIDE8 [5] Extended Data Transfer Width (It is for MMC 8bit card.)
1 = 8 bit operation
0 = the bit width is designated by the bit 1 (Data Transfer Width)
0
DMASEL [4:3]
DMA Select
One of supported DMA modes can be selected. The host driver shall
check support of DMA modes by referring the Capabilities register.
Use of selected DMA is determined by DMA Enable of the Transfer
Mode register.
00 = SDMA is selected
01 = Reserved
10 = 32-bit Address ADMA2 is selected
11 = 64-bit Address ADMA2 is selected (Not supported)
0
ENHIGHSPD [2]
High Speed Enable
This bit is optional. Before setting this bit, the Host Driver shall check
the High Speed Support in the Capabilities register. If this bit is set
to 0 (default), the Host Controller outputs CMD line and DAT lines at
the falling edge of the SD Clock (up to 25MHz). If this bit is set to 1,
the Host Controller outputs CMD line and DAT lines at the rising edge
of the SD Clock (up to 50MHz).
1 = High Speed mode
0 = Normal Speed mode
0
WIDE4 [1]
Data Transfer Width
This bit selects the data width of the Host Controller. The Host Driver
shall set it to match the data width of the SD card.
1 = 4-bit mode
0 = 1-bit mode
0
ONLED [0]
LED Control
This bit is used to caution the user not to remove the card while the
SD card is being accessed. If the software is going to issue multiple
SD commands, this bit can be set during all these transactions. It is
not necessary to change for each transaction.
1 = LED on
0 = LED off
Note: LED port is mapped to SD0_LED pin
0
NOTE: Card Detect Pin Level does not simply reflect SDCD# pin, but chooses from SDCD, DAT[3], or CDTestlvl depending
on CDSSigSel and SDCDSel values.