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

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

TOPPERS/ECNLサンプルアプリ「USB充電器電力計」を追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/plain
File size: 728 bytes
Line 
1/*
2 * @(#) $Id: serial.cfg 164 2016-03-07 11:33:50Z coas-nagasima $
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.