uart_parse_options — Parse serial port baud/parity/bits/flow contro.
void uart_parse_options ( | char * | options, |
int * | baud, | |
int * | parity, | |
int * | bits, | |
int * | flow) ; |
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.