代码搜索结果
找到约 10,000 项符合
Interrupt 的代码
1.c
#include
#include
void init_timer1()
{//OCR1AH=0x00;//设定pwm的值约为0.8s
//OCR1AL=0x90;
OCR1A=23;
TCCR1B = 0x00; //stop
//TCCR1A=0x82;
TCCR1A=0x82;
TCCR1B=0x1A;
/*8
1._c
#include
#include
void init_timer1()
{//OCR1AH=0x00;//设定pwm的值约为0.8s
//OCR1AL=0x90;
OCR1A=23;
TCCR1B = 0x00; //stop
//TCCR1A=0x82;
TCCR1A=0x82;
TCCR1B=0x1A;
/*8
timer_int...c
/*
* Example Source Code For PIC Timers
* THis blinks LEDs on PORTB to show interrupt rates
*
* Barton Dring
* Dring Engineering Services
* www.eng-serve.com
*
* Example only! Use any code
avrx_generatesinglestepinterrupt.s
#include "avrx.inc"
/*
Copyright 1999-2001, Larry Barello
larry@barello.net
*/
/*+
; --------------------------------------------------
; Generate Interrupt (Single Step S
main.c
/*******************************************************************
*
********************************************************************/
#include "include\macro.h"
#include "include\HardCon
main.c
/*******************************************************************
*
********************************************************************/
#include "include\macro.h"
#include "include\HardCon
cputimer.c
/************************************************************************************
版权(c) 2003- 北京合众达电子技术有限责任公司 *
* 设计者: 戴展波
**********************************************
intr.c
/******************************************************************/
/* intr.c V0.00 */
/* Copyright (c) Texas Instruments , Incorporated 1997
mydeclare.h
#ifndef __MYDECLARE__
#define __MYDECLARE__
#include //引用宏定义
#include //引用本征库函数
#include //引用BOOL变量
//简化本征库函数的书写
#define NOP __no_ope
intr.h
/******************************************************************************/
/* INTR.H - TMS320C6x Peripheral Support Library Interrupt Support */
/*