Home
last modified time | relevance | path

Searched refs:BCDR (Results 1 – 6 of 6) sorted by relevance

/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L0xx_HAL_Driver/Src/
Dstm32l0xx_hal_pcd_ex.c144 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 …]
Dstm32l0xx_hal_pcd.c299 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()
/loramac-node-2.7.6/src/boards/mcu/stm32/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_pcd_ex.c364 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 …]
Dstm32l4xx_ll_usb.c2260 USBx->BCDR |= USB_BCDR_DPPU; in USB_DevConnect()
2273 USBx->BCDR &= (uint16_t)(~(USB_BCDR_DPPU)); in USB_DevDisconnect()
/loramac-node-2.7.6/src/boards/B-L072Z-LRWAN1/cmsis/
Dstm32l072xx.h618 …__IO uint16_t BCDR; /*!< Battery Charging detector register, Address offset: 0x58 */ member
/loramac-node-2.7.6/src/boards/NucleoL073/cmsis/
Dstm32l073xx.h632 …__IO uint16_t BCDR; /*!< Battery Charging detector register, Address offset: 0x58 */ member