uart_set_options(9)
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)