Why is PA4 by default input when all other pins (except SWCLK and SWDIO) are analog?
On the STM32L072 series, the reset state of all the pins are "Analog mode", except for PA4, PA13 (SWDIO) and PA14 (SWCLK).
When I put the STM32 into STOP mode, PA4 (configured as an input) causes the current consumption to increase by ~10uA. When I configure it as analog, the current consumption goes down to an acceptable 1.7uA (with 32 kHz crystal running).
I would like to know why PA4 is configured as an input after reset. One of it's alternative functions are "DAC_OUT1"... could this be the reason?
Thanks in advance,
Pieter
