Changeset 429 for EcnlProtoTool/trunk/asp3_dcre/sample/tSample2.h
- Timestamp:
- Jul 3, 2020, 7:19:17 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
EcnlProtoTool/trunk/asp3_dcre/sample/tSample2.h
r321 r429 6 6 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory 7 7 * Toyohashi Univ. of Technology, JAPAN 8 * Copyright (C) 2004-20 07by Embedded and Real-Time Systems Laboratory8 * Copyright (C) 2004-2018 by Embedded and Real-Time Systems Laboratory 9 9 * Graduate School of Information Science, Nagoya Univ., JAPAN 10 10 * … … 55 55 56 56 #define EXC_PRIORITY 1 /* 例外処理タスクの優先度 */ 57 #define MAIN_PRIORITY 6/* メインタスクの優先度 */57 #define MAIN_PRIORITY 5 /* メインタスクの優先度 */ 58 58 /* HIGH_PRIORITYより高くすること */ 59 59 … … 75 75 76 76 /* 77 * 関数のプロトタイプ宣言77 * 必要な定義のチェック 78 78 */ 79 #ifndef TOPPERS_MACRO_ONLY 80 81 //extern void task(intptr_t exinf); 82 extern void main_task(intptr_t exinf); 83 extern void cyclic_handler(intptr_t exinf); 84 extern void alarm_handler(intptr_t exinf); 85 extern void cpuexc_handler(void *p_excinf); 86 87 #endif /* TOPPERS_MACRO_ONLY */ 79 #ifndef INTNO1 80 #error INTNO1 is necessary for this sample program. 81 #endif /* INTNO1 */ 82 #ifndef CPUEXC1 83 #error CPUEXC1 is necessary for this sample program. 84 #endif /* CPUEXC1 */
Note:
See TracChangeset
for help on using the changeset viewer.