Skip to main content

uart_set_stop_bits

Function uart_set_stop_bits 

Source
pub unsafe extern "C" fn uart_set_stop_bits(
    uart_num: u32,
    stop_bits: u32,
) -> i32
Expand description

@brief Set UART stop bits.

@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param stop_bits UART stop bits

@return - ESP_OK Success - ESP_FAIL Fail