29.01.2015 Views

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

STM32F101xx, STM32F102xx, STM32F103xx, STM32F105xx and ...

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.

RM0008<br />

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

20.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, always read as 0.<br />

[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:<br />

After a data write, data cannot be written to this register for seven HCLK clock periods.<br />

20.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 />

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<br />

Bits 31:15 Reserved, always read as 0.<br />

Bit 14 HWFC_EN: HW Flow Control enable<br />

0b: HW Flow Control is disabled<br />

1b: HW Flow Control is enabled<br />

When HW Flow Control is enabled, the meaning of the TXFIFOE <strong>and</strong> RXFIFOF interrupt<br />

signals, please see SDIO Status register definition in Section 20.9.11.<br />

Bit 13 NEGEDGE:SDIO_CK dephasing selection bit<br />

0b: SDIO_CK generated on the rising edge of the master clock SDIOCLK<br />

1b: SDIO_CK generated on the falling edge of the master clock SDIOCLK<br />

Bits 12:11 WIDBUS: Wide bus mode enable bit<br />

00: Default bus mode: SDIO_D0 used<br />

01: 4-wide bus mode: SDIO_D[3:0] used<br />

10: 8-wide bus mode: SDIO_D[7:0] used<br />

Doc ID 13902 Rev 9 497/995

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

Saved successfully!

Ooh no, something went wrong!