EasyManua.ls Logo

Cypress FM4 Series - MMC Wait IRQ; Example of Controlling Wait IRQ

Cypress FM4 Series
1102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER 15: SD Card Interface
912 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
4. MMC Wait IRQ
This section explains details of the MMC Wait IRQ.
4.1 Example of Controlling Wait IRQ
Figure 4-1 MMC Wait Control
Start
(1)
(2)
Set MMC Wait IRQ Control Register
Set Command Register
Wait for Command Complete
Interrupt or Wait IRQ Cancel
(4)
Command Complete Interrupt occurs
Clear Command Complete Status and
Command * Error
Interrupt Status
(7)
End
Read Response Register
(6)
Wait IRQ Cancel
Check
Interrupt Status
(5)
No Error Command Complete
Error Command Complete
Set MMC Wait IRQ Control Register
(10)
Read MMC Wait IRQ Control Register
(8)
Check
Wait IRQ State
(9)
Command Complete
Interrupt occurs
Wait for
Command Complete Interrupt
Command Complete
Interrupt occurs
(11)
==0
==1
Set Argument 1 Register
(3)

Table of Contents

Related product manuals