代码搜索结果
找到约 10,000 项符合
Timer 的代码
timer.lst
C51 COMPILER V7.06 TIMER 12/18/2007 11:18:07 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE TIMER
OBJECT MODULE PLACED IN t
timer.c
#include "c51base.h"
static uint time_20ms;
static bit is_key;
static uchar key_value;
void TimerInit()
{
TH0 = 0X88;
TL0 = 0X00;
TMOD = 0X21;
TR0 = 1;
ET0 = 1;
}
sbit KE
timer.h
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by
timer.cpp
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by
timer.c
// Copyright (c)2005 - 2006 by Laser Electronics, All Rights Reserved.
/*----------------------------------------------------------------------------+
| File Name: Timer.c, v1.0.1
timer.h
// --------------------------------------------------------------------------
// Timer.h
// --------------------------------------------------------------------------
#ifndef __TIMER_H__
#defi
timer.v
/*********************************************************
MODULE: Sub Level Timer Device
FILE NAME: timer.v
VERSION: 1.0
DATE: May 21th, 2002
AUTHOR: Hossein Amidi
COMPANY:
CODE TYPE: Reg
timer.opt
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
timer.c
void OpenTimer(timer, tosc, count_value, count_direction, interruppt) {
/* initialise ant start timer A0 with interrupt */
TA0MR.BYTE = 0x80; /* timer mode, f/8 */
TA0 = 0xFFFF; /* pr