Ivan Grokhotkov 370f4b8556 deep sleep: set pin configuration right before entering deep sleep
This change allows setting pin configuration for EXT1 wakeup depending on the state of RTC_PERIPH power domain:
- if peripherals are enabled (due to another wakeup mode, or due to esp_deep_sleep_pd_config call), we can keep internal pullups/pulldowns enabled
- if peripherals are disabled, pullups and pulldowns need to be disabled as well

Also add comments about the purpose of registers being configured.
2016-12-16 14:30:27 +08:00
..
2016-08-17 23:08:22 +08:00
2016-11-22 21:14:36 +08:00
2016-11-23 17:23:21 +08:00
2016-08-17 23:08:22 +08:00
2016-11-18 20:11:16 +08:00
2016-11-23 12:55:49 +08:00
2016-08-17 23:08:22 +08:00