?? int.c
字號:
#include <at89x52.H> // SFR definition header file
#include <stdio.h> // prototype declarations for I/O functions
#include <rtx51tny.h> /* RTX-51 tiny functions & defines */
#include "function.h"
#include "SystemEvent.h"
#include "UART.h"
#include "ExtVar.h"
void InitINT1(void){
EX1=1; /* 1=Enable External interrupt 0 */
EA = 1; /* global interrupt enable */
}
void INTx1 (void) interrupt 2 using 2 {
isr_send_signal(2); EX1=0;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -