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