/* Disable USB Device Endpoint Parameters: EPNum: Device Endpoint Number EPNum.0..3: Address EPNum.7: Dir Return Value: None  */
void USBD_DisableEP(uint32_t EPNum)
/* Disable USB Device Endpoint Parameters: EPNum: Device Endpoint Number EPNum.0..3: Address EPNum.7: Dir Return Value: None  */
void USBD_DisableEP(uint32_t EPNum)
{
    return;
  }
  if (ep_dir != 0U) {
    NRF_USBD->INTENCLR = USBD_INTEN_ENDEPIN0_Msk << ep_num;
    NRF_USBD->EPINEN  &= ~(USBD_EPINEN_IN0_Msk   << ep_num);
  } else {
    NRF_USBD->INTENCLR = USBD_INTEN_ENDEPIN0_Msk << ep_num;
    NRF_USBD->EPINEN  &= ~(USBD_EPOUTEN_OUT0_Msk << ep_num);
  }
}