Page 1 of 1

GPIO hold pad input

Posted: Tue Jan 30, 2018 4:29 pm
by urbanze
Datasheet (technical) and RTC.h tell's about hold pad feature in INPUT state.

RTC.h:
"
* Enabling HOLD function will cause the pad to latch current values of
* input enable, output enable, output value, function, drive strength values.
* This function is useful when going into light or deep sleep mode to prevent
* the pin configuration from changing.
"
This means "output value" and "input value"?

I tested output hold and worked, but with input doesn't work. How I can do this work to save input state? Like Flip-Flop, to save state up until I read pin... I think another method with interrupt and "memory variable" to save state and when I read state, reset this variable...

How can do HOLD PAD with input or how this work?