UART_PARSE_OPTIONS
Section: ()
Updated: 06 October 2005
Index
Return to Main Contents
NAME
uart_parse_options - Parse serial port baud/parity/bits/flow contro.
SYNOPSIS
"SYNOPSIS"
void __init uart_parse_options (char * options, int * baud, int * parity, int * bits, int * flow);
ARGUMENTS
- options
-
pointer to option string
- baud
-
pointer to an 'int' variable for the baud rate.
- parity
-
pointer to an 'int' variable for the parity.
- bits
-
pointer to an 'int' variable for the number of data bits.
- flow
-
pointer to an 'int' variable for the flow control character.
DESCRIPTION
uart_parse_options decodes a string containing the serial console
options. The format of the string is <baud><parity><bits><flow>,
EG
115200n8r
Index
- NAME
-
- SYNOPSIS
-
- ARGUMENTS
-
- DESCRIPTION
-
- EG
-
This document was created by
man2html,
using the manual pages.
Time: 07:07:31 GMT, October 06, 2005