@Community member Thanks for the answer. I am using STM32L072RZ. If I want to set all the 16 pins for port A to analog input is this possible to do in this way: GPIOA->MODER = GPIO_MODE_ANALOG;
@Mohamed Aymen HZAMI You mean all un active pins should be in analog state? If I already put some pins in output high/low or Pull-up/ pull-down in idle mode, what is the state for those pins in standby mode? Are they going to have high impedance or ...