代码搜索结果
找到约 10,000 项符合
Interrupt 的代码
os.c
#include
#include "oSdef.h"
__root unsigned char OSRdyGrp, OSRdyTbl[8],prio;
extern void (*TaskList[])(void);
extern void (*TaskArh[])(void);
extern void (*TaskRan)(void);
co
os.c
#include
#include "oSdef.h"
__root unsigned char OSRdyGrp, OSRdyTbl[8],prio;
extern void (*TaskList[])(void);
extern void (*TaskArh[])(void);
extern void (*TaskRan)(void);
co
836demo7.c
/**********************************************************************/
/* This program is for PCL-836 Rev. A1 interrupt test. */
/* Connect int_input to digital out D0 int_enable t
tx_tic.68
/**************************************************************************/
/* */
/* Copyright (c) 1996-2000 by E
external_inter.c
//外部中断的设置
#include
extern unsigned long time1;
void External_Inter(void)//外部中断设置
{
GICR|=_BV(INT0)|_BV(INT1)|_BV(INT2); //低电平中断 GICR为通用中断控制器
}
SIGNAL(SIG_INTERRUPT0)
{
int.asm
;************************************************************************
;*
;* Copyright Mentor Graphics Corpora
irq.h
//========================================================================//
// 文件名: irq.h
// 作 者: xinqiang Zhang(小丑) (email: xinqiang@Mzdesign.com.cn)
// 日 期: 2008/01/03
// 描 述: VIC irq的一些初始
main.c
//看门狗使每秒闪烁一次
#include "msp430.h"
int main( void )
{
// Stop watchdog timer to prevent time out reset
WDTCTL = WDTPW + WDTTMSEL+WDTSSEL;//定时模式下 ACLK做时钟
IE1|=WDTIE;//中断使能
P1DIR|=BIT7;
isr2.c
#pragma option f0
/*
* CYC Code Development System
* Tutorial Interrupt Example
* ISR2.C
* This code may be adapted for any purpose
* when used with the CYC Code Development
* System. N
isr1.c
#define __SHOW_LIBRARY
#pragma option f0
/*
* CYC Code Development System
* Tutorial Interrupt Example
* ISR1.C
* This code may be adapted for any purpose
* when used with the CYC Code De