1. NAME▲
uart_parse_options - Parse serial port baud/parity/bits/flow contro.
2. SYNOPSIS ▲
void uart_parse_options(char * options , int * baud , int * parity , int * bits , int * flow );
3. ARGUMENTS ▲
options
pointer to option string
baud
pointer to an AqintAq variable for the baud rate.
parity
pointer to an AqintAq variable for the parity.
bits
pointer to an AqintAq variable for the number of data bits.
flow
pointer to an AqintAq variable for the flow control character.
4. DESCRIPTION ▲
uart_parse_options decodes a string containing the serial console options. The format of the string is <baud><parity><bits><flow>,
5. EG ▲
115200n8r
6. COPYRIGHT ▲