- Main Page
- Modules
- Data Structures
- Files

Functions
MMC/SD Inline Functions
MMCSD

## Functions
static CSL_MMCSDEventType | MMC_getEventId (CSL_MmcsdHandle hMmcsd)

## Function Documentation

static CSL_MMCSDEventType MMC_getEventId | ( | CSL_MmcsdHandle | hMmcsd | ) | `[inline, static]`

===========================================================================
MMC_getEventId

Description
Function return the events of MMCSD(Status of MMCSD Event).

Arguments

                hMmcsd            Handle to the MMCSD
                maskValue         mask value to specify the interrupt state.

Return Value CSL_Status

- CSL_SOK - successful
- CSL_ESYS_BADHANDLE - Invalid handle

Pre Condition
MMC_open() API should be called successfully before this.

Post Condition
None

Modifies
None

Example

    			CSL_MMCControllerObj  pMmcsdContObj;
                CSL_MmcsdHandle       hMmcsd;
                CSL_MmcsdInstId       instId;
                CSL_MMCSDEventType    eventId;
                CSL_status            status;

                   instId = CSL_MMCSD0_INST;

                hMmcsd = MMC_open(&pMmcsdContObj, instId, CSL_MMCSD_OPMODE_POLLED,
                                  &status);

                eventId = MMC_getEventId(hMmcsd);

===========================================================================

References CSL_MMCSD_EBSYDNE_INTERRUPT, CSL_MMCSD_ECRCRD_INTERRUPT, CSL_MMCSD_ECRCRS_INTERRUPT, CSL_MMCSD_ECRCWR_INTERRUPT, CSL_MMCSD_EDATDNE_INTERRUPT, CSL_MMCSD_EDATED_INTERRUPT, CSL_MMCSD_EDRRDY_INTERRUPT, CSL_MMCSD_EDXRDY_INTERRUPT, CSL_MMCSD_ERSPDNE_INTERRUPT, CSL_MMCSD_ETOUTRD_INTERRUPT, CSL_MMCSD_ETOUTRS_INTERRUPT, CSL_MMCSD_ETRNDNE_INTERRUPT, CSL_MMCSD_INTERRUPT_NONE, and CSL_MMCControllerObj::mmcRegs.