代码搜索结果
找到约 10,000 项符合
Timer 的代码
timer.txt
TIMER [DUAL MODE]
NAME TIMER - Starts a timer.
SYNTAX
timer [/start name| /stop name] [-q|/q]
USAGE
timer.def
NAME TIMER WINDOWCOMPAT
DESCRIPTION 'TIMER - Set timers and release them showing time between. Copyright (c) Martti Ylikoski. 1990 - 1992.'
STUB 'TIMERDOS.EXE'
PROTMODE
timer.mak
#
# Makefile for TIMER.EXE
#
# Compiler : Microsoft C 6.0
# Created : 19.8.1992
# Copyright (c) : Martti Ylikoski, 1992
#
# Notes: The llibcep.lib is the default library in my
timer.c
#define Timer_c
#include "main.h"
//***********************
//定时器T2初始化,系统核心时钟,重要重要
void timer2_init(void)
{
TCCR2 = 0x00;//停止定时器
ASSR = 0x00;//异步时钟模式
TCNT2 = 0x10;//初始值
OCR2 = 0xF0;
timer.lst
1 .file "Timer.c"
2 .arch atmega64
3 __SREG__ = 0x3f
4 __SP_H__ = 0x3e
5 __SP_L__ = 0x3d
6
timer.c
#include "def.h"
#include "2410addr.h"
#include "2410slib.h"
#include "2410lib.h"
#include "2410slib.h"
#include "timer.h"
#define EXT_XTAL_FREQ 12000000
#define BIOS_TIMER_FREQ 100
U32 SY
timer.h
#ifndef _TIMER_H
#define _TIMER_H
#define FCLK_260M ((252