代码搜索结果
找到约 10,000 项符合
Interrupt 的代码
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
text1.c
#include
#include
Uart_Init();
main()
{ Uart_Init();
EX0=1; /* 打开外部中断0 */
EX1=1; /* 打开外部中断1 */
IT0=1; /* 外部中断0 下降沿触发中断*/
IT1=1; /* 外部中断1 下降沿触发中断*/
EA=1; /* 全局中断允许
coreb.mak
# Generated by the VisualDSP++ IDDE
# Note: Any changes made to this Makefile will be lost the next time the
# matching project file is loaded into the IDDE. If you wish to preserve
# changes,
¿-
;;========program instruction===========
;; TCC CLK 6MHZ PRE=256
;; LEDFLASH=0.5S
;; TCC COUNTER
;;=======================================
INCLUDE"ET44M210_REG.H"
COU
coreb.mak
# Generated by the VisualDSP++ IDDE
# Note: Any changes made to this Makefile will be lost the next time the
# matching project file is loaded into the IDDE. If you wish to preserve
# changes,
tx_tic.68
/**************************************************************************/
/* */
/* Copyright (c) 1996-2000 by E
intr.h
/******************************************************************************/
/* INTR.H - TMS320C6x Peripheral Support Library Interrupt Support */
/*
vecsir.asm
;VECSIR.ASM-INTERRUPT AND RESET VECTORS
.asect "vecs",0h ;interrupt and reset vectors
.ref _c_int00 ;compiler defined C init reset
reset: .word _c_int00
timer.c
#include /* derivative information */
#include "can.h"
#include "pwm.h"
#include "sci.h"
#include "timer.h"
#include "event.h"
#pragma CODE_SEG DEFAULT
void TIM_Init(voi