代码搜索结果
找到约 10,000 项符合
RTC 的代码
rtc.c
/*******************************************************************************
* 标题: 蓝海微芯LJD-SY-5200单片机开发系统演示程序 *
* 文件: RTC.C
rtc.h
#include "types_io.h"
#include "i2c.h"
#ifndef _RTC_H
#define _RTC_H
//#define TO_DEBUG_CUR_TIME /* print time and date to terminal */
/*************************************************
rtc.c
#include "RTC.h"
volatile UINT currentYear;
volatile UINT currentMonth;
volatile UINT currentDay;
volatile UINT currentHour;
volatile UINT currentMinute;
volatile UINT currentSecond;
void
rtc.c
//====================================================================
// File Name : RTC.c
// Function : S3C24X0 RTC Test
// Program : Kang, Weon Tark
// Date : May 22, 2002
// Version
rtc.c
//====================================================================
// File Name : RTC.c
// Function : S3C24X0 RTC Test
// Program : Kang, Weon Tark
// Date : May 22, 2002
// Version
rtc.c
//====================================================================
// File Name : RTC.c
// Function : S3C24X0 RTC Test
// Program : Kang, Weon Tark
// Date : May 22, 2002
// Version
rtc.h
#ifndef __RTC_H__
#define __RTC_H__
#include "uTypes.h"
typedef struct tagTIME{
U16 wYear;
U8 byMonth;
U8 byDay;
U8 byWeekday;
U8 byHour;
U8 byMin;
U8 bySec;
}TIME, *
rtc.c
#include "../inc/44b0x.h"
#include "../inc/console.h"
#include "../inc/rtc.h"
/*********************************************************/
#define RTC_YEAR0 (0x03) //年
#define RTC_MONTH0 (0x0