📄 main.c
字号:
#ifndef _MAIN_C_
#define _MAIN_C_
#include "global.h"
/************************************************************************************************/
/* Device configuration registers */
/************************************************************************************************/
__CONFIG( INTIO & WDTDIS & PWRTDIS & MCLREN & UNPROTECT & BORXSLP & IESOEN & FCMEN & DEBUGEN);
main(void)
{
fItlAll();
while(1)
{
asm("clrwdt");
if(bHavePassed1ms) fTimer2ISR();
if(bHavePassed8ms) fRTOS_OperateMissing();
if(bPortBIsIntterrupt) fProcessPortBInt();
}
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -