代码搜索结果
找到约 10,000 项符合
Timer 的代码
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
timer.h
// Period in ns
#define IR_POLLING_PERIOD (unsigned long)375000
#define MAIN_LOOP_PERIOD (unsigned long)20000000
#define DELAY_ONE_MS (unsigned long)1000000
#define DELAY_HALF_MS
timer.lst
C51 COMPILER V6.20c TIMER 04/15/2004 12:59:25 PAGE 1
C51 COMPILER V6.20c, COMPILATION OF MODULE TIMER
OBJECT MODULE PLACED IN
timer.c
#define __TIMER__
#include "Header\INCLUDE.H"
/////////////////////////////////////////////////////////////
// Interrupt Service Routine for Timer0 (Fired every 20ms) //
////////////////////
timer.h
#ifndef _CTIMER_H_
#define _CTIMER_H_
#include "queue.h"
#include
class CTimer
{
friend class CTimerManager;
public:
typedef enum
{
TIMER_IDLE=0,
TIMER_ALIVE,
TIMER_TI
timer.cpp
#include "timer.h"
#include "timer_manager.h"
CTimer::CTimer(unsigned int vinterval,void (*vfunc)(CTimer *,void *),void *vdata,TimerType vtype):
m_interval(vinterval),m_state(TIMER_IDLE),m_type(v