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