RTF-OS LCD driver LCD初期化タスクとドライバタスクの初期化 #define N_LCD_MSG 32 /* LCDコマンドバッファのバイト数 */ flag_type *flag_lcd_init; …
よくわからないときはまずやってみる。
RTF-OS LCD driver LCD初期化タスクとドライバタスクの初期化 #define N_LCD_MSG 32 /* LCDコマンドバッファのバイト数 */ flag_type *flag_lcd_init; …
RTF-OS LCD driver MSC Real Time Foo OS を使用したLCDドライバの作例。ドライバ本体タスクと初期化シーケンスを実行するタスクの2つのタスクで構成する。利用するタスク(メインタスクと表…
全体の構成とAPI リアルタイムOSの勉強のために作成したフレームワークです。タスクが移り行く様はなかなかおもしろかった。 Over view 全体の構成図を下記に示す。1つのモジュールは1つの初期化ルーチンと1つ以上の…
Data structure Task Control Block: TCB struct st_tcb { struct st_tcb *link; struct st_tcb *back_link; void (*e…
Time management タイマ関連処理 タイムアウト待ち登録:TimerQへ登録 時間経過待ちタスクのリストへ登録する。待ち時間の短い順でソートされる。 void link_timer_q( tcb_type *…
How to write a task Example of the task rouchine Module initialize tcb_type *tcb_sample1; tcb_type *tcb_sample…
Initialization and Mainrouchine General flowchart OS Initialization void init_os( void ) { que_type *que; que …