pub unsafe extern "C" fn uart_get_tx_buffer_free_size(
    uart_num: uart_port_t,
    size: *mut usize
) -> esp_err_t
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