AXEN_ENDPT_RX
usbd_setup_xfer(xfer, sc->axen_ep[AXEN_ENDPT_RX],
err = usbd_open_pipe(sc->axen_iface, sc->axen_ed[AXEN_ENDPT_RX],
USBD_EXCLUSIVE_USE, &sc->axen_ep[AXEN_ENDPT_RX]);
usbd_setup_xfer(c->axen_xfer, sc->axen_ep[AXEN_ENDPT_RX],
if (sc->axen_ep[AXEN_ENDPT_RX] != NULL) {
err = usbd_close_pipe(sc->axen_ep[AXEN_ENDPT_RX]);
sc->axen_ep[AXEN_ENDPT_RX] = NULL;
sc->axen_ed[AXEN_ENDPT_RX] = ed->bEndpointAddress;
if (sc->axen_ep[AXEN_ENDPT_RX] != NULL)
usbd_abort_pipe(sc->axen_ep[AXEN_ENDPT_RX]);
sc->axen_ep[AXEN_ENDPT_RX] != NULL ||
usbd_clear_endpoint_stall_async(sc->axen_ep[AXEN_ENDPT_RX]);