代码搜索结果
找到约 10,000 项符合
RTC 的代码
rtc.h
#ifndef __RTC_H__
#define __RTC_H__
#include "..\inc\def.h"
#define RTC_SECOND_CHANGE 1
#define RTC_MINUTE_CHANGE 2
#define RTC_HOUR_CHANGE 3
#define RTC_DAY_CHANGE 4
#define RTC_MONTH_CHANGE
rtc.h
#ifndef RTC_H
#define RTC_H
typedef struct
{
int year;
int month;
int day;
int weekday;
int hour;
int min;
int sec;
}TIME;
void resetRTC(void);
void readRTC(TIME* ptim
rtc.c
/*************************************************************************/
/* */
/* Copyright Shenzhen Watertek S
rtc.h
#ifndef RTC_H
#define RTC_H
typedef struct
{
int year;
int month;
int day;
int weekday;
int hour;
int min;
int sec;
}TIME;
void resetRTC(void);
void readRTC(TIME* ptim
rtc.c
/*************************************************************************/
/* */
/* Copyright Shenzhen Watertek S
rtc.h
#ifndef RTC_H
#define RTC_H
typedef struct
{
int year;
int month;
int day;
int weekday;
int hour;
int min;
int sec;
}TIME;
void resetRTC(void);
void readRTC(TIME* ptim
rtc.c
/*************************************************************************/
/* */
/* Copyright Shenzhen Watertek S
rtc.h
#ifndef RTC_H
#define RTC_H
typedef struct
{
int year;
int month;
int day;
int weekday;
int hour;
int min;
int sec;
}TIME;
void resetRTC(void);
void readRTC(TIME* ptim
rtc.c
/*************************************************************************/
/* */
/* Copyright Shenzhen Watertek S
rtc.h
#ifndef RTC_H
#define RTC_H
typedef struct
{
int year;
int month;
int day;
int weekday;
int hour;
int min;
int sec;
}TIME;
void resetRTC(void);
void readRTC(TIME* ptim