代码搜索结果
找到约 10,000 项符合
RTC 的代码
rtc.lst
__text_start:
__start:
005A E5CF LDI R28,0x5F
005B E0D4 LDI R29,4
005C BFCD OUT P3D,R28
005D BFDE OUT P3E,R29
005E 51C0 SUBI R28,0x10
005F 40D0
rtc.s
.module RTC.C
.area text(rom, con, rel)
.dbfile C:/icc/include/AVR_PQ1A.h
.dbfunc e Delayus _Delayus fV
; i -> R20,R21
; US -> R22,R23
.even
_Delayus::
xcall pus
rtc.h
#ifndef __RTC_H__
#define __RTC_H__
typedef struct{
unsigned short year;
unsigned char month;
unsigned char day;
unsigned char weekday;
unsigned char hour;
unsigned char min;
unsigne
rtc.c
#include "../inc/44b.h"
#include "../inc/rtc.h"
#define RTC_RW_EN() rRTCCON = 1 //|= 1
#define RTC_RW_DS() rRTCCON &= 0xfe
extern int MCLK;
void RtcSetDay(TIME_STRUC *time)
{
RTC_R
rtc.h
#ifndef __RTC_H__
#define __RTC_H__
int Test_Rtc_Alarm(void);
void Test_Rtc_Tick(void);
void Display_Rtc(void);
void Rtc_Init(void);
#define TESTYEAR (0x99)
#define TESTMONTH (0x12)
#d
rtc.c
#include "..\inc\44b.h"
#include "..\inc\44blib.h"
#include "..\inc\rtc.h"
void __irq Rtc_Tick(void);
char *date[8] = {"","SUN","MON","TUE","WED","THU","FRI","SAT"};
volatile unsigned int sec_t
rtc.h
//====================================================================
// File Name : RTC.h
// Function : S3C2440 RTC Head file
// Program :
// Date : May 06, 2002
// Version : 0.1
//
rtc.c
//====================================================================
// File Name : RTC.c
// Function : S3C2440 RTC Head file
// Program :
// Date : May 06, 2002
// Version : 0.1
//