Searched refs:BCDR (Results 1 – 6 of 6) sorted by relevance
144 USBx->BCDR |= (USB_BCDR_BCDEN); in HAL_PCDEx_ActivateBCD()146 USBx->BCDR |= (USB_BCDR_DCDEN); in HAL_PCDEx_ActivateBCD()161 USBx->BCDR &= ~(USB_BCDR_BCDEN); in HAL_PCDEx_DeActivateBCD()176 while ((USBx->BCDR & USB_BCDR_DCDET) == 0) in HAL_PCDEx_BCD_VBUSDetect()189 if (USBx->BCDR & USB_BCDR_DCDET) in HAL_PCDEx_BCD_VBUSDetect()195 USBx->BCDR &= ~(USB_BCDR_DCDEN); in HAL_PCDEx_BCD_VBUSDetect()196 USBx->BCDR |= (USB_BCDR_PDEN); in HAL_PCDEx_BCD_VBUSDetect()200 if (USBx->BCDR & USB_BCDR_PDET) in HAL_PCDEx_BCD_VBUSDetect()204 USBx->BCDR &= ~(USB_BCDR_PDEN); in HAL_PCDEx_BCD_VBUSDetect()205 USBx->BCDR |= (USB_BCDR_SDEN); in HAL_PCDEx_BCD_VBUSDetect()[all …]
299 hpcd->Instance->BCDR |= USB_BCDR_DPPU; in HAL_PCD_Start()640 hpcd->Instance->BCDR |= USB_BCDR_DPPU; in HAL_PCD_DevConnect()656 hpcd->Instance->BCDR &= ((uint16_t) ~(USB_BCDR_DPPU)); in HAL_PCD_DevDisconnect()
364 USBx->BCDR |= (USB_BCDR_BCDEN); in HAL_PCDEx_ActivateBCD()366 USBx->BCDR |= (USB_BCDR_DCDEN); in HAL_PCDEx_ActivateBCD()381 USBx->BCDR &= ~(USB_BCDR_BCDEN); in HAL_PCDEx_DeActivateBCD()397 while ((USBx->BCDR & USB_BCDR_DCDET) == 0U) in HAL_PCDEx_BCD_VBUSDetect()415 if ((USBx->BCDR & USB_BCDR_DCDET) == USB_BCDR_DCDET) in HAL_PCDEx_BCD_VBUSDetect()425 USBx->BCDR &= ~(USB_BCDR_DCDEN); in HAL_PCDEx_BCD_VBUSDetect()426 USBx->BCDR |= (USB_BCDR_PDEN); in HAL_PCDEx_BCD_VBUSDetect()430 if ((USBx->BCDR & USB_BCDR_PDET) == USB_BCDR_PDET) in HAL_PCDEx_BCD_VBUSDetect()434 USBx->BCDR &= ~(USB_BCDR_PDEN); in HAL_PCDEx_BCD_VBUSDetect()435 USBx->BCDR |= (USB_BCDR_SDEN); in HAL_PCDEx_BCD_VBUSDetect()[all …]
2260 USBx->BCDR |= USB_BCDR_DPPU; in USB_DevConnect()2273 USBx->BCDR &= (uint16_t)(~(USB_BCDR_DPPU)); in USB_DevDisconnect()
618 …__IO uint16_t BCDR; /*!< Battery Charging detector register, Address offset: 0x58 */ member
632 …__IO uint16_t BCDR; /*!< Battery Charging detector register, Address offset: 0x58 */ member