Function esp_idf_svc::sys::uart_get_stop_bits
source ยท pub unsafe extern "C" fn uart_get_stop_bits(
uart_num: u32,
stop_bits: *mut u32,
) -> i32
Expand description
@brief Get the UART stop bit configuration.
@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param stop_bits Pointer to accept value of UART stop bits.
@return - ESP_FAIL Parameter error - ESP_OK Success, result will be put in (*stop_bit)