📄 #fc55.tmp
字号:
#ifndef _CONTROLBLOCK
#define _CONTROLBLOCK
#define TEST BIT0 //增加模块
#define TEST2 BIT1
#define SIN BIT2
#define NULL 0X00
#define BLOCK 1
#define BEGING 2
#define GO 3
#define SET 4
#define RESET 5
#define UP 6
#define DOWN 7
#define LEFT 8
#define RIGHT 9
#define ADD 10
#define SELET 11
void Set(unsigned char which,unsigned char state); //设置个各全局变量的状态
unsigned char ReturnState(unsigned char which); //返回各全局变量的状态,错误返回 100
void * ReturnFun(); //返回选择进入模块的函数指针
void ExitBlock(unsigned char which); //退出模块
#endif