Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32l1/STM32L151/RI/HYSCR4#0x0
Hysteresis control register
Port G hysteresis control on/off
https://github.com/modm-io/cmsis-svd-stm32