source: asp3_wo_tecs/trunk/test/test_dtq1.h@ 305

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

3.0.0のリリース版に追従

File size: 1.0 KB
Line 
1/*
2 * データキュー機能のテスト(1)のヘッダファイル
3 *
4 * $Id: test_dtq1.h 602 2016-02-07 12:22:32Z ertl-hiro $
5 */
6
7#include <kernel.h>
8
9/*
10 * ターゲット依存の定義
11 */
12#include "target_test.h"
13
14/*
15 * 優å…
16ˆåº¦ã®å®šç¾©
17 */
18#define HIGH_PRIORITY 9 /* 高優å…
19ˆåº¦ */
20#define MID_PRIORITY 10 /* 中優å…
21ˆåº¦ */
22#define LOW_PRIORITY 11 /* 低優å…
23ˆåº¦ */
24
25/*
26 * ターゲットに依存する可能性のある定数の定義
27 */
28#ifndef STACK_SIZE
29#define STACK_SIZE 4096 /* タスクのスタックサイズ */
30#endif /* STACK_SIZE */
31
32/*
33 * 送受信するデータの定義
34 */
35#define DATA0 ((intptr_t) 0)
36#define DATA1 ((intptr_t) 1)
37#define DATA2 ((intptr_t) 2)
38#define DATA3 ((intptr_t) 3)
39#define DATA4 ((intptr_t) 4)
40#define DATA5 ((intptr_t) 5)
41
42/*
43 * 関数のプロトタイプ宣言
44 */
45#ifndef TOPPERS_MACRO_ONLY
46
47extern void task1(intptr_t exinf);
48extern void task2(intptr_t exinf);
49extern void task3(intptr_t exinf);
50extern void alarm1_handler(intptr_t exinf);
51
52#endif /* TOPPERS_MACRO_ONLY */
Note: See TracBrowser for help on using the repository browser.