Solved
How to set unused gpio pins to analog input in code?
It is recomanded to set unused pins to analog input.
It is recomanded to set unused pins to analog input.
In STM32L0xx, pins are set to Analog by default after reset, you don't need to do anything else. See GPIOx_MODER description in GPIO chapter of the RM.
JW
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.