代码搜索结果
找到约 10,000 项符合
Clock 的代码
clock.asm
XC BIT 00H ;调时标志位
XT BIT 01H ;测温标志位
XS BIT 02H ;闪烁标志位
XU BIT 03H
XD BIT 04H
FLAG1 BIT 06H ;是否检测到DS18B20标志位
DIS EQU 30H ;显示缓冲
MSEC EQU 39H ;计时缓冲区
SEC EQU 3AH
MIN EQU 3BH
HOUR EQU 3C
clock.c
/*------------------------------------------------------*
* A real time clock using AT89C4051 *
* This c file is created using Keil C compiler *
* *
* Designed By:
clock.hex
:100652002A53756E2A002A4D6F6E2A002A54756538
:100662002A002A5765642A002A5468752A002A46F5
:1006720072692A002A5361742A0030003100320064
:10068200330034003500360037003800390031308D
:1006920000313100313
clock.c
#include
#define uint unsigned int
#define uchar unsigned char
uchar code xuanduan[]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f};
int num50ms,seconds,minutes,hours,secondsge,s
clock.v
`define TIME_LIMIT 110000
module c1(clk);
output clk;
reg clk;
always
begin
if ($ time == 0)
begin
clk = 0;
end
clock.h
#ifndef _REAL_TIMER_DS1302
#define _REAL_TIMER_DS1302
/*****************************预定义**************************************/
#define uchar unsigned char
#define uint unsigned int/***************