mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
serial/termios: support custom baud rate setting
N/A Change-Id: I0cc00f6d0fda852533bd4a38ea6fc39e0d0059da Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
This commit is contained in:
committed by
David Sidrane
parent
d90ef8374b
commit
2b5be56bd0
@@ -250,6 +250,13 @@ struct termios
|
||||
tcflag_t c_cflag; /* Control modes */
|
||||
tcflag_t c_lflag; /* Local modes */
|
||||
cc_t c_cc[NCCS]; /* Control chars */
|
||||
|
||||
/* Implementation specific fields. For portability reasons, these fields
|
||||
* should not be accessed directly, but rather through only through the
|
||||
* cf[set|get][o|i]speed() POSIX interfaces.
|
||||
*/
|
||||
|
||||
speed_t c_speed; /* Input/output speed (non-POSIX) */
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user