UART_SET_OPTIONS

Section: 16x50 UART Driver (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

uart_set_options - setup the serial console parameters  

SYNOPSIS

int uart_set_options(struct uart_port * port, struct console * co, int baud, int parity, int bits, int flow);
 

ARGUMENTS

port

pointer to the serial ports uart_port structure

co

console pointer

baud

baud rate

parity

parity character - 'n' (none), 'o' (odd), 'e' (even)

bits

number of data bits

flow

flow control character - 'r' (rts)
 

COPYRIGHT