代码搜索:timer
找到约 10,000 项符合「timer」的源代码
代码结果 10,000
www.eeworm.com/read/332100/12779091
c timer.c
#define __TIMER__
#include "reg52.h"
#include "Header\Lcd_main.h"
#include "Header\Lcd_auto.h"
/////////////////////////////////////////////////////////////
// Interrupt Service Routine for T
www.eeworm.com/read/245586/12791406
o timer.o
www.eeworm.com/read/245586/12791423
c timer.c
#include "hos.h"
void timer_isr(void);
unsigned long systick;
void timer_handler(void)
{
systick++;
// decrease counter of current
current->counter--;
if (!current->counter){// switch
current
www.eeworm.com/read/245586/12791450
h timer.h
#ifndef __TIMER_H_
#define __TIMER_H_
/* Port of the 8253 register in the PC */
#define TIMER_PORT0 0x40
#define TIMER_PORT1 0x41
#define TIMER_PORT2 0x42
#define MODECTRL 0x43
/* Timer Mode */
#def
www.eeworm.com/read/245586/12791781
o timer.o
www.eeworm.com/read/245586/12791799
c timer.c
#include "hos.h"
void timer_isr(void);
unsigned long systick;
void timer_handler(void)
{
systick++;
// decrease counter of current
current->counter--;
if (!current->counter){// switch
current
www.eeworm.com/read/245586/12791823
h timer.h
#ifndef __TIMER_H_
#define __TIMER_H_
/* Port of the 8253 register in the PC */
#define TIMER_PORT0 0x40
#define TIMER_PORT1 0x41
#define TIMER_PORT2 0x42
#define MODECTRL 0x43
/* Timer Mode */
#def
www.eeworm.com/read/245586/12792026
o timer.o
www.eeworm.com/read/245586/12792033
c timer.c
#include "hos.h"
void timer_isr(void);
unsigned long systick;
void timer_handler(void)
{
systick++;
// decrease counter of current
current->counter--;
if (!current->counter){// switch
current
www.eeworm.com/read/245586/12792059
h timer.h
#ifndef __TIMER_H_
#define __TIMER_H_
/* Port of the 8253 register in the PC */
#define TIMER_PORT0 0x40
#define TIMER_PORT1 0x41
#define TIMER_PORT2 0x42
#define MODECTRL 0x43
/* Timer Mode */
#def