esp32: Deactivate wakeup trigger after first wakeup
The files updated according to code review discussions. In the sleep_modes.c removed immidiate disable of ULP mode and leave just trigger deactivation. The esp_sleep.h is updated to have the same defines for source as esp_sleep_wakeup_cause_t. Updated documentation in sleep_modes.rst file to include cross references and address esp_sleep_wakeup_cause_t type. Some minor changes in test_sleep.c unit test. (TW#18952) Closes https://github.com/espressif/esp-idf/issues/1677
This commit is contained in:
parent
1e9bb5bb7c
commit
d91e2703f4
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ Checking sleep wakeup cause
|
||||||
The following function can be used to check which wakeup source has triggered wakeup from sleep mode. For touch pad and ext1 wakeup sources, it is possible to identify pin or touch pad which has caused wakeup.
|
The following function can be used to check which wakeup source has triggered wakeup from sleep mode. For touch pad and ext1 wakeup sources, it is possible to identify pin or touch pad which has caused wakeup.
|
||||||
|
|
||||||
.. doxygenfunction:: esp_sleep_get_wakeup_cause
|
.. doxygenfunction:: esp_sleep_get_wakeup_cause
|
||||||
.. doxygenenum:: esp_sleep_wakeup_cause_t
|
.. doxygentypedef:: esp_sleep_wakeup_cause_t
|
||||||
.. doxygenfunction:: esp_sleep_get_touchpad_wakeup_status
|
.. doxygenfunction:: esp_sleep_get_touchpad_wakeup_status
|
||||||
.. doxygenfunction:: esp_sleep_get_ext1_wakeup_status
|
.. doxygenfunction:: esp_sleep_get_ext1_wakeup_status
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue