代码搜索结果
找到约 10,000 项符合
Interrupt 的代码
shared_int.c
//****************************************************************************
// @Module Shared Interrupt Routines
// @Filename SHARED_INT.C
// @Project ADC.dav
//--------------
shared_int.lst
C51 COMPILER V8.04b SHARED_INT 04/26/2008 19:04:54 PAGE 1
C51 COMPILER V8.04b, COMPILATION OF MODULE SHARED_INT
OBJECT MODULE PLACE
traps.c
/*
** Copyright (C) 2006 Tamir Michael
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the
int3.asm
;----------------------------------------------------------------------------
; INT3.ASM August 23,1987
;
; Data input/output via RS-232/2 (COM 2)
; * initialization
; * ISR
;-----
int4.asm
;----------------------------------------------------------------------------
; INT4.ASM August 23,1987
;
; Data input/output via RS-232C (COM 1)
; * initialization
; * ISR
;-----
main.asm
;==================================================================================
; The information contained herein is the exclusive property of
; Sunplus Technology Co. And shall not be distribu
main.asm
;==================================================================================
; The information contained herein is the exclusive property of
; Sunplus Technology Co. And shall not be distribu
eventthread.pas
unit EventThread;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls,Driver,event,Global;
type
PT_ThreadData = Re
text1.c
#include
#include
Uart_Init();
main()
{ Uart_Init();
EX0=1;
EA=1;
while(1);
}
void int0() interrupt 0 using 0
{ printf("External Interrupt 0 responded\n");
}
Uart_Ini
text1.c
#include
#include
Uart_Init();
main()
{ Uart_Init();
EX0=1; /* 打开外部中断0 */
EX1=1; /* 打开外部中断1 */
EA=1; /* 全局中断允许 */
PX0=0; /* INT0为低优先级 */
PX1=1; /* INT1为高优先级 */
w