📄 isr.c
字号:
#include "SPCE061A.H"
#include "Isr.h"
void vIsrSysInit(void){
*Port_TimeBaseSetup = 0x00;
*Port_INT_Ctrl |= 0x0002;
}
void IRQ6(void)__attribute__((ISR)){
unsigned int temp;
temp = *Port_INT_Ctrl;
if(temp&0x0002){
vDetect();
vKeyScan();
}
*Port_INT_Clear &= 0xfffb;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -