代码搜索结果
找到约 10,000 项符合
RTC 的代码
rtc.h
#ifndef __RTC_H__
#define __RTC_H__
int Test_Rtc_Alarm(void);
void Test_Rtc_Tick(void);
void display_rtc(void);
void DisplayRtc(void);
void Rtc_Init(void);
#define TESTYEAR (0x99)
#define
rtc.h
//-------------------------------------------------------------------------*
// 文件名: RTC.h (实时时钟构件头文件) *
//------------------------------------------------------
rtc.c
//[RTC.c]实时时钟文件------------------------------------------------------*
//本文件包含: *
// (1)RTCInit:RTC初始化
rtc.asm
chip sn8p26l38
//{{SONIX_CODE_OPTION
.Code_Option LVD LVD_L ; 1.8V Reset
.Code_Option Reset_Pin P02
.Code_Option Watch_Dog Disable
.Code_Option High_Clk 4M_X'tal ; Crystal/Resonator: 2Mhz~8
rtc.c
#include
unsigned int RTC_buf;
void main (void)
{
FT0ENB=0;
FT0TB=1;
//T0RATE is not available in RTC mode.
//The T0 interval time is fixed at 0.5
rtc.c
/*******************************************
文件:RTC.C
环境:编译为ICC AVR6.25A,仿真为AVR Studio4.10
硬件:ATMEGA16芯片
日期:2006年12月10日
功能:驱动开发板上的DS1302时钟芯片
备注:参考《AVR系列单片机C语言编程与应用实例》(清华大学出版社)
/**
rtc._c
/*******************************************
文件:RTC.C
环境:编译为ICC AVR6.25A,仿真为AVR Studio4.10
硬件:ATMEGA16芯片
日期:2006年12月10日
功能:驱动开发板上的DS1302时钟芯片
备注:参考《AVR系列单片机C语言编程与应用实例》(清华大学出版社)
/**
rtc.c
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you lic