Renesas SH7781 User Manual
Page 1288
Advertising
24. Multimedia Card Interface (MMCIF)
Rev.1.00 Jan. 10, 2008 Page 1258 of 1658
REJ09B0261-0100
Start of command sequence
Clear FIFO
Configure the DMAC
Set DMACR (in the MMCIF)
Read response register
CRPI interrupt
detected?
No
Yes
Response status
normal?
No
Yes
CTERI interrupt
detected?
No
Yes
CRCERI interrupt
detected?
Yes
No
Execute CMD 20
(Set CMDR then CMDSTRT)
End of command sequence
Set DATAEN to 1
FRDYI interrupt
detected or DMA transfer
end?
No
Yes
Clear DMACR to H'00
DMA transfer end?
No
Yes
FEI interrupt
detected?
No
Yes
Set CMDOFF to 1
Execute CMD12
Set CMDOFF to 1
Figure 24.28 Example of Operational Flow for Stream Write Transfer
Advertising