Function esp_idf_svc::hal::sys::uart_disable_pattern_det_intr

source ·
pub unsafe extern "C" fn uart_disable_pattern_det_intr(
    uart_num: u32,
) -> i32
Expand description

@brief UART disable pattern detect function. Designed for applications like ‘AT commands’. When the hardware detects a series of one same character, the interrupt will be triggered.

@param uart_num UART port number, the max port number is (UART_NUM_MAX -1).

@return - ESP_OK Success - ESP_FAIL Parameter error