source: asp_ewarm/asp-1.7.0/syssvc/serial.cfg@ 61

Last change on this file since 61 was 61, checked in by ertl-honda, 11 years ago

ASP for EWARM のコミット.

File size: 805 bytes
Line 
1/*
2 * @(#) $Id: serial.cfg 2060 2011-04-10 15:36:38Z ertl-hiro $
3 */
4
5/*
6 * ƒVƒŠƒAƒ‹ƒCƒ“ƒ^ƒtƒF[ƒXƒhƒ‰ƒCƒo‚̃Rƒ“ƒtƒBƒMƒ…
7ƒŒ[ƒVƒ‡ƒ“ƒtƒ@ƒCƒ‹
8 */
9
10#include "target_syssvc.h"
11INCLUDE("target_serial.cfg");
12
13#include "syssvc/serial.h"
14ATT_INI({ TA_NULL, 0, serial_initialize });
15
16CRE_SEM(SERIAL_RCV_SEM1, { TA_TPRI, 0, 1 });
17CRE_SEM(SERIAL_SND_SEM1, { TA_TPRI, 1, 1 });
18#if TNUM_PORT >= 2
19CRE_SEM(SERIAL_RCV_SEM2, { TA_TPRI, 0, 1 });
20CRE_SEM(SERIAL_SND_SEM2, { TA_TPRI, 1, 1 });
21#endif /* TNUM_PORT >= 2 */
22#if TNUM_PORT >= 3
23CRE_SEM(SERIAL_RCV_SEM3, { TA_TPRI, 0, 1 });
24CRE_SEM(SERIAL_SND_SEM3, { TA_TPRI, 1, 1 });
25#endif /* TNUM_PORT >= 3 */
26#if TNUM_PORT >= 4
27CRE_SEM(SERIAL_RCV_SEM4, { TA_TPRI, 0, 1 });
28CRE_SEM(SERIAL_SND_SEM4, { TA_TPRI, 1, 1 });
29#endif /* TNUM_PORT >= 4 */
Note: See TracBrowser for help on using the repository browser.