Why does the gpio pin not retain the previously set state when the system is in shutdown mode (PM_STATE_SOFT_OFF)?


Hi!

Specifically when I set pinLdo low before entering system shutdown mode, but in fact pinLdo pulled up after entering that mode. When the chip has not entered the system shutdown state (PM_STATE_SOFT_OFF), I can still set the high or low level of that gpio.

Is there a way to keep gpio's state when the system shuts down without changing gpio state?

Related