代码搜索:timer0
找到约 1,870 项符合「timer0」的源代码
代码结果 1,870
www.eeworm.com/read/258064/11890788
c acc1-2-1.c
/*****************************************
文件名:ACC1-2-1.C
功能描述:定时100ms采样,采样结果直接送D/A输出
*****************************************/
#include
#include
/***********************
www.eeworm.com/read/343135/11970445
c text1.c
#include #include
sbit p=P0^1;
void main ()
{
TMOD= 0x01;
TR0=1;
ET0=1;
EA=1;
// p=P0;
while(1)
{}
}
time
www.eeworm.com/read/342823/11997896
plg timer0.plg
礦ision2 Build Log
Project:
E:\编程实例\编程实例\中断\TIMER0\C语言\TIMER0.uv2
Project File Date: 02/14/2008
Output:
Build target 'Target 1'
compiling DLED
www.eeworm.com/read/153625/12018509
asm exec066.asm
ORG 0000H
AJMP START
ORG 000BH
AJMP TIMER0 ;定时器0的中断处理
ORG 30H
START:
MOV SP,#5FH
MOV TMOD,#00000101B ;定时/计数器1作计数用,模式1,0不用全置0
MOV TH0,#0FFH
MOV TL0,#0FAH ;预置值,要求每计到6个脉冲即为一个事件
SETB EA
S
www.eeworm.com/read/338144/12322887
c ad0809.c
#include
void timer0(void) interrupt 1 using 1
{
TH0=0;
TL0=0;
READAD=~READAD;
}
main()
{
TMOD=0x01;
ET0=1;
TR0=1;
EA=1;
TH0=0;
TL0=0;
while(1)
{if(READA
www.eeworm.com/read/149234/12393292
asm exec066.asm
ORG 0000H
AJMP START
ORG 000BH
AJMP TIMER0 ;定时器0的中断处理
ORG 30H
START:
MOV SP,#5FH
MOV TMOD,#00000101B ;定时/计数器1作计数用,模式1,0不用全置0
MOV TH0,#0FFH
MOV TL0,#0FAH ;预置值,要求每计到6个脉冲即为一个事件
SETB EA
S
www.eeworm.com/read/250618/12396388
c time.c
/******************************************************************************/
/* This file is part of the uVision/ARM development tools */
/* Copyright KEIL ELEKTRONIK GmbH 2
www.eeworm.com/read/148547/12460827
c time.c
/******************************************************************************/
/* This file is part of the uVision/ARM development tools */
/* Copyright KEIL ELEKTRONIK GmbH 2
www.eeworm.com/read/131525/14140852
asm exec066.asm
ORG 0000H
AJMP START
ORG 000BH
AJMP TIMER0 ;定时器0的中断处理
ORG 30H
START:
MOV SP,#5FH
MOV TMOD,#00000101B ;定时/计数器1作计数用,模式1,0不用全置0
MOV TH0,#0FFH
MOV TL0,#0FAH ;预置值,要求每计到6个脉冲即为一个事件
SETB EA
S
www.eeworm.com/read/128591/14289908
asm exec066.asm
ORG 0000H
AJMP START
ORG 000BH
AJMP TIMER0 ;定时器0的中断处理
ORG 30H
START:
MOV SP,#5FH
MOV TMOD,#00000101B ;定时/计数器1作计数用,模式1,0不用全置0
MOV TH0,#0FFH
MOV TL0,#0FAH ;预置值,要求每计到6个脉冲即为一个事件
SETB EA
S