代码搜索结果
找到约 7,852 项符合
RTC 的代码
rtc.h
/* rtc not implemented yet */
extern int cma_rtc_not_implemented;
rtc.d
..\out\rtc.o: ..\source\Driver\RTC\RTC.c
..\out\rtc.o: ..\source\Driver\RTC\RTC.h
..\out\rtc.o: d:\Keil\ARM\RV31\INC\stdlib.h
..\out\rtc.o: d:\Keil\ARM\RV31\INC\string.h
..\out\rtc.o: d:\Keil\ARM\
rtc.c
#include "RTC.h"
void RTC_Init()
{
RTCCON = 0;
}
void RTC_Get(TIME_T * pstTime)
{
pstTime->nYear = RTC_BCD2INT(BCDYEAR) + 2000;
pstTime->nMon = RTC_BCD2INT(BCDMON);
pstTime->nDay =
rtc.aps
rtc10-Mar-2013 19:29:4510-Mar-2013 20:09:50241010-Mar-2013 19
rtc.lss
rtc.elf: file format elf32-avr
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00000ad0 00000000 00000000 00000094 2**0
CON
rtc.c
#include "sys.h"
#include "rtc.h"
#include "delay.h"
#include "usart.h"
//////////////////////////////////////////////////////////////////////////////////
//本程序只供学习使用,未经作者许可,不得用于其它任何用途
//Min
rtc.h
#ifndef __RTC_H
#define __RTC_H
//////////////////////////////////////////////////////////////////////////////////
//本程序只供学习使用,未经作者许可,不得用于其它任何用途
//Mini STM32开发板
//RTC实时时钟 驱动代码
//正点原子
rtc.d
rtc.o: ..\HARDWARE\RTC\rtc.c
rtc.o: ..\SYSTEM\sys\sys.h
rtc.o: D:\文件安装\mdk\ARM\INC\ST\STM32F10x\stm32f10x_lib.h
rtc.o: D:\文件安装\mdk\ARM\INC\ST\STM32F10x\stm32f10x_map.h
rtc.o: D:\文件安装\mdk\ARM\INC\S
rtc.c
#include "sys.h"
#include "rtc.h"
#include "delay.h"
#include "usart.h"
tm timer;//时钟结构体
tm1 timer1;
//实时时钟配置
//初始化RTC时钟,同时检测时钟是否工作正常
//BKP->DR1用于保存是否第一次配置的设置
//返回0:正常
//其他:错误代码