Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/middleware/mcux-sdk-middleware-usb/otg/
Dusb_otg_khci.c29 static void _USB_OtgKhciRequestState(usb_otg_khci_instance_t *otgKhciInstance,
32 static usb_status_t _USB_OtgKhciCheckSrp(usb_otg_khci_instance_t *otgKhciInstance);
45 static usb_status_t _USB_OtgKhciCheckSrp(usb_otg_khci_instance_t *otgKhciInstance) in _USB_OtgKhciCheckSrp() argument
47 otgKhciInstance->checkTime++; in _USB_OtgKhciCheckSrp()
49 if (otgKhciInstance->checkTime >= USB_OTG_TIME_SRP_TIME_OUT) in _USB_OtgKhciCheckSrp()
51 otgKhciInstance->checkTime = 0U; in _USB_OtgKhciCheckSrp()
52 otgKhciInstance->checkSrpState = 0U; in _USB_OtgKhciCheckSrp()
55 if (otgKhciInstance->checkSrpState == 0U) /* check SE0 */ in _USB_OtgKhciCheckSrp()
57 if (0U != otgKhciInstance->se0State) /* se0 */ in _USB_OtgKhciCheckSrp()
59 otgKhciInstance->checkSrpState = 1U; in _USB_OtgKhciCheckSrp()
[all …]