forked from wanrenqi/PASII
1
0
Fork 0
PASII/CandeII_1.4/Taskrun/detect_task.h

29 lines
800 B
C
Raw Permalink Normal View History

/*****************************************************************
;Project: Light
;MCU:
;Date:
;File:
;Function:
******************************************************************/
#ifndef __DETECT_TASK_H
#define __DETECT_TASK_H
/*---------------------------------------------------------------*/
#include "ARMCM0.h"
/*---------------------------------------------------------------*/
//<2F><><EFBFBD><EFBFBD><EFBFBD>л<EFBFBD>
void Task_Switch(void);
unsigned char Get_TaskInitFlag(void);
void Set_TaskInitFlag(unsigned char Flag);
/*---------------------------------------------------------------*/
//ö<><C3B6><EFBFBD><EFBFBD><EFBFBD>Ͷ<EFBFBD><CDB6><EFBFBD>
typedef enum TaskSwitch_t{
TaskSwitch_None = 0,
TaskSwitch_shock = 1,
TaskSwitch_Charge
}TaskSwitch_t;
#endif
/*---------------------------------------------------------------*/