Home
last modified time | relevance | path

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

/hal_stm32-3.6.0/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_usb.c1560 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1562 hprt0 = USBx_HPRT0; in USB_ResetPort()
1564 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1567 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1569 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1586 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1588 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1590 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1593 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1595 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32h7xx_hal_hcd.c1655 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1659 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1666 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1668 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1680 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1684 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1688 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1722 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-3.6.0/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_usb.c1641 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1643 hprt0 = USBx_HPRT0; in USB_ResetPort()
1645 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1648 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1650 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1667 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1669 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1671 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1674 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1676 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32f4xx_hal_hcd.c1635 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1639 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1646 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1648 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1660 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1664 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1668 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1702 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-3.6.0/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_usb.c1742 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1744 hprt0 = USBx_HPRT0; in USB_ResetPort()
1746 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1749 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1751 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1768 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1770 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1772 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1775 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1777 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32f7xx_hal_hcd.c1667 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1671 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1678 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1680 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1692 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1696 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1700 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1734 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-3.6.0/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_usb.c1544 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1546 hprt0 = USBx_HPRT0; in USB_ResetPort()
1548 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1551 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1553 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1570 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1572 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1574 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1577 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1579 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32f2xx_hal_hcd.c1886 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1890 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1897 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1899 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1911 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1915 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1919 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1953 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-3.6.0/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_ll_usb.c1412 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1414 hprt0 = USBx_HPRT0; in USB_ResetPort()
1416 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1419 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1421 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1438 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1440 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1442 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1445 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1447 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32l4xx_hal_hcd.c1629 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1633 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1640 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1642 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1654 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1658 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1662 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1696 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-3.6.0/stm32cube/stm32f1xx/drivers/src/
Dstm32f1xx_ll_usb.c1386 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1388 hprt0 = USBx_HPRT0; in USB_ResetPort()
1390 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1393 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1395 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1412 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1414 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1416 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1419 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1421 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32f1xx_hal_hcd.c1640 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1644 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1651 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1653 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1665 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1669 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1673 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1707 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-3.6.0/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_ll_usb.c1592 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1594 hprt0 = USBx_HPRT0; in USB_ResetPort()
1596 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1599 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1601 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1618 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1620 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1622 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1625 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1627 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32u5xx_hal_hcd.c1880 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1884 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1891 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1893 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1905 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1909 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1913 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1947 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()