09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Secure digital input/output interface (SDIO) <strong>RM0090</strong><br />

28.9.9 SDIO data control register (SDIO_DCTRL)<br />

Address offset: 0x2C<br />

Reset value: 0x0000 0000<br />

The SDIO_DCTRL register control the data path state machine (DPSM).<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

Reserved<br />

Bits 31:12 Reserved, must be kept at reset value<br />

889/1416 Doc ID 018909 Rev 3<br />

SDIOEN<br />

RWMOD<br />

RWSTOP<br />

RWSTART<br />

DBLOCKSIZE<br />

DMAEN<br />

DTMODE<br />

DTDIR<br />

DTEN<br />

rw rw rw rw rw rw rw rw rw rw rw rw<br />

Bit 11 SDIOEN: SD I/O enable functions<br />

If this bit is set, the DPSM performs an SD I/O-card-specific operation.<br />

Bit 10 RWMOD: Read wait mode<br />

0: Read Wait control stopping SDIO_D2<br />

1: Read Wait control using SDIO_CK<br />

Bit 9 RWSTOP: Read wait stop<br />

0: Read wait in progress if RWSTART bit is set<br />

1: Enable for read wait stop if RWSTART bit is set<br />

Bit 8 RWSTART: Read wait start<br />

If this bit is set, read wait operation starts.<br />

Bits 7:4 DBLOCKSIZE: Data block size<br />

Define the data block length when the block data transfer mode is selected:<br />

0000: (0 decimal) lock length = 2 0 = 1 byte<br />

0001: (1 decimal) lock length = 2 1 = 2 bytes<br />

0010: (2 decimal) lock length = 2 2 = 4 bytes<br />

0011: (3 decimal) lock length = 2 3 = 8 bytes<br />

0100: (4 decimal) lock length = 2 4 = 16 bytes<br />

0101: (5 decimal) lock length = 2 5 = 32 bytes<br />

0110: (6 decimal) lock length = 2 6 = 64 bytes<br />

0111: (7 decimal) lock length = 2 7 = 128 bytes<br />

1000: (8 decimal) lock length = 2 8 = 256 bytes<br />

1001: (9 decimal) lock length = 2 9 = 512 bytes<br />

1010: (10 decimal) lock length = 2 10 = 1024 bytes<br />

1011: (11 decimal) lock length = 2 11 = 2048 bytes<br />

1100: (12 decimal) lock length = 2 12 = 4096 bytes<br />

1101: (13 decimal) lock length = 2 13 = 8192 bytes<br />

1110: (14 decimal) lock length = 2 14 = 16384 bytes<br />

1111: (15 decimal) reserved<br />

Bit 3 DMAEN: DMA enable bit<br />

0: DMA disabled.<br />

1: DMA enabled.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!