Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/stm32/stm32l1/STM32L152/RI/ASMR1#0x0
Analog switch mode register
Port A analog switch mode selection
https://github.com/modm-io/cmsis-svd-stm32