You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

72 lines
1.3 KiB

#ifndef _APP_WS_H
#define _APP_WS_H
#include "../clib/Type.h"
#include "../ctask/task.h"
#include "../msp/uart0.h"
#include "../clib/clib.h"
//#include "../debug/debug_drv.h"//
//#include "../msp/msp_plcd.h"
//#include "../msp/SHC6601_rtc.h"
///#include "app_rf.h"
//
#include "../tpc/tpc_uart.h"
#include "../clib/bit.h"
#include "app_algorithm.h"
//>>>>>>>>>>>>>>>>>>>>>0¿ª»útask
///#define D_task_WS_ask 0x56
///#define D_task_WS_enter 0x57
///#define D_task_WS_init 0x10
///#define D_task_OSD_init_key 0x11
///#define D_task_WS_STEP 0x30
///#define D_task_WS_heratbeat 0x70
#define D_task_WS_wait_cam1 0x51
#define D_task_WS_T 0x52
#define D_task_WS_T2 0x62
#define D_task_WS_lowPower 0x53
#define D_task_WS_work 0x5b
#define D_task_WS_cali 0x5c
#define D_task_WS_ch 0x54
#define D_task_WS_cal 0x55
typedef struct
{
TS_task task;
vU8 t_stamp;
vU16 t_stamp2;
vU16 wakeup_timer;
vU8 long_hit;
// vU8 first_run;//
// unsigned char area;//
// unsigned char status;//
// unsigned char key;//
}TS_task_WS_;
extern TS_task_WS_ ts_task_WS;
extern void L2_task_WS_handle(TS_task_WS_ *s);
extern void L2_task_WS_init(void);
extern void L2_task_WS_handle33(TS_task_WS_ *s);
extern TS_P_rf433 TS_paer_value;
//<<<<<<<<<<<<<<<<<<<0¿ª»útask
#endif