代码搜索结果
找到约 10,000 项符合
Timer 的代码
timer.c
#include _SFR_H_
#pragma interrupt(Timer=0)
/* IMPORT functions */
extern void enable(void); /* Enable interrupts */
/* LOCAL functions */
static void enable_led( void );
static void Init_
timer.c
#include "ICETEK-C6713-A.h"
main()
{
unsigned char dbScanCode;
init_emif(); // 初始化emif
InitCTR(); // 初始化ICETEK-CTR
InitInterrupt();
while ( 1 )
{
dbScanCode=GetKey();
timer.c
/////////////////////////////////////////////////
// Example For ICETEK-VC5416-EDU //
// CTR Version : V4 //
// Filename: Timer.c
timer.cmd
-w
-stack 400h
-heap 100
-l rts.lib
MEMORY
{
PAGE 0:
VECT : o=80h,l=80h
PRAM : o=100h,l=1f00h
PAGE 1:
DRAM : o=2000h,l=1000h
}
SECTIONS
{
.text : {}> PRAM
timer.c
#include
#include
#include
struct timeval tpstart,tpend;
float timeuse;
static timer_count = 0;
void prompt_info(int signo)
{
time_t t = time(NULL);
/* [1]