pub unsafe extern "C" fn uart_set_parity(
    uart_num: uart_port_t,
    parity_mode: uart_parity_t
) -> esp_err_t
Expand description

@brief Set UART parity mode.

@param uart_num UART port number, the max port number is (UART_NUM_MAX -1). @param parity_mode the enum of uart parity configuration

@return - ESP_FAIL Parameter error - ESP_OK Success