1.34.6.4 HSMCI_IsDatLineBusy Function

C

bool HSMCI_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.

Precondition

HSMCI_Initialize() must have been called first.

Parameters

None.

Returns

true - If the data line is busy.

false - If the data line is ready.

Example

if (HSMCI_IsDatLineBusy() == false)
{
    // Transmit next data
}

Remarks

None.