/* call user callback fucntion to process the received data  */
static void usb_host_cdc_receivedata(CDC_Xfer_TypeDef *cdc_Data)
/* call user callback fucntion to process the received data  */
static void usb_host_cdc_receivedata(CDC_Xfer_TypeDef *cdc_Data)
{
    uint8_t *ptr;
    if (cdc_Data->pEmptyBuff < cdc_Data->pFillBuff) {
        ptr = cdc_Data->pFillBuff;
        *ptr = 0x00;
        UserCb.Receive(cdc_Data->pEmptyBuff, cdc_Data->DataLength);
        cdc_Data->pFillBuff = cdc_Data->pEmptyBuff;
        cdc_Data->DataLength = 0;
    }
}