mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 18:56:10 +08:00
Use NuttX types in FreeModBus port; Add FreeModBus demo at apps/examples/modbus; Add new termios APIs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4964 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -110,6 +110,10 @@
|
||||
#define HUPCL (1 << 6) /* Hang up on last close */
|
||||
#define CLOCAL (1 << 7) /* Ignore modem status lines */
|
||||
|
||||
#define CBAUD (0x1f << 8) /* Baud mask (not POSIX) */
|
||||
#define CBAUDEX (0x10 << 8) /* Extra speed mask (not POSIX) */
|
||||
#define _CBAUD_SHIFT 8 /* So that we all agree where the baud code is stored */
|
||||
|
||||
/* Local Modes (c_lflag in the termios structure) */
|
||||
|
||||
#define ECHO (1 << 0) /* Enable echo */
|
||||
|
||||
Reference in New Issue
Block a user