[][src]Function esp_idf_sys::uart_tx_chars

pub unsafe extern "C" fn uart_tx_chars(
    uart_num: uart_port_t,
    buffer: *const c_char,
    len: u32
) -> c_int

@brief Send data to the UART port from a given buffer and length.

This function will not wait for enough space in TX FIFO. It will just fill the available TX FIFO and return when the FIFO is full. @note This function should only be used when UART TX buffer is not enabled.

@param uart_num UART_NUM_0, UART_NUM_1 or UART_NUM_2 @param buffer data buffer address @param len data length to send

@return - (-1) Parameter error - OTHERS (>=0) The number of bytes pushed to the TX FIFO