09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

28.9 SDIO registers<br />

The device communicates to the system via 32-bit-wide control registers accessible via<br />

APB2.<br />

The peripheral registers have to be accessed by words (32 bits).<br />

28.9.1 SDIO power control register (SDIO_POWER)<br />

Address offset: 0x00<br />

Reset value: 0x0000 0000<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 />

PWRC<br />

TRL<br />

rw rw<br />

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

Bits 1:0 PWRCTRL: Power supply control bits.<br />

These bits are used to define the current functional state of the card clock:<br />

00: Power-off: the clock to card is stopped.<br />

01: Reserved<br />

10: Reserved power-up<br />

11: Power-on: the card is clocked.<br />

Note: At least seven HCLK clock periods are needed between two write accesses to this register.<br />

Note: After a data write, data cannot be written to this register for three SDIOCLK (48 MHz) clock<br />

periods plus two PCLK2 clock periods.<br />

28.9.2 SDI clock control register (SDIO_CLKCR)<br />

Address offset: 0x04<br />

Reset value: 0x0000 0000<br />

The SDIO_CLKCR register controls the SDIO_CK output clock.<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 />

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

HWFC_EN<br />

NEGEDGE<br />

WID<br />

BUS<br />

BYPASS<br />

PWRSAV<br />

CLKEN<br />

CLKDIV<br />

rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw

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

Saved successfully!

Ooh no, something went wrong!