Function esp_idf_svc::hal::sys::uart_clear_intr_status

source ยท
pub unsafe extern "C" fn uart_clear_intr_status(
    uart_num: u32,
    clr_mask: u32,
) -> i32
Expand description

@brief Clear UART interrupt status

@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param clr_mask Bit mask of the interrupt status to be cleared.

@return - ESP_OK Success - ESP_FAIL Parameter error