Searched refs:hprt0 (Results 1 – 2 of 2) sorted by relevance
1222 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local1224 hprt0 = USBx_HPRT0; in USB_ResetPort()1226 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()1229 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()1231 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()1248 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local1250 hprt0 = USBx_HPRT0; in USB_DriveVbus()1252 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()1255 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()1257 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()[all …]
1545 __IO uint32_t hprt0, hprt0_dup; in HCD_Port_IRQHandler() local1548 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()1555 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()1557 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()1571 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()1575 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()1579 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()1621 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()