代码搜索:定时报警
找到约 10,000 项符合「定时报警」的源代码
代码结果 10,000
www.eeworm.com/read/338196/12320004
c ccu.c
//ccu定时中断和A捕获中断
#include
#include "ccu2.h"
/*
void ccu_int(void) interrupt 11
{ char t2;
t2=TISE2&0x07;
if(t2==7)
{ TIFR2&=0x7f;
time1++;
}
if(t2==6
www.eeworm.com/read/338193/12320126
c ccu.c
//ccu定时中断和A捕获中断
#include
#include "ccu2.h"
/*
void ccu_int(void) interrupt 11
{ char t2;
t2=TISE2&0x07;
if(t2==7)
{ TIFR2&=0x7f;
time1++;
}
if(t2==6
www.eeworm.com/read/149234/12393299
asm exec065.asm
ORG 0000H
AJMP START
ORG 30H
START:
MOV SP,#5FH
MOV TMOD,#00000110B ;定时/计数器1作计数用,0不用全置0
SETB TR0 ;启动计数器1开始运行.
LOOP:
MOV A,TL0
CPL A
MOV P1,A
AJMP LOOP
www.eeworm.com/read/250507/12401474
h delay_1vs.h
//1微秒定时
//#include
//#include
#define LOAD_HIGH 0xff
#define LOAD_LOW 0xff
void delay_1vs()
{
unsigned char second_count=1;
TMOD=0x01;
TH0=0xff;
TL0=0xff;
TF0=
www.eeworm.com/read/234761/14097981
c ad2.c
#include
#include
#define uchar unsigned char
#define IN0 XBYTE[0x7ff8] //设置通道0地址
sbit ad_busy=P3^3; //判断EOC的状态
void ad0809()
{
EA=1; // 开定时器0
ET0=1;
TR0=
www.eeworm.com/read/234761/14098041
c ad2.c
#include
#include
#define uchar unsigned char
#define IN0 XBYTE[0x7ff8] //设置通道0地址
sbit ad_busy=P3^3; //判断EOC的状态
void ad0809()
{
EA=1; // 开定时器0
ET0=1;
TR0=
www.eeworm.com/read/233879/14129883
asm interrupt.asm
SECOND EQU 30H
COUNT EQU 31H
ORG 00H
LJMP START
ORG 0BH ;定时器0中断入口
LJMP INT_T0
START: MOV SECOND,#00H
MOV COUNT,#00H
MOV DPTR,#TABLE ;段码表首地址
MOV P0,#3FH
www.eeworm.com/read/131525/14140858
asm exec065.asm
ORG 0000H
AJMP START
ORG 30H
START:
MOV SP,#5FH
MOV TMOD,#00000110B ;定时/计数器1作计数用,0不用全置0
SETB TR0 ;启动计数器1开始运行.
LOOP:
MOV A,TL0
CPL A
MOV P1,A
AJMP LOOP
www.eeworm.com/read/128591/14289911
asm exec065.asm
ORG 0000H
AJMP START
ORG 30H
START:
MOV SP,#5FH
MOV TMOD,#00000110B ;定时/计数器1作计数用,0不用全置0
SETB TR0 ;启动计数器1开始运行.
LOOP:
MOV A,TL0
CPL A
MOV P1,A
AJMP LOOP
www.eeworm.com/read/127696/14340043
c sh103.c
#include
#include
#define unit unsigned int
#define uchar unsigned char
sbit L0=P2^0;
sbit L1=P2^1;
sbit L2=P2^2;
sbit L3=P2^3;
uchar data BUFFER[1]={0}; /*定时器计数变量*