/* process the cdc data send/receive state machine and user application  */
static HOST_STATUS usb_host_cdc_class_process(usb_core_instance *pdev, void *phost)
/* process the cdc data send/receive state machine and user application  */
static HOST_STATUS usb_host_cdc_class_process(usb_core_instance *pdev, void *phost)
{
    HOST_STATUS status = HSTATUS_OK;
    USBH_HOST *pphost = phost;
    pphost->user_callbk->huser_application();
    if (CDC_ReqState == CDC_SET_LINE_CODING_RQUEST) {
        return status;
    }
    usb_host_cdc_senddata_process(pdev, pphost);
    usb_host_cdc_receivedata_process(pdev, pphost);
    return status;
}