Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32L0x2/USB_FS/BCDR#0x0
Battery charging detector
BCDEN
DCDEN
PDEN
SDEN
DCDET
PDET
SDET
PS2DET
DPPU
https://github.com/cmsis-svd/cmsis-svd-data