Mercurial > flash_v2
comparison packages/io/serial/current/include/ttyio.h @ 80:2085233a121a ecos-sw-2000-04-07
Merge from eCos master repository on 2000-04-07-07:52:29-BST
| author | jlarmour |
|---|---|
| date | Fri, 07 Apr 2000 07:45:04 +0000 |
| parents | bf00f99aec69 |
| children | e0c0827131d1 |
comparison
equal
deleted
inserted
replaced
| 79:5b39a5a40ccd | 80:2085233a121a |
|---|---|
| 58 cyg_uint32 tty_out_flags; | 58 cyg_uint32 tty_out_flags; |
| 59 cyg_uint32 tty_in_flags; | 59 cyg_uint32 tty_in_flags; |
| 60 } cyg_tty_info_t; | 60 } cyg_tty_info_t; |
| 61 | 61 |
| 62 // TTY flags - used to control behaviour when sending data to tty | 62 // TTY flags - used to control behaviour when sending data to tty |
| 63 #define CYG_TTY_OUT_FLAGS_CRLF 0x0001 // Map '\n' => '\n\r' on output | 63 #define CYG_TTY_OUT_FLAGS_CRLF 0x0001 // Map '\n' => '\r\n' on output |
| 64 | 64 |
| 65 #define CYG_TTY_OUT_FLAGS_DEFAULT (CYG_TTY_OUT_FLAGS_CRLF) | 65 #define CYG_TTY_OUT_FLAGS_DEFAULT (CYG_TTY_OUT_FLAGS_CRLF) |
| 66 | 66 |
| 67 // TTY flags - used to control behaviour when receiving data from tty | 67 // TTY flags - used to control behaviour when receiving data from tty |
| 68 #define CYG_TTY_IN_FLAGS_CR 0x0001 // Map '\r' => '\n' on input | 68 #define CYG_TTY_IN_FLAGS_CR 0x0001 // Map '\r' => '\n' on input |
| 69 #define CYG_TTY_IN_FLAGS_CRLF 0x0002 // Map '\n\r' => '\n' on input | 69 #define CYG_TTY_IN_FLAGS_CRLF 0x0002 // Map '\r\n' => '\n' on input |
| 70 #define CYG_TTY_IN_FLAGS_ECHO 0x0004 // Echo characters as processed | 70 #define CYG_TTY_IN_FLAGS_ECHO 0x0004 // Echo characters as processed |
| 71 #define CYG_TTY_IN_FLAGS_BINARY 0x0008 // No input processing | 71 #define CYG_TTY_IN_FLAGS_BINARY 0x0008 // No input processing |
| 72 | 72 |
| 73 #define CYG_TTY_IN_FLAGS_DEFAULT (CYG_TTY_IN_FLAGS_CR|CYG_TTY_IN_FLAGS_ECHO) | 73 #define CYG_TTY_IN_FLAGS_DEFAULT (CYG_TTY_IN_FLAGS_CR|CYG_TTY_IN_FLAGS_ECHO) |
| 74 | 74 |
