beautypg.com

Samsung S3C2440A User Manual

Page 445

background image

S3C2440A RISC MICROPROCESSOR

MMC/SD/SDIO CONTROLLER

19-9

SDI Data Remain Counter Register(SDIDatCnt)

Register Address

R/W

Description

Reset

Value

SDIDatCnt

0x5A000030

R

SDI Data Remain Counter Register

0x0

SDIDatCnt Bit

Description

Initial

Value

Reserved [31:24]

BlkNumCnt

[23:12] Remaining Block number

0x000

BlkCnt

[11:0]

Remaining data byte of 1 block

0x000

SDI Data Status Register(SDIDatSta)

Register Address

R/W

Description

Reset

Value

SDIDatSta

0x5A000034

R/(C)

SDI Data Status Register

0x0

SDIDatSta Bit

Description

Initial

Value

Reserved [31:12]

No Busy(NoBusy)

[11]

R/C

Busy is not active during 16cycle after cmd packet transmitted in
only busy check mode. This flag is cleared by setting to 1 this bit.

0 = not detect, 1 = no busy signal

0

Read Wait

Request Occur

(RWaitReq)

[10]

R/C

Read wait request signal transmits to sd card. The request signal is
stopped and this flag is cleared by setting to one this bit.

0 = not occur, 1 = Read wait request occur

0

SDIO Interrupt

Detect(IOIntDet)

[9]

R/C

SDIO interrupt detect. This flag is cleared by setting to one this bit.

0 = not detect, 1 = SDIO interrupt detect

0

Reserved [8]

CRC Status
Fail(CrcSta)

[7]

R/C

CRC Status error when data block sent(CRC check failed). This
flag is cleared by setting to one this bit.

0 = not detect, 1 = crc status fail

0

Data Receive CRC

Fail(DatCrc)

[6]

R/C

Data block received error(CRC check failed). This flag is cleared
by setting to one this bit.

0 = not detect, 1 = receive crc fail

0

Data Time

Out(DatTout)

[5]

R/C

Data / Busy receive timeout. This flag is cleared by setting to one
this bit.

0 = not detect, 1 = timeout

0

Data Transfer

Finish(DatFin)

[4]

R/C

Data transfer completes(data counter is zero). This flag is cleared
by setting to one this bit.

0 = not detect, 1 = data finish detect

0

Busy Finish

(BusyFin)

[3]

R/C

Only busy check finish. This flag is cleared by setting to one this bit

0 = not detect, 1 = busy finish detect

0

Reserved [2]

0

Tx Data progress

On(TxDatOn)

[1]

Data transmit in progress

0 = not active, 1 = data Tx in progress

0

Rx Data Progress

On(RxDatOn)

[0]

Data receive in progress

0 = not active, 1 = data Rx in progress

0