Function esp_idf_svc::hal::sys::uart_get_wakeup_threshold
source ยท pub unsafe extern "C" fn uart_get_wakeup_threshold(
uart_num: u32,
out_wakeup_threshold: *mut i32,
) -> i32
Expand description
@brief Get the number of RX pin signal edges for light sleep wakeup.
See description of uart_set_wakeup_threshold for the explanation of UART wakeup feature.
@param uart_num UART number, the max port number is (UART_NUM_MAX -1). @param[out] out_wakeup_threshold output, set to the current value of wakeup threshold for the given UART. @return - ESP_OK on success - ESP_ERR_INVALID_ARG if out_wakeup_threshold is NULL