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.

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

RM0008<br />

Table 135.<br />

Erase timeout field (continued)<br />

ERASE_TIMEOUT<br />

Value definition<br />

--------- ---------<br />

63 63 [sec]<br />

ERASE_OFFSET<br />

This 2-bit field indicates TOFFSET <strong>and</strong> one of four values can be selected. This field is<br />

meaningless if the ERASE_SIZE <strong>and</strong> ERASE_TIMEOUT fields are set to 0.<br />

Table 136.<br />

Erase offset field<br />

ERASE_OFFSET<br />

Value definition<br />

0h<br />

1h<br />

2h<br />

3h<br />

0 [sec]<br />

1 [sec]<br />

2 [sec]<br />

3 [sec]<br />

20.4.13 SD I/O mode<br />

SD I/O interrupts<br />

To allow the SD I/O card to interrupt the MultiMediaCard/SD module, an interrupt function is<br />

available on a pin on the SD interface. Pin 8, used as SDIO_D1 when operating in the 4-bit<br />

SD mode, signals the cards interrupt to the MultiMediaCard/SD module. The use of the<br />

interrupt is optional for each card or function within a card. The SD I/O interrupt is levelsensitive,<br />

which means that the interrupt line must be held active (low) until it is either<br />

recognized <strong>and</strong> acted upon by the MultiMediaCard/SD module or deasserted due to the end<br />

of the interrupt period. After the MultiMediaCard/SD module has serviced the interrupt, the<br />

interrupt status bit is cleared via an I/O write to the appropriate bit in the SD I/O card’s<br />

internal registers. The interrupt output of all SD I/O cards is active low <strong>and</strong> the<br />

MultiMediaCard/SD module provides pull-up resistors on all data lines (SDIO_D[3:0]). The<br />

MultiMediaCard/SD module samples the level of pin 8 (SDIO_D/IRQ) into the interrupt<br />

detector only during the interrupt period. At all other times, the MultiMediaCard/SD module<br />

ignores this value.<br />

The interrupt period is applicable for both memory <strong>and</strong> I/O operations. The definition of the<br />

interrupt period for operations with single blocks is different from the definition for multipleblock<br />

data transfers.<br />

SD I/O suspend <strong>and</strong> resume<br />

Within a multifunction SD I/O or a card with both I/O <strong>and</strong> memory functions, there are<br />

multiple devices (I/O <strong>and</strong> memory) that share access to the MMC/SD bus. To share access<br />

to the MMC/SD module among multiple devices, SD I/O <strong>and</strong> combo cards optionally<br />

implement the concept of suspend/resume. When a card supports suspend/resume, the<br />

MMC/SD module can temporarily halt a data transfer operation to one function or memory<br />

(suspend) to free the bus for a higher-priority transfer to a different function or memory. After<br />

this higher-priority transfer is complete, the original transfer is resumed (restarted) where it<br />

left off. Support of suspend/resume is optional on a per-card basis. To perform the<br />

486/995 Doc ID 13902 Rev 9

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

Saved successfully!

Ooh no, something went wrong!