OSDN Git Service

First commitment for the BlackTank LPC1769.
[blacktank/blacktank.git] / task_userinput.h
1 /**
2  * @file task_userinput.h
3  * @author Shinichiro Nakamura
4  * @brief ユーザインプットタスクの定義(task_userinput)
5  * @details
6  * ユーザインプットタスクは4系統のユーザ入力の変化を観察するタスク。
7  * 変化があればデータキューを介してメニュータスクに通知を行う。
8  */
9
10 #ifndef _TASK_USERINPUT_H_
11 #define _TASK_USERINPUT_H_
12
13 #include "target_test.h"
14
15 /**
16  * @brief タスクプライオリティ。(ユーザ入力タスク)
17  */
18 #define TSKPRI_USERINPUT    12
19 #define TSKSTK_USERINPUT    STACK_SIZE
20
21 #ifndef TOPPERS_MACRO_ONLY
22
23 /**
24  * @defgroup BLACKTANK_LPC1769_TASK_USERINPUT
25  * @ingroup BLACKTANK_LPC1769_TASK
26  * @{
27  */
28
29 void task_userinput(intptr_t exinf);
30
31 /**
32  * @}
33  */
34
35 #endif
36
37 #endif
38