代码搜索:Timer0
找到约 1,870 项符合「Timer0」的源代码
代码结果 1,870
www.eeworm.com/read/193042/8256711
c util.c
/*= util.c =========================================================================================
*
* Copyright (C) 2004 Nordic Semiconductor
*
* This file is distributed in the hope that i
www.eeworm.com/read/193042/8256717
lst util.lst
C51 COMPILER V7.50 UTIL 05/14/2006 13:37:19 PAGE 1
C51 COMPILER V7.50, COMPILATION OF MODULE UTIL
OBJECT MODULE PLACED IN ut
www.eeworm.com/read/292691/8341009
c int2ms.c
/*fosc=12MHz,要求P1.0输出T=2ms的方波.*/
/*使用中断方式*/
#include
sbit p2_0=P2^0;
timer0() interrupt 1 using 1
{p2_0=!p2_0;
TH0=0xff;TL0=0xce;
}
main()
{TMOD=0X01;
P1=0x00;
P2=0x00;
P0=0x00;
www.eeworm.com/read/171154/9768770
c com.c
main()
{ //初始化
TMOD= 0x20;
TL1=0xfd; //设定波特率为9600bit
THL=0xfd;
PCON=0x80;
TCON=0x00;
SMOD=0x00;
SCON=0xF0;
TRL=1;
REN=1;
ES=1;
EA=1;
P27=1; ///处于接收状态
}
{ SCON=0x50;
TMOD=0x2
www.eeworm.com/read/146351/12657407
c 1574timer.c
#include "..\inc\public2.h"
int T0_0Interval;
BYTE T0_0Service; //Timer 0 service Var.
/**--------------------------------------------------------------------------
* Name void
www.eeworm.com/read/238210/13902515
c 定时器中断.c
#include
#define uchar unsigned char
uchar i=50,num=0;
void main()
{TMOD=0x01; EA=1; ET0=1; TR0=1;
while(1) {P1=~num;}}
void Timer0() interrupt 1 using 1
{ TH0=0xb1; TL0=0xe0;
www.eeworm.com/read/236367/14018472
c kanmen.c
// 3. AT89C2051和X25045的初始化程序:
#include /* special function register declarations */
/* for the intended AT89C2051 derivative */
#include /* prototype declaration
www.eeworm.com/read/202329/15386216
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/200477/15432350
c util.c
/*= util.c =========================================================================================
*
* Copyright (C) 2004 Nordic Semiconductor
*
* This file is distributed in the hope that i
www.eeworm.com/read/200477/15432351
lst util.lst
C51 COMPILER V7.08 UTIL 01/05/2006 16:42:03 PAGE 1
C51 COMPILER V7.08, COMPILATION OF MODULE UTIL
OBJECT MODULE PLACED IN ut