Home
last modified time | relevance | path

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

/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/
Dstm32n6xx_ll_usb.c1526 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1528 hprt0 = USBx_HPRT0; in USB_ResetPort()
1530 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1533 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1535 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1552 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1554 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1556 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1559 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1561 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32n6xx_hal_hcd.c1878 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1882 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1889 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1891 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1903 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1907 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1927 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/
Dstm32h7rsxx_ll_usb.c1595 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1597 hprt0 = USBx_HPRT0; in USB_ResetPort()
1599 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1602 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1604 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1621 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1623 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1625 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1628 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1630 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32h7rsxx_hal_hcd.c1892 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1896 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1903 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1905 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1917 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1921 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1925 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1959 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/
Dstm32f2xx_ll_usb.c1545 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1547 hprt0 = USBx_HPRT0; in USB_ResetPort()
1549 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1552 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1554 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1571 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1573 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1575 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1578 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1580 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32f2xx_hal_hcd.c1904 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1908 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1915 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1917 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1929 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1933 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1937 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1971 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/
Dstm32f4xx_ll_usb.c1595 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1597 hprt0 = USBx_HPRT0; in USB_ResetPort()
1599 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1602 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1604 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1621 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1623 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1625 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1628 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1630 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32f4xx_hal_hcd.c1910 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1914 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1921 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1923 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1935 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1939 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1943 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1977 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/
Dstm32f7xx_ll_usb.c1675 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1677 hprt0 = USBx_HPRT0; in USB_ResetPort()
1679 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1682 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1684 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1701 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1703 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1705 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1708 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1710 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32f7xx_hal_hcd.c1910 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1914 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1921 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1923 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1935 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1939 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1943 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1977 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_usb.c1546 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1548 hprt0 = USBx_HPRT0; in USB_ResetPort()
1550 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1553 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1555 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1572 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1574 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1576 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1579 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1581 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32h7xx_hal_hcd.c1883 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1887 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1894 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1896 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1908 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1912 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1916 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1950 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-latest/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.c1645 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1649 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1656 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1658 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1670 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1674 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1678 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1712 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-latest/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.c1634 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1638 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1645 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1647 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1659 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1663 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1667 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1701 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_ll_usb.c1593 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1595 hprt0 = USBx_HPRT0; in USB_ResetPort()
1597 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1600 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1602 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1619 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1621 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1623 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1626 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1628 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32u5xx_hal_hcd.c1900 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1904 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1911 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1913 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1925 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1929 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1933 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1967 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_ll_usb.c1605 __IO uint32_t hprt0 = 0U; in USB_ResetPort() local
1607 hprt0 = USBx_HPRT0; in USB_ResetPort()
1609 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_ResetPort()
1612 USBx_HPRT0 = (USB_OTG_HPRT_PRST | hprt0); in USB_ResetPort()
1614 USBx_HPRT0 = ((~USB_OTG_HPRT_PRST) & hprt0); in USB_ResetPort()
1631 __IO uint32_t hprt0 = 0U; in USB_DriveVbus() local
1633 hprt0 = USBx_HPRT0; in USB_DriveVbus()
1635 hprt0 &= ~(USB_OTG_HPRT_PENA | USB_OTG_HPRT_PCDET | in USB_DriveVbus()
1638 if (((hprt0 & USB_OTG_HPRT_PPWR) == 0U) && (state == 1U)) in USB_DriveVbus()
1640 USBx_HPRT0 = (USB_OTG_HPRT_PPWR | hprt0); in USB_DriveVbus()
[all …]
Dstm32h5xx_hal_hcd.c1900 __IO uint32_t hprt0; in HCD_Port_IRQHandler() local
1904 hprt0 = USBx_HPRT0; in HCD_Port_IRQHandler()
1911 if ((hprt0 & USB_OTG_HPRT_PCDET) == USB_OTG_HPRT_PCDET) in HCD_Port_IRQHandler()
1913 if ((hprt0 & USB_OTG_HPRT_PCSTS) == USB_OTG_HPRT_PCSTS) in HCD_Port_IRQHandler()
1925 if ((hprt0 & USB_OTG_HPRT_PENCHNG) == USB_OTG_HPRT_PENCHNG) in HCD_Port_IRQHandler()
1929 if ((hprt0 & USB_OTG_HPRT_PENA) == USB_OTG_HPRT_PENA) in HCD_Port_IRQHandler()
1933 if ((hprt0 & USB_OTG_HPRT_PSPD) == (HPRT0_PRTSPD_LOW_SPEED << 17)) in HCD_Port_IRQHandler()
1967 if ((hprt0 & USB_OTG_HPRT_POCCHNG) == USB_OTG_HPRT_POCCHNG) in HCD_Port_IRQHandler()