ctr_mcu/flower_toriaezu2/pool.h
n2232 612b217dfc 仕様2
・スリープ(蓋閉じ)中だけ電源長押しオフを効かなくする(全機種共通)
 else if( SW_pow_count == ( HOLD_THREASHOLD ) ) が無しのイメージ?
・スリープスイッチがスリープになってるときは、PWRの長押しでのみ電源オン
 ・このとき、長押しを3秒でなく、10秒にして欲しい
 ・これは機種判定してFLOWERのときのみの挙動


git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@515 013db118-44a6-b54f-8bf7-843cb86687b1
2013-02-21 00:19:54 +00:00

25 lines
448 B
C

#ifndef _pool_h_
#define _pool_h_
#include "pedometer.h"
#define VREG_C_FREE_SIZE 200
// 空いてるメモリ
typedef struct _st_vreg_c_ext{
unsigned short pedo_log[ PEDOMETER_LOG_SIZE ];
unsigned char vreg_c_free[ VREG_C_FREE_SIZE ];
}st_vreg_c_ext;
typedef union _uni_pool
{
st_vreg_c_ext vreg_c_ext;
u8 self_update_work[ 256 ]; // 256以上はまとめ書きできない
}uni_pool;
extern uni_pool pool;
#endif