URE_ENDPT_RX
err = usbd_open_pipe(sc->ure_iface, sc->ure_ed[URE_ENDPT_RX],
USBD_EXCLUSIVE_USE, &sc->ure_ep[URE_ENDPT_RX]);
usbd_setup_xfer(c->uc_xfer, sc->ure_ep[URE_ENDPT_RX],
if (sc->ure_ep[URE_ENDPT_RX] != NULL) {
err = usbd_close_pipe(sc->ure_ep[URE_ENDPT_RX]);
sc->ure_ep[URE_ENDPT_RX] = NULL;
sc->ure_ed[URE_ENDPT_RX] = ed->bEndpointAddress;
if (sc->ure_ep[URE_ENDPT_RX] != NULL)
usbd_abort_pipe(sc->ure_ep[URE_ENDPT_RX]);
sc->ure_ep[URE_ENDPT_RX]);
usbd_setup_xfer(xfer, sc->ure_ep[URE_ENDPT_RX], c, c->uc_buf,