ctr_mcu/branches/SDK0.14/sw.h

16 lines
273 B
C

#ifndef _sw_
#define _sw_
#include "config.h"
extern u16 SW_pow_count;
extern bit SW_pow_mask;
#define INTERVAL_TSK_SW 8
#define CLICK_THRESHOLD 2
#define HOLD_THREASHOLD (u8)( 2000 /INTERVAL_TSK_SW )
#define FORCEOFF_THREASHOLD 32
#endif