Function esp_idf_sys::uart_set_tx_empty_threshold
source ยท pub unsafe extern "C" fn uart_set_tx_empty_threshold(
uart_num: uart_port_t,
threshold: c_int,
) -> esp_err_t
Expand description
@brief Set uart threshold values for TX fifo empty
@param uart_num UART_NUM_0, UART_NUM_1 or UART_NUM_2 @param threshold Threshold value below which TX fifo empty interrupt is generated
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error - ESP_ERR_INVALID_STATE Driver is not installed