Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/middleware/mcux-sdk-middleware-usb/otg/
Dusb_otg_khci.c52 otgKhciInstance->checkSrpState = 0U; in _USB_OtgKhciCheckSrp()
55 if (otgKhciInstance->checkSrpState == 0U) /* check SE0 */ in _USB_OtgKhciCheckSrp()
59 otgKhciInstance->checkSrpState = 1U; in _USB_OtgKhciCheckSrp()
62 else if (otgKhciInstance->checkSrpState == 1U) /* check J */ in _USB_OtgKhciCheckSrp()
66 otgKhciInstance->checkSrpState = 2; in _USB_OtgKhciCheckSrp()
72 otgKhciInstance->checkSrpState = 0U; in _USB_OtgKhciCheckSrp()
79 else if (otgKhciInstance->checkSrpState == 2U) /* check SE0 */ in _USB_OtgKhciCheckSrp()
83 otgKhciInstance->checkSrpState = 0U; /* check next srp */ in _USB_OtgKhciCheckSrp()
95 otgKhciInstance->checkSrpState = 0U; in _USB_OtgKhciCheckSrp()
Dusb_otg_khci.h79 volatile uint8_t checkSrpState; /*!< check SRP steps */ member