代码搜索结果
找到约 10,000 项符合
Interrupt 的代码
interrupt.dep
2
Debug
$PROJ_DIR$\Debug\Exe\interrupt.r90
interrupt.eww
$WS_DIR$\interrupt.ewp
interrupt.c
#include
#include
//定义延时程序
#define F_CPU 1 //1MHz时钟频率
#define delay_ns(t_nus) __delay_cycles(t_nus*F_CPU)
#define delay_ms(t_mus) __delay_cycles(t_mus*F_CPU*1000)
//管脚
interrupt.asm
;;---------------------------------------------------------
;; ISR_TMR TMR INTRRUPT SERVICE
;; description START AD EVERY 1S,every in 5ms
;; input NULL
;; onput NULL
;; stack use NULL
;;---
interrupt.lst
C51 COMPILER V7.01 INTERRUPT 03/22/2004 15:13:33 PAGE 1
C51 COMPILER V7.01, COMPILATION OF MODULE INTERRUPT
OBJECT MODULE PLACED
interrupt.c
/*----------------------------------------------------------------
serial receive interrupt
----------------------------------------------------------------*/
#include"reg52.h"
#include"main.
interrupt.cc
// interrupt.cc
// Routines to simulate hardware interrupts.
//
// The hardware provides a routine (SetLevel) to enable or disable
// interrupts.
//
// In order to emulate the hardware, we need to ke
interrupt.h
// interrupt.h
// Data structures to emulate low-level interrupt hardware.
//
// The hardware provides a routine (SetLevel) to enable or disable
// interrupts.
//
// In order to emulate the hardware,
interrupt.c
extern void vPortYield(void); //SWI中断服务程序,用于任务切换
extern void vPortTickInterrupt(void);//适时中断服务函数
interrupt void undefine_ASR() //未定义中断相量的服务程序
{
};
typedef void (*near tIsrFunc)(void);
const