[][src]Function mraa_sys::mraa_uart_set_mode

pub unsafe extern "C" fn mraa_uart_set_mode(
    dev: mraa_uart_context,
    bytesize: c_int,
    parity: mraa_uart_parity_t,
    stopbits: c_int
) -> mraa_result_t

Set the transfer mode For example setting the mode to 8N1 would be "mraa_uart_set_mode(dev, 8,MRAA_UART_PARITY_NONE , 1)"

@param dev The UART context @param bytesize data bits @param parity Parity bit setting @param stopbits stop bits @return Result of operation