ctr_mcu/trunk/renge/renge.h
fujita_ryohei 218026b2e2 V0.3
rengeの即時実行の方のタスク登録やらがおかしかったので修正。
  タスクの管理?に不整合が出てしまう。タスク登録処理中に、割り込みからも登録しようとすると不整合が出る。 タスクを登録するが、呼ばなくなってしまう。
  登録中に割り込み禁止にすると、I2Cのステートがおかしくなってしまう。
  ↑解消のため、I2C_CTRをすべて割り込みドリブンにした。
 RTCアラーム実装
 IRQマスク実装

未:TWL側とのやりとり
  歩数計 今回のタスク管理の修正で評価に入れる状態になったと思われ


git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@9 013db118-44a6-b54f-8bf7-843cb86687b1
2009-09-15 01:16:25 +00:00

33 lines
688 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef __renge__
#define __renge__
//******************************************************************************
//******************************************************************************
#include "renge_defs.h"
#include "renge_task_immediate.h"
// #include "renge_task_interval_run.h" // ŠO©ç­<E280B9>§N“®ÖŽ~<7E>I
void renge_init();
err renge_task_interval_run();
extern bit renge_task_interval_run_force;
extern bit renge_flg_interval;
void renge_task_immed_init();
err renge_task_immed_run();
err renge_task_immed_add( task_immed );
// static err renge_task_immed_del( u8 );
void wait_ms( u8 );
u8 renge_set_jump( u8 tsk_id );
#endif