RDRtoPCHardwareError
Default mainpageat91libusbdeviceccidRDRtoPCHardwareError
Description Source Call Graph
Start Line: 1490
unsigned char RDRtoPCHardwareError(unsigned char bSlot, unsigned char bSeq, unsigned char bHardwareErrorCode)
{
    TRACE_DEBUG("RDRtoPCHardwareError\n\r");

    // Build the Interrupt-IN message
    ccidDriver.BufferINT[0] = RDR_TO_PC_HARDWAREERROR;
    ccidDriver.BufferINT[1] = bSlot;
    ccidDriver.BufferINT[2] = bSeq;
    ccidDriver.BufferINT[3] = bHardwareErrorCode;

    // Notify the host that a ICC is inserted
    return USBD_Write( CCID_EPT_NOTIFICATION, ccidDriver.BufferINT, 4, 0, 0 );
}