1.2.20.7 1.9.18.7 1.25.19.7 1.26.17.7 1.27.19.7 1.28.22.7 SDMMCx_IsCardAttached Function
C
/* x = SDMMC instance number */ bool SDMMCx_IsCardAttached ( void )
Summary
Indicates if the card is attached or detached.
Description
Indicates if the card is attached or detached.
Precondition
SDMMCx_Initialize() must have been called first for the associated instance.
Parameters
None.
Returns
true - If the card is inserted.
false - If the card is removed.
Example
if (SDMMC1_IsCardAttached() == true) { // Card is attached }
Remarks
None.