source: UsbWattMeter/trunk/asp_dcre/syssvc/serial.cfg@ 167

Last change on this file since 167 was 167, checked in by coas-nagasima, 8 years ago

MIMEにSJISを設定

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/plain; charset=SHIFT_JIS
File size: 728 bytes
Line 
1/*
2 * @(#) $Id: serial.cfg 167 2016-03-08 11:37:45Z coas-nagasima $
3 */
4
5/*
6 * シリアルインタフェースドライバのコンフィギュレーションファイル
7 */
8
9#include "target_syssvc.h"
10INCLUDE("target_serial.cfg");
11
12#include "syssvc/serial.h"
13ATT_INI({ TA_NULL, 0, serial_initialize });
14
15CRE_SEM(SERIAL_RCV_SEM1, { TA_TPRI, 0, 1 });
16CRE_SEM(SERIAL_SND_SEM1, { TA_TPRI, 1, 1 });
17#if TNUM_PORT >= 2
18CRE_SEM(SERIAL_RCV_SEM2, { TA_TPRI, 0, 1 });
19CRE_SEM(SERIAL_SND_SEM2, { TA_TPRI, 1, 1 });
20#endif /* TNUM_PORT >= 2 */
21#if TNUM_PORT >= 3
22CRE_SEM(SERIAL_RCV_SEM3, { TA_TPRI, 0, 1 });
23CRE_SEM(SERIAL_SND_SEM3, { TA_TPRI, 1, 1 });
24#endif /* TNUM_PORT >= 3 */
25#if TNUM_PORT >= 4
26CRE_SEM(SERIAL_RCV_SEM4, { TA_TPRI, 0, 1 });
27CRE_SEM(SERIAL_SND_SEM4, { TA_TPRI, 1, 1 });
28#endif /* TNUM_PORT >= 4 */
Note: See TracBrowser for help on using the repository browser.