代码搜索结果
找到约 10,000 项符合
Timer 的代码
timer.h
/******************************************************************************/
/* TIMER.H - TMS320C6711 Peripheral Support Library Timer Support */
/*
timer.h
/******************************************************************************/
/* TIMER.H - TMS320C6711 Peripheral Support Library Timer Support */
/*
timer.js
timer.h
#ifndef __TIMER_H__
#define __TIMER_H__
#include "Board.h"
void Timer1Init(void);
void Delay1mS(uint16 u16Dly);
#endif
timer.c
#include "Include.H"
void Timer1Init(void)
{
TIMSK = 0x00;
TCCR1A = 0x00;
TCCR1B = 0x00;
}
void Delay1mS(uint16 u16Dly)
{
TCCR1B = MASK(CS10);
while (u16Dly--)
{
TCNT1 = 0x100
timer.lst
C51 COMPILER V7.02b TIMER 06/20/2006 18:46:34 PAGE 1
C51 COMPILER V7.02b, COMPILATION OF MODULE TIMER
OBJECT MODULE PLACED IN
timer.c
/*-------------------------------------*/
/*
THIS FOR TIMER SUBROUTINE USEED
TO SET TIMER TO 4S, 60S, 10MS, &INTERRUPT WITH THE TIMEERS
*/
/*-------------------------------------*/
/*
timer.h
/*------------------------*/
extern uint data timeout2; // count for timer2 interrupted
extern uchar data Rx_count; //接收数据计数器
extern bit Rxrun_bit; //接收数据标志,作定时用,超时接收退出
ex