Function esp_idf_hal::sys::uart_enable_intr_mask
source ยท pub unsafe extern "C" fn uart_enable_intr_mask(
uart_num: i32,
enable_mask: u32,
) -> i32
Expand description
@brief Set UART interrupt enable
@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param enable_mask Bit mask of the enable bits.
@return - ESP_OK Success - ESP_FAIL Parameter error