uart_set_options
Prev | Chapter 6. 16x50 UART Driver | Next

## 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)

Prev | Up | Next
uart_parse_options | Home | uart_register_driver