代码搜索:timer
找到约 10,000 项符合「timer」的源代码
代码结果 10,000
www.eeworm.com/read/143653/12854379
o timer.o
www.eeworm.com/read/244534/12858014
asm timer.asm
.include "F2407REGS.H"
.def _c_int0
.sect ".vectors"
RSVECT B _c_int0
INT1 B PHANTOM
INT2 B GISR2
INT3 B PHANTOM
INT4 B PHA
www.eeworm.com/read/244534/12858019
zip timer.zip
www.eeworm.com/read/244534/12858023
obj timer.obj
www.eeworm.com/read/244534/12858024
c timer.c
.include "F2407REGS.H" ;引用头部文件
.def _c_int0
(1)建立中断向量表
.sect ".vectors" ;定义主向量段
RSVECT B _c_int0 ;PM 0 复位向量 1
INT1 B PHANTOM ;PM 2 中断优先级1 4
INT2 B G
www.eeworm.com/read/143516/12869072
c timer.c
/* General purpose software timer facilities
*/
#include
#include "global.h"
#include "timer.h"
#include "proc.h"
#include "mbuf.h"
#include "commands.h"
#include "daemon.h"
#inclu
www.eeworm.com/read/143516/12869176
h timer.h
#ifndef _TIMER_H
#define _TIMER_H
#ifndef _GLOBAL_H
#include "global.h"
#endif
/* Software timers
* There is one of these structures for each simulated timer.
* Whenever the timer is runn
www.eeworm.com/read/143472/12873106
h timer.h
# define MAXTIMER 10
struct TM
{
DWORD Interval;
DWORD LastTimer;
BOOL Enable;
BOOL Used;
void (*Pointer)();
www.eeworm.com/read/330691/12874831
c timer.c
#include "2407e.h"
#include "2407bit.h"
extern unsigned int TimeFlag;
void T3Init(void) //T3 Serve as Clock
{
*EVBIMRA = 0x0080; //Enable T3PINT interrupt
*EVBIFRA = 0xffff; //
www.eeworm.com/read/143389/12879175
h timer.h
#define NR_TIMERS 2
#define KEY_TIMER 0
#define LED_TIMER 1
struct timer {
unsigned int to;
unsigned int status;
void (*to_fn)(int);
};
extern struct timer timers[NR_TIMERS];
void clear_timer(i