Home
last modified time | relevance | path

Searched refs:epctrl_fsm (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/usb/device/
Dusb_dc_sam_usbc.c107 static enum usb_dc_epctrl_state epctrl_fsm; variable
340 epctrl_fsm = USB_EPCTRL_SETUP; in usb_dc_ctrl_init()
347 epctrl_fsm = USB_EPCTRL_STALL_REQ; in usb_dc_ctrl_stall_data()
359 epctrl_fsm = USB_EPCTRL_HANDSHAKE_WAIT_IN_ZLP; in usb_dc_ctrl_send_zlp_in()
382 epctrl_fsm = USB_EPCTRL_HANDSHAKE_WAIT_OUT_ZLP; in usb_dc_ctrl_send_zlp_out()
403 if (epctrl_fsm != USB_EPCTRL_SETUP) { in usb_dc_ep0_isr()
415 usb_dc_epctrl_state_string[epctrl_fsm]); in usb_dc_ep0_isr()
417 if (epctrl_fsm != USB_EPCTRL_DATA_OUT) { in usb_dc_ep0_isr()
418 if ((epctrl_fsm == USB_EPCTRL_DATA_IN) in usb_dc_ep0_isr()
419 || (epctrl_fsm == USB_EPCTRL_HANDSHAKE_WAIT_OUT_ZLP)) { in usb_dc_ep0_isr()
[all …]