/****************************************************************************
  Function:
    bool USBHostCDC_ApiTransferIsComplete(uint8_t* errorCodeDriver,uint8_t* byteCount)

  Description:
    This function is called by application to poll for transfer status. This 
    function returns true in the transfer is over. To check whether the transfer
    was successfull or not , application must check the error code returned by 
    reference.

  Precondition:
    None

  Parameters:
    uint8_t    *errorCodeDriver - returns.
    uint8_t    *byteCount       - No. of bytes transferred.


  Return Values:
    true    -   Transfer is has completed.
    false   -   Transfer is pending.

  Remarks:
    None
***************************************************************************/
bool USBHostCDC_ApiTransferIsComplete(uint8_t* errorCodeDriver, uint8_t* byteCount )
{       
    return(USBHostCDCTransferIsComplete(CDCdeviceAddress,errorCodeDriver,byteCount));
}
/****************************************************************************
  Function:
    BOOL USBHostCDC_ApiTransferIsComplete(BYTE* errorCodeDriver,BYTE* byteCount)

  Description:
    This function is called by application to poll for transfer status. This 
    function returns true in the transfer is over. To check whether the transfer
    was successfull or not , application must check the error code returned by 
    reference.

  Precondition:
    None

  Parameters:
    BYTE    *errorCodeDriver - returns.
    BYTE    *byteCount       - No. of bytes transferred.


  Return Values:
    TRUE    -   Transfer is has completed.
    FALSE   -   Transfer is pending.

  Remarks:
    None
***************************************************************************/
BOOL USBHostCDC_ApiTransferIsComplete(BYTE* errorCodeDriver, BYTE* byteCount )
{       
    return(USBHostCDCTransferIsComplete(CDCdeviceAddress,errorCodeDriver,byteCount));
}