/* deinitialize interface of msc class by freeing host channels  */
void usb_host_msc_itfdeinit(usb_core_instance *pdev)
/* deinitialize interface of msc class by freeing host channels  */
void usb_host_msc_itfdeinit(usb_core_instance *pdev)
{
    if (MSC_Machine.hc_num_out != 0U) {
        usb_hchstop(&pdev->regs, MSC_Machine.hc_num_out);
        (void)usb_host_freech(pdev, MSC_Machine.hc_num_out);
        MSC_Machine.hc_num_out = 0U;
    }
    if (MSC_Machine.hc_num_in != 0U) {
        usb_hchstop(&pdev->regs, MSC_Machine.hc_num_in);
        (void)usb_host_freech(pdev, MSC_Machine.hc_num_in);
        MSC_Machine.hc_num_in = 0U;
    }
}