代码搜索结果
找到约 10,000 项符合
Timer 的代码
timer类.txt
<mark>Timer</mark>类
Java为程序代码的定时执行提供了方便的类。例如,如果编写一个时钟应用程序,希望他能够每秒钟更新一次显示,或者想在一些预定的时间播放一个报警声音,
可以使用多线程并调用Thread.sleep()方法来完成这些任务。但使用java.util.<mark>Timer</mark>和java.util.<mark>Timer</mark>Task类会更简单一些。
<mark>Timer</mark>类的实例观察时钟并在适当时执行对象。例如,可以像下面 ...
timer.c
/****************************************************************************************/
//
// Filename: timer.c
// Function: Config timer 0 to control LED 5
//
/*****************************
timer.h
/********************************************************************************/
/* SYSREG.H v1.00 */
/* 版权(c) 2003- 北京合众达电子技术有限责任公司 */
/* 设计者: 段立锋 */
/***
timer.c
/****************************************************************/
/* 文件名: Timer.c */
/* 功能: 定义配置定时器函数和定时器中断函数 */
/* 设计者: 陈湘和 */
/* 设计日期: 10/20/2004 */
/**
timer.h
/****************************************************************/
/* 文件名: Timer.h */
/* 功能: 声明配置定时器函数和定时器中断函数 */
/* 设计者: 陈湘和 */
/* 设计日期: 10/20/2004 */
timer.dni
[Interrupts]
Enabled=1
[MemoryMap]
Enabled=0
TypeVolition=1
UnspecRange=1
ActionState=1
[DisAssemblyWindow]
NumStates=_ 1
State 1=_ 1
[State Storage]
Control Register=771
[Sequencer]
Cont
timer.dbgdt
199
27
timer.h
#ifndef __TIMER_H__
#define __TIMER_H__
void Test_Timer(void);
void Test_WDTimer(void);
void Test_TimerInt(void);
#endif /*__TIMER_H__*/
timer.c
#include
#include "..\..\inc\44b.h"
#include "..\..\inc\44blib.h"
#include "..\..\inc\cputest\timer.h"
void __irq Timer0Done(void);
void __irq Timer1Done(void);
void __irq Timer2Don
timer.c
/*
* libmad - MPEG audio decoder library
* Copyright (C) 2000-2004 Underbit Technologies, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the