Function esp_idf_hal::sys::esp_sleep_disable_wakeup_source
source ยท pub unsafe extern "C" fn esp_sleep_disable_wakeup_source(
source: u32,
) -> i32
Expand description
@brief Disable wakeup source
This function is used to deactivate wake up trigger for source defined as parameter of the function.
@note This function does not modify wake up configuration in RTC. It will be performed in esp_deep_sleep_start/esp_light_sleep_start function.
See docs/sleep-modes.rst for details.
@param source - number of source to disable of type esp_sleep_source_t @return - ESP_OK on success - ESP_ERR_INVALID_STATE if trigger was not active