求绝顶高手解释一下我这代码每一行的意思??
#include "main.h"void main(void)
{
volatile U8 xdata working_sta; \\
Read_CTS_Infomatiom();
//reset_detect();//芯片复位
current_Repair();//计算电流源偏差70ms
Read_flashcurrent();//初始化电流源
config_workstate = CONFIG_MODE;
while(1)
{
WDT_TIME_SEL = 0x07;
working_sta = config_workstate&0x7;
switch(working_sta)
{
case CONFIG_MODE:
CTS_Reset_State();
break;
case WAITING_MODE:
Device_Wait();
break;
case NORMAL_MODE:
CTS_Process();
break;
case SLEEP_MODE:
config_workstate = Device_Sleep();
break;
default:
Device_Wait();
break;
}
}
}