GPIO hold pad input

User avatar
urbanze
Posts: 301
Joined: Sat Jun 10, 2017 9:55 pm
Location: Brazil

GPIO hold pad input

Postby urbanze » Tue Jan 30, 2018 4:29 pm

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?

Who is online

Users browsing this forum: No registered users and 97 guests