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

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

3.1.0を反映

File size: 1.3 KB
Line 
1/*
2 * データキュー機能のテスト(1)のヘッダファイル
3 *
4 * $Id: test_dtq1.h 737 2016-04-05 13:11:23Z 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#ifndef TEST_TIME_CP
33#define TEST_TIME_CP 50000U /* チェックポイント到達情
34報の出力時間 */
35#endif /* TEST_TIME_CP */
36
37#ifndef TEST_TIME_PROC
38#define TEST_TIME_PROC 1000U /* チェックポイントを通らない場合の時間 */
39#endif /* TEST_TIME_PROC */
40
41/*
42 * 送受信するデータの定義
43 */
44#define DATA0 ((intptr_t) 0)
45#define DATA1 ((intptr_t) 1)
46#define DATA2 ((intptr_t) 2)
47#define DATA3 ((intptr_t) 3)
48#define DATA4 ((intptr_t) 4)
49#define DATA5 ((intptr_t) 5)
50
51/*
52 * 関数のプロトタイプ宣言
53 */
54#ifndef TOPPERS_MACRO_ONLY
55
56extern void task1(intptr_t exinf);
57extern void task2(intptr_t exinf);
58extern void task3(intptr_t exinf);
59extern void alarm1_handler(intptr_t exinf);
60
61#endif /* TOPPERS_MACRO_ONLY */
Note: See TracBrowser for help on using the repository browser.