代码搜索结果
找到约 10,000 项符合
Interrupt 的代码
interrupt.h
/************************************************************************************
* Copyright (c), 2004-2007,西安铭朗电子科技有限责任公司
* All rights reserved.
*
* Http: www.mlarm.com
* Email
interrupt.txt
CODE SEGMENT
ASSUME CS: CODE
NEW_INT: ;接收字符的中断处理程序
STI ;CPU开中断
MOV DX , 3F8H ;接收字符
interrupt.c
#include "reg.h"
extern unsigned volatile int counter_32;
extern unsigned volatile int counter_256;
extern unsigned volatile int wng_clk;
extern unsigned volatile int wng_data;
extern unsigne
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 recognized i
interrupt.test
# 2004 Feb 8
#
# The author disclaims copyright to this source code. In place of
# a legal notice, here is a blessing:
#
# May you do good and not evil.
# May you find forgiveness for yourself
interrupt.c
#include "s3c2410.h"
#include "interrupt.h"
#include "serial.h"
void EINT_Handle()
{
unsigned long oft = INTOFFSET;
switch( oft )
{
case 1: printk("EINT1, K1 pressed!\n\r"); break;
case 2: pri
interrupt.h
void EINT_Handle();