Mercurial > flash_v2
comparison packages/io/serial/current/include/serialio.h @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | bf00f99aec69 |
| children | 6512add4f5d6 |
comparison
equal
deleted
inserted
replaced
| 75:41bf073c0c32 | 76:435cced73e2f |
|---|---|
| 73 CYGNUM_SERIAL_BAUD_14400, | 73 CYGNUM_SERIAL_BAUD_14400, |
| 74 CYGNUM_SERIAL_BAUD_19200, | 74 CYGNUM_SERIAL_BAUD_19200, |
| 75 CYGNUM_SERIAL_BAUD_38400, | 75 CYGNUM_SERIAL_BAUD_38400, |
| 76 CYGNUM_SERIAL_BAUD_57600, | 76 CYGNUM_SERIAL_BAUD_57600, |
| 77 CYGNUM_SERIAL_BAUD_115200, | 77 CYGNUM_SERIAL_BAUD_115200, |
| 78 CYGNUM_SERIAL_BAUD_234000 | 78 CYGNUM_SERIAL_BAUD_230400 |
| 79 } cyg_serial_baud_rate_t; | 79 } cyg_serial_baud_rate_t; |
| 80 #define CYGNUM_SERIAL_BAUD_MIN CYGNUM_SERIAL_BAUD_50 | 80 #define CYGNUM_SERIAL_BAUD_MIN CYGNUM_SERIAL_BAUD_50 |
| 81 #define CYGNUM_SERIAL_BAUD_MAX CYGNUM_SERIAL_BAUD_234000 | 81 #define CYGNUM_SERIAL_BAUD_MAX CYGNUM_SERIAL_BAUD_230400 |
| 82 | 82 |
| 83 // Note: two levels of macro are required to get proper expansion. | 83 // Note: two levels of macro are required to get proper expansion. |
| 84 #define _CYG_SERIAL_BAUD_RATE(n) CYGNUM_SERIAL_BAUD_##n | 84 #define _CYG_SERIAL_BAUD_RATE(n) CYGNUM_SERIAL_BAUD_##n |
| 85 #define CYG_SERIAL_BAUD_RATE(n) _CYG_SERIAL_BAUD_RATE(n) | 85 #define CYG_SERIAL_BAUD_RATE(n) _CYG_SERIAL_BAUD_RATE(n) |
| 86 | 86 |
