---
name: "uart_set_options"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/uart_set_options"
---

# uart\_set\_options(9)

setup the serial console parameters

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