GadgetSeed  0.9.6
event.c ファイル

イベント待ちタスクキューの操作 [詳解]

#include "event_opration.h"
#include "queue_opration.h"
#include "dkprintf.h"
event.c の依存先関係図:

[ソースコード]

関数

void init_eventqueue (void)
 
void eventqueue_register_ISR (struct st_event *evtque, const char *name, void *args, unsigned int arg_size, int arg_count)
 イベントキューを登録する [詳解]
 
void eventqueue_unregister_ISR (struct st_event *evtque)
 イベントキューを登録解除する [詳解]
 
void _eventqueue_wait (struct st_event *evtque, struct st_tcb *tcb)
 タスクをイベント待ちキューに登録する
 
struct st_tcb_eventqueue_wakeup (struct st_event *evtque)
 イベント待ちタスクを返す
 

変数

struct st_event event_queue_list
 

詳解

イベント待ちタスクキューの操作

日付
2011.03.20
著者
Takashi SHUDO

event.c に定義があります。

関数詳解

◆ eventqueue_register_ISR()

void eventqueue_register_ISR ( struct st_event evtque,
const char *  name,
void *  args,
unsigned int  arg_size,
int  arg_count 
)

イベントキューを登録する

覚え書き
システムのキューに登録される
引数
[in]evtqueイベントキューポインタ
[in]nameイベントキュー名文字列ポインタ
[in]argsイベントキュー引数バッファポインタ
[in]arg_size1イベント引数のサイズ
[in]arg_countキューするイベント数

event.c36 行目に定義があります。

参照元 init_event().

被呼び出し関係図:

◆ eventqueue_unregister_ISR()

void eventqueue_unregister_ISR ( struct st_event evtque)

イベントキューを登録解除する

覚え書き
システムのキューより削除される
引数
[in]evtqueイベントキューポインタ

event.c58 行目に定義があります。