1.34.6.5 HSMCI_IsCmdLineBusy Function

C

bool HSMCI_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; false otherwise. The status of the command line must be checked before issuing a new command. The command line becomes ready, 8 bit time period after the end of the card response.

Precondition

HSMCI_Initialize() must have been called first.

Parameters

None.

Returns

true - If the command line is busy

false - If the command line is ready

Example

if (HSMCI_IsCmdLineBusy() == false)
{
    // Command line is free. Transmit a new command.
}

Remarks

None.