comparison packages/io/serial/current/tests/serial5.c @ 115:6ed91473a1cd ecos-sw-2000-08-21

Merge from eCos master repository on 2000-08-21-22:40:54-BST
author jlarmour
date Fri, 25 Aug 2000 17:32:38 +0000
parents 435cced73e2f
children e0c0827131d1
comparison
equal deleted inserted replaced
114:5ad2b71d525e 115:6ed91473a1cd
80 { 80 {
81 // Some boards are too slow to run the driver in interrupt mode 81 // Some boards are too slow to run the driver in interrupt mode
82 // at the default 38400 baud when doing this test. 82 // at the default 38400 baud when doing this test.
83 cyg_ser_cfg_t cfg = { 83 cyg_ser_cfg_t cfg = {
84 CYGNUM_SERIAL_BAUD_9600, CYGNUM_SERIAL_WORD_LENGTH_8, 84 CYGNUM_SERIAL_BAUD_9600, CYGNUM_SERIAL_WORD_LENGTH_8,
85 CYGNUM_SERIAL_STOP_1, CYGNUM_SERIAL_PARITY_NONE }; 85 CYGNUM_SERIAL_STOP_1, CYGNUM_SERIAL_PARITY_NONE,
86 CYGNUM_SERIAL_FLOW_NONE };
86 87
87 change_config(ser_handle, &cfg); 88 change_config(ser_handle, &cfg);
88 } 89 }
89 #endif 90 #endif
90 91