代码搜索:硬件中断
找到约 10,000 项符合「硬件中断」的源代码
代码结果 10,000
www.eeworm.com/read/182497/6951599
c interpt.c
//模块监控中断服务程序
//定时器0中断服务程序
#include "fDETDeclare.H"
#include "DETConst.H"
#include "RS485BUF_EX.H"
unsigned char counter;//计数器,用于定时
void Initial(void)
{
unsigned char flag1,flag2;
TMOD=0x
www.eeworm.com/read/467049/7014483
c sx2.c
#include "type.h"
#include "sx2.h"
#include "cy7c68001.h"
#include "DEC2407_USB.h"
#define COMMAND 0x04
/*声明中断INT2的函数,用于USB的中断处理*/
#pragma INTERRUPT(int2_isr);
BOOL SX2_comwritebyte(uns
www.eeworm.com/read/464723/7155991
c sx2.c
#include "type.h"
#include "sx2.h"
#include "cy7c68001.h"
#include "DEC2407_USB.h"
#define COMMAND 0x04
/*声明中断INT2的函数,用于USB的中断处理*/
#pragma INTERRUPT(int2_isr);
BOOL SX2_comwritebyte(uns
www.eeworm.com/read/455501/7370590
c init_handler.c
unsigned *svi_vec=(unsigned *)0x08; //异常向量0x8
extern void SWI_Handler(void); //中断处理程序
unsigned Install_Handler(unsigned routine,unsigned *vector)
{ /*在异常向量vector地址处写入B指令,相对寻址,
routine为中断处理程序入口地
www.eeworm.com/read/453078/7427467
asm traffic light.asm
ORG 0000H
LJMP MAIN ;转向主程序
ORG 0003H
LJMP INT0 ;转向紧急车辆中断服务程序
ORG 0013H
LJMP INT1 ;转向有车车道中断服务程序
ORG 0200H
MAIN:
MOV SP ,#30H
SETB PX0
www.eeworm.com/read/444685/7608440
c ch452w4.c
/* ***************************
Website: http://wch.cn
Email: tech@wch.cn
Author: W.ch 2005.4
CH452的4线接口子程序
****************************
CH45X的4线接口,不含按键中断为3个I/O引脚,含按键中断为4个I/O,类似SPI时序,
www.eeworm.com/read/444685/7608445
asm ch452w4.asm
; CH452
; 4-Wire Interface Program for MCS-51
;
; Website: http://winchiphead.com
; Email: tech@winchiphead.com
; Author: W.ch 2003.03
;
; CH452 的4 线接口,不含按键中断为3 个I/O 引脚,含按键中断为4 个I/O,兼容SP
www.eeworm.com/read/443702/7626712
c sx2.c
#include "type.h"
#include "sx2.h"
#include "cy7c68001.h"
#include "DEC2407_USB.h"
#define COMMAND 0x04
/*声明中断INT2的函数,用于USB的中断处理*/
#pragma INTERRUPT(int2_isr);
BOOL SX2_comwritebyte(uns
www.eeworm.com/read/196135/8113047
c sx2.c
#include "type.h"
#include "sx2.h"
#include "cy7c68001.h"
#include "DEC2407_USB.h"
#define COMMAND 0x04
/*声明中断INT2的函数,用于USB的中断处理*/
#pragma INTERRUPT(int2_isr);
BOOL SX2_comwritebyte(uns
www.eeworm.com/read/396034/8135830
c sx2.c
#include "type.h"
#include "sx2.h"
#include "cy7c68001.h"
#include "DEC2407_USB.h"
#define COMMAND 0x04
/*声明中断INT2的函数,用于USB的中断处理*/
#pragma INTERRUPT(int2_isr);
BOOL SX2_comwritebyte(uns