代码搜索结果
找到约 10,000 项符合
RTC 的代码
rtc.c
#include "def.h"
#include "2410addr.h"
#include "rtcapi.h"
#include "2410lib.h"
#define TotSecPerDay 86400
#define TotDaysPerYear 365
#define TotDaysPer4Year 1461
#define TotDaysPer100Year
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.c
#include
#include
#include
#define DRV_VERSION "0.4.2"
/* Addresses to scan: none
+ * This chip cannot be reliably autodetected. An empty eeprom
+ *
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
//
rtc.h
//
//Atmel AVR Design Contest 2006 Registration Number AT3221
//
//*****************************************************************************
//
// File........: RTC.h
//
// Author(s)...: ATMEL
rtc.c
//
//Atmel AVR Design Contest 2006 Registration Number AT3221
//
//*****************************************************************************
//
// File........: RTC.c
//
// Author(s)...: ATMEL