代码搜索结果
找到约 10,000 项符合
Interrupt 的代码
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
#include "global.h"
#include "cc1020.h"
#include "msp430x14x.h"
#pragma vector=UART0TX_VECTOR
__interrupt void USART0_TX(void)
{
SPI_TX_OK = 0xFF;
}
interrupt.asm
;;---------------------------------------------------------
;; ISR_TMR TMR INTRRUPT SERVICE
;; description START AD EVERY 1S,every in 5ms
;; input NULL
;; onput NULL
;; stack use NULL
;;---
interrupt.cpp
// -----------------------------------------------------------------------------
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED,
interrupt.h
// -----------------------------------------------------------------------------
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED,
interrupt.asm
SECOND EQU 30H
COUNT EQU 31H
ORG 00H
LJMP START
ORG 0BH ;定时器0中断入口
LJMP INT_T0
START: MOV SECOND,#00H
MOV COUNT,#00H
MOV DPTR,#TABLE ;段码表首地址
MOV P0,#3FH
interrupt.lst
A51 MACRO ASSEMBLER INTERRUPT 07/02/2006 20:44:03 PAGE 1
MACRO ASSEMBLER A51 V8.00
OBJECT MODULE PLACED IN Interrupt.OBJ
ASSEMBLE
interrupt.h
/* interrupt.h */
#ifndef _LINUX_INTERRUPT_H
#define _LINUX_INTERRUPT_H
struct bh_struct {
void (*routine)(void *);
void *data;
};
extern unsigned long bh_active;
extern unsigned long bh