ctr_mcu/flower_toriaezu2/batt_params.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

57 lines
880 B
C
Raw Blame History

This file contains ambiguous Unicode characters

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 _bt_params_h_
#define _bt_params_h_
// $Id: asdf$
#include "jhl_defs.h"
/*
“drޝ•Ê CTR | SPFL | YBS
0 ID = 0 maxell <20>©
120 1
360 2
750 <20>@ 3
1.3k<EFBFBD>@ 4
2.7k 5 pana <20>©
8.2k<EFBFBD>@ 6
*/
typedef enum
{
BT_PARAM_CTR_MAXELL = 0,
BT_PARAM_CTR_PANA,
BT_PARAM_SPFL_MAXELL,
BT_PARAM_SPFL_PANA,
BT_PARAM_SNAKE_MAXELL,
BT_PARAM_SNAKE_PANA,
BT_PARAM_FLOWER_MAXELL,
BT_PARAM_FLOWER_PANA,
BT_PARAM_CLOSER_MAXELL,
BT_PARAM_CLOSER_PANA,
_BT_PARAM_NUM_
} BT_TYPE;
typedef struct
{
u8 rcomp;
s16 up,down;
} rcomp_;
typedef struct
{
u8 hi;
u8 low;
} verify_;
typedef struct
{
u8 mg_param[64];
u8 v_scale;
rcomp_ rcomp;
u16 ocv;
verify_ verify;
} bt_param_;
#endif