Searched refs:GRSTCTL (Results 1 – 3 of 3) sorted by relevance
320 USBx->GRSTCTL = ( USB_OTG_GRSTCTL_TXFFLSH |(uint32_t)( num << 6)); in USB_FlushTxFifo()329 while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_TXFFLSH) == USB_OTG_GRSTCTL_TXFFLSH); in USB_FlushTxFifo()344 USBx->GRSTCTL = USB_OTG_GRSTCTL_RXFFLSH; in USB_FlushRxFifo()353 while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_RXFFLSH) == USB_OTG_GRSTCTL_RXFFLSH); in USB_FlushRxFifo()2361 while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_AHBIDL) == 0); in USB_CoreReset()2365 USBx->GRSTCTL |= USB_OTG_GRSTCTL_CSRST; in USB_CoreReset()2374 while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_CSRST) == USB_OTG_GRSTCTL_CSRST); in USB_CoreReset()
1028 __IO uint32_t GRSTCTL; /*!< Core Reset Register 010h*/ member