代码搜索结果
找到约 10,000 项符合
Interrupt 的代码
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
interrupt.c
#include "lprps.h"
static void
sig_int(int signo) /* SIGINT handler */
{
intr_flag = 1;
return;
}
/* This function is called after SIGINT has been delivered,
* and the main loop has re
interrupt.c
/****************************************************************************************
项目工程: 超声传感器应用程序
单片机: PIC16F876A
晶振: 20MHz
*******************
interrupt.c
/*******************************************************************
* 这是一段用户层的中断程序应用代码
* $$$$ 运行在用户空间
* 按下面的命令编译:
* usr/local/arm/2.95.3/bin/arm-linux-gcc -o interrupt interrupt.c
*
*********
interrupt.txt
CODE SEGMENT
ASSUME CS: CODE
NEW_INT: ;接收字符的中断处理程序
STI ;CPU开中断
MOV DX , 3F8H ;接收字符