代码搜索:RTC源码
找到约 10,000 项符合「RTC源码」的源代码
代码结果 10,000
www.eeworm.com/read/128531/5987643
c i2c.c
/*
* linux/drivers/acorn/char/i2c.c
*
* Copyright (C) 2000 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public
www.eeworm.com/read/102935/6228947
c i2c.c
/*
* linux/drivers/acorn/char/i2c.c
*
* Copyright (C) 2000 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public
www.eeworm.com/read/486022/6541720
_c ds1302._c
#include //包含型号头文件
#include //包含"位"操作头文件
#define uchar unsigned char
#define uint unsigned int
//#define TRUE 1
//#define FALSE 0
#include "1602B_LCD.C" //包含1602液晶函
www.eeworm.com/read/486022/6541726
c ds1302.c
/*****************************************/
/* DS1302 实用时钟程序LCD1602版 */
/* 实验环境:见所附开发板原理图 */
/* 时钟频率:内部 11.05920Mhz */
/* 编译系统:ICCAVR6.31A */
/* 单 位:华北电力大学(保定)电子系 */
/* 日 期:2009
www.eeworm.com/read/485595/6554103
_c ds1302._c
#include //包含型号头文件
#include //包含"位"操作头文件
#define uchar unsigned char
#define uint unsigned int
#define TRUE 1
#define FALSE 0
#include "YJ1602.C" //包含1602液晶函数文件
www.eeworm.com/read/485595/6554109
c ds1302.c
#include //包含型号头文件
#include //包含"位"操作头文件
#define uchar unsigned char
#define uint unsigned int
#define TRUE 1
#define FALSE 0
#include "YJ1602.C" //包含1602液晶函数文件
www.eeworm.com/read/409247/11339656
txt readme.txt
这个例子是用来控制rtc的工作的例程。
使用时,按以下步骤进行:
1、将SEED-DSK5509 J1连接器与仿真器的插头相连接;
2、上电;
3、打开CCS;
4、装入目录下的C5509.gel;
5、装入gpio.pjt;
程序的主要内容是:
1、初始化RTC。
2、配置RTC中断向量,提示用户RTC的状态。
www.eeworm.com/read/409082/11358818
h iic.h
#ifndef _IIC_H_
#define _IIC_H_
#define RTC_SCL PE4//时钟
#define RTC_SDA PE5//时钟数据
#define PCF865_R_ADDR 0xA3
#define PCF865_W_ADDR 0xA2
//#define SCL(En) (En)?(PORTE |=BIT(RTC_SCL)
www.eeworm.com/read/346789/11721892
h ds1307.h
#ifndef __INCDS1307H
#define __INCDS1307H
#define RTCWRITEADDRESS 0xd0
#define RTCREADADDRESS 0xd1
#define RTC_SECOND 0x00
#define RTC_MINUTE 0x01
#define RTC_HOUR 0x02
www.eeworm.com/read/256858/11968023
c funcs.c
#ifndef OS_MASTER_FILE
#include "includes.h"
#include "AVR_PQ1A.h"
#endif
#pragma data:code
const SEGMENT[16]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d, 0x07,
0x7f,0x6f,0x77,0x7c,0x39,0x5e,