What is the state of GPIO pins when microcontroller is in standby mode? Each pin remembers it's own state: input, output, analog, pull-up, logic level on it? Which document (datasheet, etc) and where specifies this behaviour?
From the ST RM0041 Reference manual for the STM32F100
I/O states in Standby mode In Standby mode, all I/O pins are high impedance except: ? Reset pad (still available) ? TAMPER pin if configured for tamper or calibration out ? WKUP pin, if enabled
I am putting microcontroller in standby mode with code listed below. LED is turned on before entering standby mode. And then microcontroller enters standby mode LED is not turned off (and no flashing -- CPU sleeps).
And because by default all microcontroller pins configured as digital inputs consuming current increases when I move hands close to microcontroller.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.