1.22.24.6 1.32.25.6 SDHCx_IsCmdLineBusy Function
C
/* x = SDHC instance number (x is applicable only on devices with more than one instances of SDHC) */ bool SDHCx_IsCmdLineBusy ( void )
Summary
Returns the status of the command line
Description
This function returns the state of the command line. If the command line is busy, the function returns true; returns false otherwise. The status of the command line must be checked before issuing a new command.
Precondition
SDHCx_Initialize() must have been called first for the associated instance.
Parameters
None.
Returns
true - If the command line is busy.
false - If the command line is ready.
Example
if (SDHC1_IsCmdLineBusy() == false) { // Command line is free. Transmit a new command. }
Remarks
None.