mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-10-31 13:51:10 -04:00
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
35 lines
536 B
C
35 lines
536 B
C
#pragma SFR
|
|
#pragma di
|
|
#pragma ei
|
|
#pragma nop
|
|
#pragma stop
|
|
#pragma halt
|
|
|
|
|
|
#pragma section @@CODE ROM_CODE
|
|
//#pragma section @@CNST ROM_CNST
|
|
|
|
|
|
//=========================================================
|
|
#ifndef _incs_h_
|
|
#define _incs_h_
|
|
|
|
#include "jhl_defs.h"
|
|
#include "user_define.h"
|
|
|
|
#include "bsr_system.h"
|
|
#include "renge.h"
|
|
|
|
#include "vreg_ctr.h"
|
|
#include "vreg_twl.h"
|
|
|
|
#include "i2c_mcu.h"
|
|
|
|
#include "rtc.h"
|
|
|
|
|
|
//=========================================================
|
|
err firm_update();
|
|
|
|
#endif
|