Function esp_idf_sys::uart_get_wakeup_threshold
source ยท pub unsafe extern "C" fn uart_get_wakeup_threshold(
uart_num: uart_port_t,
out_wakeup_threshold: *mut c_int,
) -> esp_err_t
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