![]() The pins are configured in esp_deep_sleep_start, immediately before entering deep sleep. Note This function does not modify pin configuration. ![]() Once any of the selected pins goes into the state given by mode argument, the chip will be woken up. This feature can monitor any number of pins which are in RTC IOs. It will work even if RTC peripherals are shut down during deep sleep. This function uses external wakeup feature of RTC controller. The following function can be used to enable this wakeup mode: esp_err_t esp_deep_sleep_enable_ext1_wakeup (uint64_t mask, esp_ext1_wakeup_mode_t mode ) ¶ Before using these pads as digital GPIOs, reconfigure them using rtc_gpio_deinit(gpio_num) function.
0 Comments
Leave a Reply. |