diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-06-06 14:49:14 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-06-06 14:49:14 -0600 |
commit | b262c486ada890e3dd2c577cbb32cf567adc052d (patch) | |
tree | c7b9415565405e43ba4fa25bc17e53a58a84ee5a /nuttx/include/termios.h | |
parent | b79c6b76f76d991ae21f26bc8140fdbeddcb0c5a (diff) | |
download | px4-nuttx-b262c486ada890e3dd2c577cbb32cf567adc052d.tar.gz px4-nuttx-b262c486ada890e3dd2c577cbb32cf567adc052d.tar.bz2 px4-nuttx-b262c486ada890e3dd2c577cbb32cf567adc052d.zip |
Add flow control support to the STM32 serial driver; Fix some issues with UART2 and 5. From Lorenz Meier and Mike Smith
Diffstat (limited to 'nuttx/include/termios.h')
-rw-r--r-- | nuttx/include/termios.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/include/termios.h b/nuttx/include/termios.h index 2e1c38fc2..95b20a3d3 100644 --- a/nuttx/include/termios.h +++ b/nuttx/include/termios.h @@ -109,6 +109,9 @@ #define PARODD (1 << 5) /* Bit 5: Odd parity, else even */ #define HUPCL (1 << 6) /* Bit 6: Hang up on last close */ #define CLOCAL (1 << 7) /* Bit 7: Ignore modem status lines */ +#define CCTS_OFLOW (1 << 8) /* Bit 8: CTS flow control of output */ +#define CRTSCTS CCTS_OFLOW +#define CRTS_IFLOW (1 << 9) /* Bit 9: RTS flow control of input */ /* Local Modes (c_lflag in the termios structure) */ |