1.2.20.5 1.9.18.5 1.25.19.5 1.26.17.5 1.27.19.5 1.28.22.5 SDMMCx_IsDatLineBusy Function
C
/* x = SDMMC instance number */ bool SDMMCx_IsDatLineBusy ( void )
Summary
Returns the status of the data line.
Description
The status of the data line must be checked before initiating a data transfer by calling this API
Precondition
SDMMCx_Initialize() must have been called first for the associated instance.
Parameters
None.
Returns
true - If the data line is busy.
false - If the data line is ready.
Example
if (SDMMC1_IsDatLineBusy() == false) { // Transmit next data }
Remarks
This function must be called to check the status of Commands with busy signal (example R1b).