EZ-USB FX3 Technical Reference Manual, Document Number: 001-76074 Rev. *F 219
Storage Ports
Figure 9-10. Read Interrupt Cycle Timing *
* Source: SDIO Specification, version 2.0
This interrupt period is intended to prevent interaction between the DAT[1] data and the interrupt signals on a common pin.
Figure 9-10 shows the timing of the interrupt period for single data transaction read cycles. For more details, refer to the SDIO
specification.
9.5.3.7 Enabling and Disabling SDIO Interrupts
SDIO interrupts can be enabled or disabled by setting or clearing the bit SDMMC_INTR_MASK.SDIO_INTR_MASK. The
CyU3PSdioInterruptControl API can be used to enable or disable interrupts on the SDIO card. A request to enable interrupts
for an SDIO function (1-7) automatically enables the card's interrupt master.
9.5.3.8 Handling SDIO Interrupts
An SDIO interrupt is notified via the SDMMC_INTR.SDIO_INTR bit. The SDIO interrupt is notified to the application firmware
in the form of an event registered through the SIB callback (explained in 9.5.1.6 Handling SIB Events on page 208).
/* Register a callback for SIB events. */
status = CyU3PSibRegisterCbk (CyFxSDIOUARTApplnSibCB);
/* SIB Callback for handling SIB events */
void
CyFxSDIOUARTApplnSibCB (
uint8_t portId,
CyU3PSibEventType evt,
CyU3PReturnStatus_t status)
{
if (evt == CY_U3P_SIB_EVENT_SDIO_INTR)
{
/* Handle SDIO interrupt event */
}
}