Searched refs:endpoint_type (Results 1 – 1 of 1) sorted by relevance
337 uint8_t endpoint_type; in udc_ambiq_ep_enable() local344 endpoint_type = 0; /* AM_HAL_USB_EP_XFER_CONTROL */ in udc_ambiq_ep_enable()347 endpoint_type = 1; /* AM_HAL_USB_EP_XFER_ISOCHRONOUS */ in udc_ambiq_ep_enable()350 endpoint_type = 2; /* AM_HAL_USB_EP_XFER_BULK */ in udc_ambiq_ep_enable()353 endpoint_type = 3; /* AM_HAL_USB_EP_XFER_INTERRUPT */ in udc_ambiq_ep_enable()359 status = am_hal_usb_ep_init(priv->usb_handle, ep_cfg->addr, endpoint_type, ep_cfg->mps); in udc_ambiq_ep_enable()