Searched refs:hprt0 (Results 1 – 2 of 2) sorted by relevance
1109 __IO uint32_t hprt0; in USB_ResetPort() local1111 hprt0 = USBx_HPRT0; in USB_ResetPort()1116 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()1118 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()1132 __IO uint32_t hprt0; in USB_DriveVbus() local1134 hprt0 = USBx_HPRT0; in USB_DriveVbus()1139 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()1142 USBx_HPRT0 = ((~USB_OTG_HPRT_PPWR) & hprt0); in USB_DriveVbus()1158 __IO uint32_t hprt0; in USB_GetHostSpeed() local1160 hprt0 = USBx_HPRT0; in USB_GetHostSpeed()[all …]
1023 __IO uint32_t hprt0, hprt0_dup; in HCD_Port_IRQHandler() local1026 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()1033 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) { in HCD_Port_IRQHandler()1034 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) { in HCD_Port_IRQHandler()1043 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) { in HCD_Port_IRQHandler()1046 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) { in HCD_Port_IRQHandler()1048 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) { in HCD_Port_IRQHandler()1073 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) { in HCD_Port_IRQHandler()
Completed in 8 milliseconds