代码搜索结果
找到约 10,000 项符合
Timer 的代码
timer.c
/************************************************************************/
/* PROGRAMER: CHAE, BYOUNG-CHEOL */
/* PROGRAM : TIMER.C
timer.c
/*****************************************************************************
* timer.c: Timer C file for NXP LPC24xx Family Microprocessors
*
* Copyright(C) 2006, NXP Semiconductor
*
timer.h
/*****************************************************************************
* timer.h: Header file for NXP LPC424xx Family Microprocessors
*
* Copyright(C) 2006, NXP Semiconductor
*
timer.c
#include
#include
#include
int alphanum = 0;
int counter = 0;
void interrupt far handler(void)
{
if (++counter == 273) // 15 seconds
{
alph
timer.h
# define MAXTIMER 10
struct TM
{
DWORD Interval;
DWORD LastTimer;
BOOL Enable;
BOOL Used;
void (*Pointer)();
timer.c
#include "tdp.h"
#include
#define TIMER0_COUNT 0xDC11 /* 10000h-((11059200Hz/(12*FREQ))-17) */
static xdata unsigned timer0_tick;
/* 定时器T0中断服务函数 */
static void timer0_isr (void) i
timer.c
/*********************************************************************
*
* Filename: timer.c
* Version:
* Description:
* Status: Experimental.
* Author: Dag Brattli
timer.h
/*********************************************************************
*
* Filename: timer.h
* Version:
* Description:
* Status: Experimental.
* Author: Da
timer.h
// timer.h
// Data structures to emulate a hardware timer.
//
// A hardware timer generates a CPU interrupt every X milliseconds.
// This means it can be used for implementing time-slicing, or for
//