📄 interrupt.c
字号:
#include "Ethernet\Emac.h"
extern Handle hEMAC;
extern Uint16 eventId1;
interrupt void EMACInterruptISR()
{
Uint32 i;
IRQ_disable( IRQ_EVT_MACINT );
// Since ISR is left masked by the INT dispacher here,
// simply call the sevice function.
if( hEMAC )
{
i = EMAC_serviceCheck( hEMAC );
}
IRQ_enable( IRQ_EVT_MACINT );
return;
}
interrupt void Timer1()
{
IRQ_disable(eventId1);
tcpip_tcp_timer(0);
IRQ_enable(eventId1);
return ;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -