#ifndef __forcesnsr_H__
#define __forcesnsr_H__
/***************************************************************
copyright from private LiuXiao
if you have any question,you can contact me by email 461445092@qq.com
2022-10-05 17:56:24.020233
***************************************************************/

#ifndef TRUE
#define TRUE  true
#endif

#ifndef FALSE
#define FALSE false
#endif



typedef enum
{
	forcesnsr_CALLBACK_PROCESS_SUCESS = 0x00,
	forcesnsr_CALLBACK_PROCESS_FAIL ,
	forcesnsr_CALLBACK_PROCESSING ,
	forcesnsr_CALLBACK_NOT_PROCESS ,

}forcesnsr_callback_process_state_e_typ;



#define forcesnsrMax_CH   1


/***************************datatype define begin************************************/
#define STATE_UINT8 unsigned char
#define STATE_SINT8 char
#define STATE_UINT16 unsigned short
#define STATE_SINT16 short
#define STATE_UINT32 unsigned int
#define STATE_SINT32 int
/***************************datatype define end************************************/




/***************************enum define begin************************************/
typedef enum{
     init_STATE_E_0,
     state1_STATE_E_1,
     state2_STATE_E_2,
     state3_STATE_E_3,
     state4_STATE_E_4,
}forcesnsrMain_State_e;
/***************************enum define end************************************/


/*****************************main control function begin**********************************/
typedef  forcesnsrMain_State_e  ( * forcesnsrState_Handle_Ptr)(STATE_UINT8 channel);
/*********************************main control function end*******************************/


/***************************extern function begin************************************/
extern  void  forcesnsr_Init(void);
extern  void  forcesnsr_MainTask(void);
extern   STATE_UINT8  Get_force_btn_is_press_state(void);
/***************************extern function end************************************/


#endif
