Function esp_idf_svc::sys::uart_get_tx_buffer_free_size
source ยท pub unsafe extern "C" fn uart_get_tx_buffer_free_size(
uart_num: u32,
size: *mut usize,
) -> i32
Expand description
@brief UART get TX ring buffer free space size
@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param size Pointer of size_t to accept the free space size
@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error