代码搜索结果
找到约 10,000 项符合
Timer 的代码
timer.c
/*
* TIMER.C - timer internal command.
*
* clone from 4nt timer command
*
* 20 Aug 1999
* started - Paolo Pantaleo
*/
#include "config.h"
#ifdef INCLUDE_CMD_TIMER
#
timer.lst
1 .file "timer.c"
2 __SREG__ = 0x3f
3 __SP_H__ = 0x3e
4 __SP_L__ = 0x3d
5 __CCP__ = 0x34
6
timer.c
#include "System.h"
//--------------定时器0——5ms程序--------------
//系统时钟:11059200Hz 分频:1024
//Timer0初始化
void Timer0Init(void) //5ms
{
TCCR0=0x00;
TCNT0=0xcb;
OCR0=0x35;
TCCR0=(1
timer.h
#ifndef __Timer__H__
#define __Timer__H__
extern void Timer0Init(void);
#endif
timer.c
#include "System.h"
//--------------定时器0——5ms程序--------------
//系统时钟:11059200Hz 分频:1024
//Timer0初始化
void Timer0Init(void) //5ms
{
TCCR0=0x00;
TCNT0=0xcb;
OCR0=0x35;
TCCR0=(1
timer.h
#ifndef __Timer__H__
#define __Timer__H__
extern void Timer0Init(void);
#endif
timer.c
/* General purpose software timer facilities
* Copyright 1991 Phil Karn, KA9Q
*/
#include
#include "global.h"
#include "timer.h"
#include "proc.h"
#include "mbuf.h"
#include "comma