2022-10-25 10:33 AM
in STM8L151G3 the PA0, PB0 and PB4 is configured with pull-up under reset. I wonder if we can change it back to floating under reset?
2022-11-01 06:06 AM
What do you mean by "change it back"?
The behaviour of the pins under reset is fixed and documented in the data sheet, e.g. as foot note under table 27:
All pins except PA0, PB0 and PB4 are floating under reset. PA0, PB0 and PB4 are configured with pull-up under reset.
Does it answer your question?
Regards
/Peter