代码搜索:timer
找到约 10,000 项符合「timer」的源代码
代码结果 10,000
www.eeworm.com/read/245586/12792220
o timer.o
www.eeworm.com/read/245586/12792228
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/12792242
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/12792354
o timer.o
www.eeworm.com/read/245586/12792360
c timer.c
#include "hos.h"
void timer_isr(void);
unsigned long systick;
void timer_handler(void)
{
systick++;
outbyte(0x20, 0x20); /* EOI to Master */
outbyte(0xA0, 0x20); /* EOI to Slave */
}
void init
www.eeworm.com/read/245586/12792375
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/12792656
o timer.o
www.eeworm.com/read/245586/12792673
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/12792696
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/331966/12792756
js timer.js
// (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Permissive License.
// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.msp