htujun
3 years ago
commit
4994e0b130
30 changed files with 8692 additions and 0 deletions
@ -0,0 +1,36 @@
@@ -0,0 +1,36 @@
|
||||
{ |
||||
"configurations": [ |
||||
{ |
||||
"name": "Target 1", |
||||
"includePath": [ |
||||
"e:\\项目\\兼职项目\\20220428-IntelligentLighting" |
||||
], |
||||
"defines": [ |
||||
"__C51__", |
||||
"__VSCODE_C51__", |
||||
"reentrant=", |
||||
"compact=", |
||||
"small=", |
||||
"large=", |
||||
"data=", |
||||
"idata=", |
||||
"pdata=", |
||||
"bdata=", |
||||
"xdata=", |
||||
"code=", |
||||
"bit=char", |
||||
"sbit=char", |
||||
"sfr=char", |
||||
"sfr16=int", |
||||
"sfr32=int", |
||||
"interrupt=", |
||||
"using=", |
||||
"_at_=", |
||||
"_priority_=", |
||||
"_task_=" |
||||
], |
||||
"intelliSenseMode": "${default}" |
||||
} |
||||
], |
||||
"version": 4 |
||||
} |
@ -0,0 +1,2 @@
@@ -0,0 +1,2 @@
|
||||
[info] Log at : 2022/4/29|01:03:00|GMT+0800 |
||||
|
Binary file not shown.
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
"ds1302.c" OPTIMIZE (8,SPEED) BROWSE DEBUG OBJECTEXTEND TABS (2) |
@ -0,0 +1,110 @@
@@ -0,0 +1,110 @@
|
||||
#include"ds1302.h" |
||||
|
||||
//---DS1302写入和读取时分秒的地址命令---//
|
||||
//---秒分时日月周年 最低位读写位;-------//
|
||||
uchar code READ_RTC_ADDR[7] = {0x81, 0x83, 0x85, 0x87, 0x89, 0x8b, 0x8d};
|
||||
uchar code WRITE_RTC_ADDR[7] = {0x80, 0x82, 0x84, 0x86, 0x88, 0x8a, 0x8c}; |
||||
|
||||
//---DS1302时钟初始化2013年1月1日星期二12点00分00秒。---//
|
||||
//---存储顺序是秒分时日月周年,存储格式是用BCD码---//
|
||||
|
||||
uchar TIME[7] = {0X00, 0X01, 0x23, 0x28, 0x04, 0x04, 0x22}; |
||||
|
||||
|
||||
void Ds1302Write(uchar addr, uchar dat) |
||||
{ |
||||
uchar n; |
||||
RST = 0; |
||||
_nop_(); |
||||
|
||||
SCLK = 0;//先将SCLK置低电平。
|
||||
_nop_(); |
||||
RST = 1; //然后将RST(CE)置高电平。
|
||||
_nop_(); |
||||
|
||||
for (n=0; n<8; n++)//开始传送八位地址命令
|
||||
{ |
||||
DSIO = addr & 0x01;//数据从低位开始传送
|
||||
addr >>= 1; |
||||
SCLK = 1;//数据在上升沿时,DS1302读取数据
|
||||
_nop_(); |
||||
SCLK = 0; |
||||
_nop_(); |
||||
} |
||||
for (n=0; n<8; n++)//写入8位数据
|
||||
{ |
||||
DSIO = dat & 0x01; |
||||
dat >>= 1; |
||||
SCLK = 1;//数据在上升沿时,DS1302读取数据
|
||||
_nop_(); |
||||
SCLK = 0; |
||||
_nop_();
|
||||
}
|
||||
|
||||
RST = 0;//传送数据结束
|
||||
_nop_(); |
||||
} |
||||
|
||||
uchar Ds1302Read(uchar addr) |
||||
{ |
||||
uchar n,dat,dat1; |
||||
RST = 0; |
||||
_nop_(); |
||||
|
||||
SCLK = 0;//先将SCLK置低电平。
|
||||
_nop_(); |
||||
RST = 1;//然后将RST(CE)置高电平。
|
||||
_nop_(); |
||||
|
||||
for(n=0; n<8; n++)//开始传送八位地址命令
|
||||
{ |
||||
DSIO = addr & 0x01;//数据从低位开始传送
|
||||
addr >>= 1; |
||||
SCLK = 1;//数据在上升沿时,DS1302读取数据
|
||||
_nop_(); |
||||
SCLK = 0;//DS1302下降沿时,放置数据
|
||||
_nop_(); |
||||
} |
||||
_nop_(); |
||||
for(n=0; n<8; n++)//读取8位数据
|
||||
{ |
||||
dat1 = DSIO;//从最低位开始接收
|
||||
dat = (dat>>1) | (dat1<<7); |
||||
SCLK = 1; |
||||
_nop_(); |
||||
SCLK = 0;//DS1302下降沿时,放置数据
|
||||
_nop_(); |
||||
} |
||||
|
||||
RST = 0; |
||||
_nop_(); //以下为DS1302复位的稳定时间,必须的。
|
||||
SCLK = 1; |
||||
_nop_(); |
||||
DSIO = 0; |
||||
_nop_(); |
||||
DSIO = 1; |
||||
_nop_(); |
||||
return dat;
|
||||
} |
||||
|
||||
void Ds1302Init() |
||||
{ |
||||
uchar n; |
||||
Ds1302Write(0x8E,0X00); //禁止写保护,就是关闭写保护功能
|
||||
for (n=0; n<7; n++)//写入7个字节的时钟信号:分秒时日月周年
|
||||
{ |
||||
Ds1302Write(WRITE_RTC_ADDR[n],TIME[n]);
|
||||
} |
||||
Ds1302Write(0x8E,0x80); //打开写保护功能
|
||||
} |
||||
|
||||
void Ds1302ReadTime() |
||||
{ |
||||
uchar n; |
||||
for (n=0; n<7; n++)//读取7个字节的时钟信号:分秒时日月周年
|
||||
{ |
||||
TIME[n] = Ds1302Read(READ_RTC_ADDR[n]); |
||||
} |
||||
} |
||||
|
||||
|
@ -0,0 +1,31 @@
@@ -0,0 +1,31 @@
|
||||
#ifndef __DS1302_H_ |
||||
#define __DS1302_H_ |
||||
|
||||
//---包含头文件---//
|
||||
#include<reg51.h> |
||||
#include<intrins.h> |
||||
|
||||
//---重定义关键词---//
|
||||
#ifndef uchar |
||||
#define uchar unsigned char |
||||
#endif |
||||
|
||||
#ifndef uint |
||||
#define uint unsigned int |
||||
#endif |
||||
|
||||
//---定义ds1302使用的IO口---//
|
||||
sbit DSIO=P3^4; |
||||
sbit RST=P3^3; |
||||
sbit SCLK=P3^5; |
||||
|
||||
//---定义全局函数---//
|
||||
void Ds1302Write(uchar addr, uchar dat); |
||||
uchar Ds1302Read(uchar addr); |
||||
void Ds1302Init(); |
||||
void Ds1302ReadTime(); |
||||
|
||||
//---加入全局变量--//
|
||||
extern uchar TIME[7]; //加入全局变量
|
||||
|
||||
#endif |
Binary file not shown.
@ -0,0 +1,152 @@
@@ -0,0 +1,152 @@
|
||||
#include"i2c.h" |
||||
|
||||
/*******************************************************************************
|
||||
* 函数名 : Delay10us() |
||||
* 函数功能 : 延时10us |
||||
* 输入 : 无 |
||||
* 输出 : 无 |
||||
*******************************************************************************/ |
||||
|
||||
void Delay10us() |
||||
{ |
||||
unsigned char a,b; |
||||
for(b=1;b>0;b--) |
||||
for(a=2;a>0;a--); |
||||
|
||||
} |
||||
/*******************************************************************************
|
||||
* 函数名 : I2cStart() |
||||
* 函数功能 : 起始信号:在SCL时钟信号在高电平期间SDA信号产生一个下降沿 |
||||
* 输入 : 无 |
||||
* 输出 : 无 |
||||
* 备注 : 起始之后SDA和SCL都为0 |
||||
*******************************************************************************/ |
||||
|
||||
void I2cStart() |
||||
{ |
||||
SDA=1; |
||||
Delay10us(); |
||||
SCL=1; |
||||
Delay10us();//建立时间是SDA保持时间>4.7us
|
||||
SDA=0; |
||||
Delay10us();//保持时间是>4us
|
||||
SCL=0;
|
||||
Delay10us();
|
||||
} |
||||
/*******************************************************************************
|
||||
* 函数名 : I2cStop() |
||||
* 函数功能 : 终止信号:在SCL时钟信号高电平期间SDA信号产生一个上升沿 |
||||
* 输入 : 无 |
||||
* 输出 : 无 |
||||
* 备注 : 结束之后保持SDA和SCL都为1;表示总线空闲 |
||||
*******************************************************************************/ |
||||
|
||||
void I2cStop() |
||||
{ |
||||
SDA=0; |
||||
Delay10us(); |
||||
SCL=1; |
||||
Delay10us();//建立时间大于4.7us
|
||||
SDA=1; |
||||
Delay10us();
|
||||
} |
||||
/*******************************************************************************
|
||||
* 函数名 : I2cSendByte(unsigned char dat) |
||||
* 函数功能 : 通过I2C发送一个字节。在SCL时钟信号高电平期间,保持发送信号SDA保持稳定 |
||||
* 输入 : num |
||||
* 输出 : 0或1。发送成功返回1,发送失败返回0 |
||||
* 备注 : 发送完一个字节SCL=0,SDA=1 |
||||
*******************************************************************************/ |
||||
|
||||
unsigned char I2cSendByte(unsigned char dat) |
||||
{ |
||||
unsigned char a=0,b=0;//最大255,一个机器周期为1us,最大延时255us。
|
||||
for(a=0;a<8;a++)//要发送8位,从最高位开始
|
||||
{ |
||||
SDA=dat>>7; //起始信号之后SCL=0,所以可以直接改变SDA信号
|
||||
dat=dat<<1; |
||||
Delay10us(); |
||||
SCL=1; |
||||
Delay10us();//建立时间>4.7us
|
||||
SCL=0; |
||||
Delay10us();//时间大于4us
|
||||
} |
||||
SDA=1; |
||||
Delay10us(); |
||||
SCL=1; |
||||
while(SDA)//等待应答,也就是等待从设备把SDA拉低
|
||||
{ |
||||
b++; |
||||
if(b>200) //如果超过2000us没有应答发送失败,或者为非应答,表示接收结束
|
||||
{ |
||||
SCL=0; |
||||
Delay10us(); |
||||
return 0; |
||||
} |
||||
} |
||||
SCL=0; |
||||
Delay10us(); |
||||
return 1;
|
||||
} |
||||
/*******************************************************************************
|
||||
* 函数名 : I2cReadByte() |
||||
* 函数功能 : 使用I2c读取一个字节 |
||||
* 输入 : 无 |
||||
* 输出 : dat |
||||
* 备注 : 接收完一个字节SCL=0,SDA=1. |
||||
*******************************************************************************/ |
||||
|
||||
unsigned char I2cReadByte() |
||||
{ |
||||
unsigned char a=0,dat=0; |
||||
SDA=1; //起始和发送一个字节之后SCL都是0
|
||||
Delay10us(); |
||||
for(a=0;a<8;a++)//接收8个字节
|
||||
{ |
||||
SCL=1; |
||||
Delay10us(); |
||||
dat<<=1; |
||||
dat|=SDA; |
||||
Delay10us(); |
||||
SCL=0; |
||||
Delay10us(); |
||||
} |
||||
return dat;
|
||||
} |
||||
|
||||
|
||||
/*******************************************************************************
|
||||
* 函数名 : void At24c02Write(unsigned char addr,unsigned char dat) |
||||
* 函数功能 : 往24c02的一个地址写入一个数据 |
||||
* 输入 : 无 |
||||
* 输出 : 无 |
||||
*******************************************************************************/ |
||||
|
||||
void At24c02Write(unsigned char addr,unsigned char dat) |
||||
{ |
||||
I2cStart(); |
||||
I2cSendByte(0xa0);//发送写器件地址
|
||||
I2cSendByte(addr);//发送要写入内存地址
|
||||
I2cSendByte(dat); //发送数据
|
||||
I2cStop(); |
||||
} |
||||
/*******************************************************************************
|
||||
* 函数名 : unsigned char At24c02Read(unsigned char addr) |
||||
* 函数功能 : 读取24c02的一个地址的一个数据 |
||||
* 输入 : 无 |
||||
* 输出 : 无 |
||||
*******************************************************************************/ |
||||
|
||||
unsigned char At24c02Read(unsigned char addr) |
||||
{ |
||||
unsigned char num; |
||||
I2cStart(); |
||||
I2cSendByte(0xa0); //发送写器件地址
|
||||
I2cSendByte(addr); //发送要读取的地址
|
||||
I2cStart(); |
||||
I2cSendByte(0xa1); //发送读器件地址
|
||||
num=I2cReadByte(); //读取数据
|
||||
I2cStop(); |
||||
return num;
|
||||
} |
||||
|
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
#ifndef __I2C_H_ |
||||
#define __I2C_H_ |
||||
|
||||
#include <reg51.h> |
||||
|
||||
sbit SCL=P2^1; |
||||
sbit SDA=P2^0; |
||||
|
||||
void I2cStart(); |
||||
void I2cStop(); |
||||
unsigned char I2cSendByte(unsigned char dat); |
||||
unsigned char I2cReadByte(); |
||||
void At24c02Write(unsigned char addr,unsigned char dat); |
||||
unsigned char At24c02Read(unsigned char addr); |
||||
|
||||
#endif |
Binary file not shown.
@ -0,0 +1,134 @@
@@ -0,0 +1,134 @@
|
||||
#include"lcd.h" |
||||
|
||||
/*******************************************************************************
|
||||
* 函 数 名 : Lcd1602_Delay1ms |
||||
* 函数功能 : 延时函数,延时1ms |
||||
* 输 入 : c |
||||
* 输 出 : 无 |
||||
* 说 名 : 该函数是在12MHZ晶振下,12分频单片机的延时。 |
||||
*******************************************************************************/ |
||||
|
||||
void Lcd1602_Delay1ms(uint c) //误差 0us
|
||||
{ |
||||
uchar a,b; |
||||
for (; c>0; c--) |
||||
{ |
||||
for (b=199;b>0;b--) |
||||
{ |
||||
for(a=1;a>0;a--); |
||||
}
|
||||
} |
||||
|
||||
} |
||||
|
||||
/*******************************************************************************
|
||||
* 函 数 名 : LcdWriteCom |
||||
* 函数功能 : 向LCD写入一个字节的命令 |
||||
* 输 入 : com |
||||
* 输 出 : 无 |
||||
*******************************************************************************/ |
||||
#ifndef LCD1602_4PINS //当没有定义这个LCD1602_4PINS时
|
||||
void LcdWriteCom(uchar com) //写入命令
|
||||
{ |
||||
LCD1602_E = 0; //使能
|
||||
LCD1602_RS = 0; //选择发送命令
|
||||
LCD1602_RW = 0; //选择写入
|
||||
|
||||
LCD1602_DATAPINS = com; //放入命令
|
||||
Lcd1602_Delay1ms(1); //等待数据稳定
|
||||
|
||||
LCD1602_E = 1; //写入时序
|
||||
Lcd1602_Delay1ms(5); //保持时间
|
||||
LCD1602_E = 0; |
||||
} |
||||
#else |
||||
void LcdWriteCom(uchar com) //写入命令
|
||||
{ |
||||
LCD1602_E = 0; //使能清零
|
||||
LCD1602_RS = 0; //选择写入命令
|
||||
LCD1602_RW = 0; //选择写入
|
||||
|
||||
LCD1602_DATAPINS = com; //由于4位的接线是接到P0口的高四位,所以传送高四位不用改
|
||||
Lcd1602_Delay1ms(1); |
||||
|
||||
LCD1602_E = 1; //写入时序
|
||||
Lcd1602_Delay1ms(5); |
||||
LCD1602_E = 0; |
||||
|
||||
// Lcd1602_Delay1ms(1);
|
||||
LCD1602_DATAPINS = com << 4; //发送低四位
|
||||
Lcd1602_Delay1ms(1); |
||||
|
||||
LCD1602_E = 1; //写入时序
|
||||
Lcd1602_Delay1ms(5); |
||||
LCD1602_E = 0; |
||||
} |
||||
#endif |
||||
/*******************************************************************************
|
||||
* 函 数 名 : LcdWriteData |
||||
* 函数功能 : 向LCD写入一个字节的数据 |
||||
* 输 入 : dat |
||||
* 输 出 : 无 |
||||
*******************************************************************************/
|
||||
#ifndef LCD1602_4PINS |
||||
void LcdWriteData(uchar dat) //写入数据
|
||||
{ |
||||
LCD1602_E = 0; //使能清零
|
||||
LCD1602_RS = 1; //选择输入数据
|
||||
LCD1602_RW = 0; //选择写入
|
||||
|
||||
LCD1602_DATAPINS = dat; //写入数据
|
||||
Lcd1602_Delay1ms(1); |
||||
|
||||
LCD1602_E = 1; //写入时序
|
||||
Lcd1602_Delay1ms(5); //保持时间
|
||||
LCD1602_E = 0; |
||||
} |
||||
#else |
||||
void LcdWriteData(uchar dat) //写入数据
|
||||
{ |
||||
LCD1602_E = 0; //使能清零
|
||||
LCD1602_RS = 1; //选择写入数据
|
||||
LCD1602_RW = 0; //选择写入
|
||||
|
||||
LCD1602_DATAPINS = dat; //由于4位的接线是接到P0口的高四位,所以传送高四位不用改
|
||||
Lcd1602_Delay1ms(1); |
||||
|
||||
LCD1602_E = 1; //写入时序
|
||||
Lcd1602_Delay1ms(5); |
||||
LCD1602_E = 0; |
||||
|
||||
LCD1602_DATAPINS = dat << 4; //写入低四位
|
||||
Lcd1602_Delay1ms(1); |
||||
|
||||
LCD1602_E = 1; //写入时序
|
||||
Lcd1602_Delay1ms(5); |
||||
LCD1602_E = 0; |
||||
} |
||||
#endif |
||||
/*******************************************************************************
|
||||
* 函 数 名 : LcdInit() |
||||
* 函数功能 : 初始化LCD屏 |
||||
* 输 入 : 无 |
||||
* 输 出 : 无 |
||||
*******************************************************************************/
|
||||
#ifndef LCD1602_4PINS |
||||
void LcdInit() //LCD初始化子程序
|
||||
{ |
||||
LcdWriteCom(0x38); //开显示
|
||||
LcdWriteCom(0x0c); //开显示不显示光标
|
||||
LcdWriteCom(0x06); //写一个指针加1
|
||||
LcdWriteCom(0x01); //清屏
|
||||
LcdWriteCom(0x80); //设置数据指针起点
|
||||
} |
||||
#else |
||||
void LcdInit() //LCD初始化子程序
|
||||
{ |
||||
LcdWriteCom(0x32); //将8位总线转为4位总线
|
||||
LcdWriteCom(0x28); //在四位线下的初始化
|
||||
LcdWriteCom(0x0c); //开显示不显示光标
|
||||
LcdWriteCom(0x06); //写一个指针加1
|
||||
LcdWriteCom(0x01); //清屏
|
||||
LcdWriteCom(0x80); //设置数据指针起点
|
||||
} |
||||
#endif |
@ -0,0 +1,43 @@
@@ -0,0 +1,43 @@
|
||||
#ifndef __LCD_H_ |
||||
#define __LCD_H_ |
||||
/**********************************
|
||||
当使用的是4位数据传输的时候定义, |
||||
使用8位取消这个定义 |
||||
**********************************/ |
||||
//#define LCD1602_4PINS
|
||||
|
||||
/**********************************
|
||||
包含头文件 |
||||
**********************************/ |
||||
#include<reg51.h> |
||||
|
||||
//---重定义关键词---//
|
||||
#ifndef uchar |
||||
#define uchar unsigned char |
||||
#endif |
||||
|
||||
#ifndef uint |
||||
#define uint unsigned int |
||||
#endif |
||||
|
||||
/**********************************
|
||||
PIN口定义 |
||||
**********************************/ |
||||
#define LCD1602_DATAPINS P2 |
||||
sbit LCD1602_E=P1^4; |
||||
sbit LCD1602_RW=P1^5; |
||||
sbit LCD1602_RS=P1^6; |
||||
|
||||
/**********************************
|
||||
函数声明 |
||||
**********************************/ |
||||
/*在51单片机12MHZ时钟下的延时函数*/ |
||||
void Lcd1602_Delay1ms(uint c); //误差 0us
|
||||
/*LCD1602写入8位命令子函数*/ |
||||
void LcdWriteCom(uchar com); |
||||
/*LCD1602写入8位数据子函数*/
|
||||
void LcdWriteData(uchar dat) ; |
||||
/*LCD1602初始化子程序*/
|
||||
void LcdInit();
|
||||
|
||||
#endif |
Binary file not shown.
Binary file not shown.
@ -0,0 +1,38 @@
@@ -0,0 +1,38 @@
|
||||
<html> |
||||
<body> |
||||
<pre> |
||||
<h1>µVision Build Log</h1> |
||||
<h2>Tool Versions:</h2> |
||||
IDE-Version: ¦ÌVision V5.25.2.0 |
||||
Copyright (C) 2018 ARM Ltd and ARM Germany GmbH. All rights reserved. |
||||
License Information: sasasa QY, asas, LIC=14RDY-I2Q34-B1DP0-B3MQL-18VH6-7EFQD |
||||
|
||||
Tool Versions: |
||||
Toolchain: PK51 Prof. Developers Kit Version: 9.56.0.0 |
||||
Toolchain Path: D:\Keil_v5\C51\BIN |
||||
C Compiler: C51.exe V9.56.0.0 |
||||
Assembler: A51.exe V8.2.5.0 |
||||
Linker/Locator: BL51.exe V6.22 |
||||
Library Manager: LIB51.exe V4.30.1.0 |
||||
Hex Converter: OH51.exe V2.7.0.0 |
||||
CPU DLL: S8051.DLL V3.106.0.0 |
||||
Dialog DLL: DP51.DLL V2.63.0.0 |
||||
<h2>Project:</h2> |
||||
E:\ÏîÄ¿\¼æÖ°ÏîÄ¿\20220428-IntelligentLighting\pro.uvproj |
||||
Project File Date: 04/29/2022 |
||||
|
||||
<h2>Output:</h2> |
||||
Build target 'Target 1' |
||||
compiling main.c... |
||||
linking... |
||||
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS |
||||
SEGMENT: ?PR?_AT24C02WRITE?I2C |
||||
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS |
||||
SEGMENT: ?PR?_AT24C02READ?I2C |
||||
Program Size: data=77.1 xdata=0 code=2274 |
||||
creating hex file from "pro"... |
||||
"pro" - 0 Error(s), 2 Warning(s). |
||||
Build Time Elapsed: 00:00:00 |
||||
</pre> |
||||
</body> |
||||
</html> |
@ -0,0 +1,173 @@
@@ -0,0 +1,173 @@
|
||||
:0508DD0025640D0A0076 |
||||
:10083200758921759850758DFD858D8BE4F587D26C |
||||
:06084200AFD2ACD28E2201 |
||||
:0708D600AE071FEE70FA22CD |
||||
:0E086D00C2ACC2998F993099FDC299D2AC22CB |
||||
:10081A00120515FF601112086D7F051208D67401C2 |
||||
:08082A0029F9E43AFA80E92201 |
||||
:10035F00E4F542F54320923A120897209212E50BEA |
||||
:10036F00450A7007F50A750B018005E4F50AF50BD0 |
||||
:10037F00C3E5439432E54264809480501020920D7F |
||||
:10038F001208970543E54370E7054280E3E4F54221 |
||||
:10039F00F54320933A120897209312E50D450C7000 |
||||
:1003AF0007F50C750D018005E4F50CF50DC3E5435C |
||||
:1003BF009432E54264809480501020930D12089778 |
||||
:1003CF000543E54370E7054280E3E4F542F543203A |
||||
:1003DF00B74112089720B7190509E50970020508FA |
||||
:1003EF00D39463E50864809480400675080075090E |
||||
:1003FF0063C3E5439432E54264809480501020B784 |
||||
:10040F000D1208970543E54370E7054280E3E4F5D5 |
||||
:10041F0042F54320B63E12089720B616E509150996 |
||||
:10042F0070021508C3E508648094805005E4F50850 |
||||
:10043F00F509C3E5439432E542648094805010205F |
||||
:10044F00B60D1208970543E54370E7054280E3E4D4 |
||||
:04045F00F542F5432A |
||||
:010463002276 |
||||
:10046400E50D450C6009E50B450A6003020504C36C |
||||
:10047400E50F9432E50E64809480400302050CE598 |
||||
:100484000B450A600302050CC3E509940AE50864F8 |
||||
:100494008094805016E5099400E5086480948040B7 |
||||
:1004A4000AC282C281C280D284805DC3E509940AF3 |
||||
:1004B400E508648094804012E5099414E50864809A |
||||
:1004C40094805006C282C2818030C3E5099414E549 |
||||
:1004D40008648094804012E509941EE508648094C1 |
||||
:1004E400805006C282D2818011C3E509941EE508BA |
||||
:1004F40064809480400AD282D281D280D2848008DF |
||||
:10050400C282C281C280C284E50A450B24FF928361 |
||||
:0105140022C4 |
||||
:1006BA00E4F522F5231207E81207A31208321208FA |
||||
:1006CA00481208A412035F7545FF7546087547DD91 |
||||
:1006DA00850A48850B497B007A00792412005F7BE2 |
||||
:0D06EA00007A00792412081A12046480D1ED |
||||
:0A08A4007F801208AE7F6D0208B8D5 |
||||
:0C0897007F017E267D82DDFEDEFADFF6AA |
||||
:0108A3002232 |
||||
:10072C00C2958FA07F017E0012073DD2947F057E7B |
||||
:01073C0000BC |
||||
:10073D00D3EF9400EE9400400F7DC77C01DCFEDD0D |
||||
:08074D00FAEF1F70EB1E80E8BB |
||||
:010755002281 |
||||
:0A08AE00C294C29612072CC29422D5 |
||||
:0A08B800C294D29612072CC29422BB |
||||
:1007E8007F381208AE7F0C1208AE7F061208AE7F63 |
||||
:0907F800011208AE7F800208AE78 |
||||
:0E087B0081838587898B8D80828486888A8C14 |
||||
:0908C200071000012328040422A0 |
||||
:1006F700C2B300C2B500D2B300E4FEEF1392B4EF69 |
||||
:10070700C313FFD2B500C2B5000EBE08EEE4FEED7E |
||||
:100717001392B4EDC313FDD2B500C2B5000EBE08E7 |
||||
:04072700EEC2B3006B |
||||
:01072B0022AB |
||||
:10062F00C2B300C2B500D2B300E4FDEF1392B4EF32 |
||||
:10063F00C313FFD2B500C2B5000DBD08EE00E4FD37 |
||||
:10064F00A2B4E433FFC43333335480FCEEC3134CF2 |
||||
:10065F00FED2B500C2B5000DBD08E5C2B300D2B5DC |
||||
:09066F0000C2B400D2B400AF06D1 |
||||
:01067800225F |
||||
:1007A300E4FD7F8E1206F7E4FCEC90088293FF745D |
||||
:1007B300102CF8E6FD1206F70CBC07ED7D807F8E4A |
||||
:0307C3000206F734 |
||||
:10084800E4FBEB90087B93FF12062F74102BF8A69D |
||||
:05085800070BBB07EDDA |
||||
:01085D002278 |
||||
:0508890012088ED2A14F |
||||
:08088E007F017E02DEFEDFFAAD |
||||
:01089600223F |
||||
:0F085E00D2A0120889C2A012088EC2A102088E71 |
||||
:0A08CC00C2A0120889D2A002088E13 |
||||
:02067900AD07CB |
||||
:10067B00E4FBFAEDC4131313540124FF92A0ED25F0 |
||||
:10068B00E0FD120889C2A112088E0BBB08E5D2A0AF |
||||
:10069B0012088ED2A130A00F0AEAD394C840F6C23A |
||||
:0E06AB00A112088E7F0022C2A112088E7F01CC |
||||
:0106B900221E |
||||
:10077D00E4FDFCD2A012088ED2A112088EEC25E069 |
||||
:10078D00FCA2A0E433420412088EC2A112088E0D01 |
||||
:05079D00BD08E5AF04FA |
||||
:0107A2002234 |
||||
:10080100AC05A90712085E7FA0120679AF01120696 |
||||
:0908110079AF041206790208CC4B |
||||
:0207C600AC077E |
||||
:1007C80012085E7FA0120679AF0412067912085E3D |
||||
:0F07D8007FA112067912077DAD071208CCAF057D |
||||
:0107E70022EF |
||||
:030000000205A353 |
||||
:0C05A300787FE4F6D8FD7581550205EA6A |
||||
:10051500BB010689828A83E0225002E722BBFE02E4 |
||||
:09052500E32289828A83E4932217 |
||||
:10000300E5512445F8E60551227842300702784548 |
||||
:10001300E475F00112056D0205152000EB7F2ED269 |
||||
:10002300008018EF540F2490D43440D4FF30040BD5 |
||||
:10003300EF24BFB41A0050032461FFE55260021598 |
||||
:10004300520555E5557002055430070D7842E475A5 |
||||
:10005300F00112056DEF02055B0207567403D20728 |
||||
:100063008003E4C207F5518B428A438944E4F55285 |
||||
:10007300F554F555E55260077F2012003E80F57573 |
||||
:1000830053FFC201C200C202C203C205C206C208B4 |
||||
:1000930012000CFF700D3007057F0012004FAF55A3 |
||||
:1000A300AE5422B4255FC2D5C20412000CFF24D083 |
||||
:1000B300B40A00501A75F00A785230D50508B6FF15 |
||||
:1000C3000106C6A426F620D5047002D20380D924E3 |
||||
:1000D300CFB41A00EF5004C2E5D20402024FD2019A |
||||
:1000E30080C6D20080C0D20280BCD2D580BAD205ED |
||||
:1000F30080B47F2012003E2002077401B5520040F5 |
||||
:10010300F1120003FF12003E020077D208D20680EC |
||||
:1001130095120003FB120003FA120003F94A4B7015 |
||||
:100123000679207A037BFF20022EE552602A7E00A7 |
||||
:100133008E8275830012052E60060EEE655370F0F5 |
||||
:10014300C2D5EBC0E0EAC0E0E9C0E0EE120296D00F |
||||
:10015300E0F9D0E0FAD0E0FB120515FF60AAEBC08E |
||||
:10016300E0EAC0E0E9C0E012003ED0E02401F9D0AB |
||||
:10017300E03400FAD0E0FBE5530460DCD553D980CA |
||||
:10018300877BFF7A027992D202809C791080027970 |
||||
:1001930008C206C2088008D2D5790A8004790AC247 |
||||
:1001A300D5E553047002F553E4FAFDFEFF12000394 |
||||
:1001B300FC7B08200113120003FD7B1030000A12A0 |
||||
:1001C3000003FE120003FF7B20EC3382D592D5504F |
||||
:1001D30013C3E43000069FFFE49EFEE42001039D69 |
||||
:1001E300FDE49CFCE4CBF8C201EC700CCFCECDCC8B |
||||
:1001F300E824F8F870F38017C3EF33FFEE33FEED16 |
||||
:1002030033FDEC33FCEB33FB994002FB0FD8E9EBF6 |
||||
:10021300300105F8D0E0C448B201C0E00AEC4D4E0D |
||||
:100223004F78207B0070C2EAB5530040BCC0E01297 |
||||
:100233000298D0F0D0E0200104C4C0E0C4B201C0F1 |
||||
:10024300F0120027D0F0D5F0EB02007712057D0104 |
||||
:100253001453018E5800E54C00E14201924F019A7C |
||||
:0F02630044019A4900FA4301A0550184460184E1 |
||||
:100272004501844703405000E92D00ED2E01102B6B |
||||
:1002820000F123010E2003292A00A94800000108D9 |
||||
:100292003F3F3F00790AA2D5200314300509B91067 |
||||
:1002A200020404B9080104A2D52006025001042068 |
||||
:1002B20002689202B552005034C0E07F2030031928 |
||||
:1002C2007F30A20272067205500F1202EFC202C202 |
||||
:1002D20006C205C2087F30800F300503E9C0E01274 |
||||
:1002E200003E300503D0E0F9D0E0B552CC3005171E |
||||
:1002F2007F30B9100C12003E7F583004077F78809F |
||||
:1003020003B9080312003E3002057F2D02003E7F32 |
||||
:10031200202008F87F2B2006F322920280CF286E3D |
||||
:10032200756C6C2900D2011200033001F8C2017809 |
||||
:100332005230D50108F60200A92D50434958120047 |
||||
:10034200032403B405004001E490033B9312002F01 |
||||
:0D035200743A12002FD20375520402018E7E |
||||
:1005AF000206BAE493A3F8E493A34003F68001F2A2 |
||||
:1005BF0008DFF48029E493A3F85407240CC8C3334D |
||||
:1005CF00C4540F4420C8834004F456800146F6DF1C |
||||
:1005DF00E4800B01020408102040809008C2E47EE2 |
||||
:1005EF00019360BCA3FF543F30E509541FFEE49311 |
||||
:1005FF00A360010ECF54C025E060A840B8E493A3D8 |
||||
:10060F00FAE493A3F8E493A3C8C582C8CAC583CA02 |
||||
:10061F00F0A3C8C582C8CAC583CADFE9DEE780BEBA |
||||
:0108CB00002C |
||||
:10052E00BB010CE58229F582E5833AF583E0225082 |
||||
:10053E0006E92582F8E622BBFE06E92582F8E222CC |
||||
:0D054E00E58229F582E5833AF583E49322E6 |
||||
:10055B00BB010689828A83F0225002F722BBFE017F |
||||
:02056B00F32279 |
||||
:10056D00FAE6FB0808E6F925F0F618E6CA3AF6228F |
||||
:10057D00D083D082F8E4937012740193700DA3A30D |
||||
:10058D0093F8740193F5828883E473740293686021 |
||||
:06059D00EFA3A3A380DF21 |
||||
:10075600EFB40A07740D120761740A309811A8994C |
||||
:10076600B8130CC2983098FDA899C298B811F63003 |
||||
:0707760099FDC299F59922DB |
||||
:00000001FF |
@ -0,0 +1,5 @@
@@ -0,0 +1,5 @@
|
||||
"main.obj", |
||||
"lcd.obj", |
||||
"ds1302.obj", |
||||
"i2c.obj" |
||||
TO "pro" |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,240 @@
@@ -0,0 +1,240 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> |
||||
<ProjectOpt xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_opt.xsd"> |
||||
|
||||
<SchemaVersion>1.0</SchemaVersion> |
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header> |
||||
|
||||
<Extensions> |
||||
<cExt>*.c</cExt> |
||||
<aExt>*.s*; *.src; *.a*</aExt> |
||||
<oExt>*.obj; *.o</oExt> |
||||
<lExt>*.lib</lExt> |
||||
<tExt>*.txt; *.h; *.inc</tExt> |
||||
<pExt>*.plm</pExt> |
||||
<CppX>*.cpp</CppX> |
||||
<nMigrate>0</nMigrate> |
||||
</Extensions> |
||||
|
||||
<DaveTm> |
||||
<dwLowDateTime>0</dwLowDateTime> |
||||
<dwHighDateTime>0</dwHighDateTime> |
||||
</DaveTm> |
||||
|
||||
<Target> |
||||
<TargetName>Target 1</TargetName> |
||||
<ToolsetNumber>0x0</ToolsetNumber> |
||||
<ToolsetName>MCS-51</ToolsetName> |
||||
<TargetOption> |
||||
<CLK51>12000000</CLK51> |
||||
<OPTTT> |
||||
<gFlags>1</gFlags> |
||||
<BeepAtEnd>1</BeepAtEnd> |
||||
<RunSim>1</RunSim> |
||||
<RunTarget>0</RunTarget> |
||||
<RunAbUc>0</RunAbUc> |
||||
</OPTTT> |
||||
<OPTHX> |
||||
<HexSelection>0</HexSelection> |
||||
<FlashByte>65535</FlashByte> |
||||
<HexRangeLowAddress>0</HexRangeLowAddress> |
||||
<HexRangeHighAddress>0</HexRangeHighAddress> |
||||
<HexOffset>0</HexOffset> |
||||
</OPTHX> |
||||
<OPTLEX> |
||||
<PageWidth>120</PageWidth> |
||||
<PageLength>65</PageLength> |
||||
<TabStop>8</TabStop> |
||||
<ListingPath>.\</ListingPath> |
||||
</OPTLEX> |
||||
<ListingPage> |
||||
<CreateCListing>1</CreateCListing> |
||||
<CreateAListing>1</CreateAListing> |
||||
<CreateLListing>1</CreateLListing> |
||||
<CreateIListing>0</CreateIListing> |
||||
<AsmCond>1</AsmCond> |
||||
<AsmSymb>1</AsmSymb> |
||||
<AsmXref>0</AsmXref> |
||||
<CCond>1</CCond> |
||||
<CCode>0</CCode> |
||||
<CListInc>0</CListInc> |
||||
<CSymb>0</CSymb> |
||||
<LinkerCodeListing>0</LinkerCodeListing> |
||||
</ListingPage> |
||||
<OPTXL> |
||||
<LMap>1</LMap> |
||||
<LComments>1</LComments> |
||||
<LGenerateSymbols>1</LGenerateSymbols> |
||||
<LLibSym>1</LLibSym> |
||||
<LLines>1</LLines> |
||||
<LLocSym>1</LLocSym> |
||||
<LPubSym>1</LPubSym> |
||||
<LXref>0</LXref> |
||||
<LExpSel>0</LExpSel> |
||||
</OPTXL> |
||||
<OPTFL> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<IsCurrentTarget>1</IsCurrentTarget> |
||||
</OPTFL> |
||||
<CpuCode>255</CpuCode> |
||||
<Books> |
||||
<Book> |
||||
<Number>0</Number> |
||||
<Title>Data Sheet</Title> |
||||
<Path>DATASHTS\ATMEL\AT89C51_DS.PDF</Path> |
||||
</Book> |
||||
<Book> |
||||
<Number>1</Number> |
||||
<Title>Instruction Set Manual</Title> |
||||
<Path>DATASHTS\ATMEL\AT_C51ISM.PDF</Path> |
||||
</Book> |
||||
</Books> |
||||
<DebugOpt> |
||||
<uSim>1</uSim> |
||||
<uTrg>0</uTrg> |
||||
<sLdApp>1</sLdApp> |
||||
<sGomain>1</sGomain> |
||||
<sRbreak>1</sRbreak> |
||||
<sRwatch>1</sRwatch> |
||||
<sRmem>1</sRmem> |
||||
<sRfunc>1</sRfunc> |
||||
<sRbox>1</sRbox> |
||||
<tLdApp>1</tLdApp> |
||||
<tGomain>0</tGomain> |
||||
<tRbreak>1</tRbreak> |
||||
<tRwatch>1</tRwatch> |
||||
<tRmem>1</tRmem> |
||||
<tRfunc>0</tRfunc> |
||||
<tRbox>1</tRbox> |
||||
<tRtrace>0</tRtrace> |
||||
<sRSysVw>1</sRSysVw> |
||||
<tRSysVw>1</tRSysVw> |
||||
<sRunDeb>0</sRunDeb> |
||||
<sLrtime>0</sLrtime> |
||||
<bEvRecOn>1</bEvRecOn> |
||||
<bSchkAxf>0</bSchkAxf> |
||||
<bTchkAxf>0</bTchkAxf> |
||||
<nTsel>-1</nTsel> |
||||
<sDll></sDll> |
||||
<sDllPa></sDllPa> |
||||
<sDlgDll></sDlgDll> |
||||
<sDlgPa></sDlgPa> |
||||
<sIfile></sIfile> |
||||
<tDll></tDll> |
||||
<tDllPa></tDllPa> |
||||
<tDlgDll></tDlgDll> |
||||
<tDlgPa></tDlgPa> |
||||
<tIfile></tIfile> |
||||
<pMon></pMon> |
||||
</DebugOpt> |
||||
<TargetDriverDllRegistry> |
||||
<SetRegEntry> |
||||
<Number>0</Number> |
||||
<Key>DLGDP51</Key> |
||||
<Name>(98=-1,-1,-1,-1,0)(82=-1,-1,-1,-1,0)(83=-1,-1,-1,-1,0)(84=-1,-1,-1,-1,0)(85=-1,-1,-1,-1,0)(80=-1,-1,-1,-1,0)(91=-1,-1,-1,-1,0)(92=-1,-1,-1,-1,0)</Name> |
||||
</SetRegEntry> |
||||
</TargetDriverDllRegistry> |
||||
<Breakpoint/> |
||||
<Tracepoint> |
||||
<THDelay>0</THDelay> |
||||
</Tracepoint> |
||||
<DebugFlag> |
||||
<trace>0</trace> |
||||
<periodic>1</periodic> |
||||
<aLwin>1</aLwin> |
||||
<aCover>0</aCover> |
||||
<aSer1>0</aSer1> |
||||
<aSer2>0</aSer2> |
||||
<aPa>0</aPa> |
||||
<viewmode>1</viewmode> |
||||
<vrSel>0</vrSel> |
||||
<aSym>0</aSym> |
||||
<aTbox>0</aTbox> |
||||
<AscS1>0</AscS1> |
||||
<AscS2>0</AscS2> |
||||
<AscS3>0</AscS3> |
||||
<aSer3>0</aSer3> |
||||
<eProf>0</eProf> |
||||
<aLa>0</aLa> |
||||
<aPa1>0</aPa1> |
||||
<AscS4>0</AscS4> |
||||
<aSer4>0</aSer4> |
||||
<StkLoc>0</StkLoc> |
||||
<TrcWin>0</TrcWin> |
||||
<newCpu>0</newCpu> |
||||
<uProt>0</uProt> |
||||
</DebugFlag> |
||||
<LintExecutable></LintExecutable> |
||||
<LintConfigFile></LintConfigFile> |
||||
<bLintAuto>0</bLintAuto> |
||||
<bAutoGenD>0</bAutoGenD> |
||||
<LntExFlags>0</LntExFlags> |
||||
<pMisraName></pMisraName> |
||||
<pszMrule></pszMrule> |
||||
<pSingCmds></pSingCmds> |
||||
<pMultCmds></pMultCmds> |
||||
<pMisraNamep></pMisraNamep> |
||||
<pszMrulep></pszMrulep> |
||||
<pSingCmdsp></pSingCmdsp> |
||||
<pMultCmdsp></pMultCmdsp> |
||||
</TargetOption> |
||||
</Target> |
||||
|
||||
<Group> |
||||
<GroupName>Source Group 1</GroupName> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<cbSel>0</cbSel> |
||||
<RteFlg>0</RteFlg> |
||||
<File> |
||||
<GroupNumber>1</GroupNumber> |
||||
<FileNumber>1</FileNumber> |
||||
<FileType>1</FileType> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<bDave2>0</bDave2> |
||||
<PathWithFileName>.\main.c</PathWithFileName> |
||||
<FilenameWithoutPath>main.c</FilenameWithoutPath> |
||||
<RteFlg>0</RteFlg> |
||||
<bShared>0</bShared> |
||||
</File> |
||||
<File> |
||||
<GroupNumber>1</GroupNumber> |
||||
<FileNumber>2</FileNumber> |
||||
<FileType>1</FileType> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<bDave2>0</bDave2> |
||||
<PathWithFileName>.\lcd.c</PathWithFileName> |
||||
<FilenameWithoutPath>lcd.c</FilenameWithoutPath> |
||||
<RteFlg>0</RteFlg> |
||||
<bShared>0</bShared> |
||||
</File> |
||||
<File> |
||||
<GroupNumber>1</GroupNumber> |
||||
<FileNumber>3</FileNumber> |
||||
<FileType>1</FileType> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<bDave2>0</bDave2> |
||||
<PathWithFileName>.\ds1302.c</PathWithFileName> |
||||
<FilenameWithoutPath>ds1302.c</FilenameWithoutPath> |
||||
<RteFlg>0</RteFlg> |
||||
<bShared>0</bShared> |
||||
</File> |
||||
<File> |
||||
<GroupNumber>1</GroupNumber> |
||||
<FileNumber>4</FileNumber> |
||||
<FileType>1</FileType> |
||||
<tvExp>1</tvExp> |
||||
<tvExpOptDlg>0</tvExpOptDlg> |
||||
<bDave2>0</bDave2> |
||||
<PathWithFileName>.\i2c.c</PathWithFileName> |
||||
<FilenameWithoutPath>i2c.c</FilenameWithoutPath> |
||||
<RteFlg>0</RteFlg> |
||||
<bShared>0</bShared> |
||||
</File> |
||||
</Group> |
||||
|
||||
</ProjectOpt> |
@ -0,0 +1,405 @@
@@ -0,0 +1,405 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> |
||||
<Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_proj.xsd"> |
||||
|
||||
<SchemaVersion>1.1</SchemaVersion> |
||||
|
||||
<Header>### uVision Project, (C) Keil Software</Header> |
||||
|
||||
<Targets> |
||||
<Target> |
||||
<TargetName>Target 1</TargetName> |
||||
<ToolsetNumber>0x0</ToolsetNumber> |
||||
<ToolsetName>MCS-51</ToolsetName> |
||||
<uAC6>0</uAC6> |
||||
<TargetOption> |
||||
<TargetCommonOption> |
||||
<Device>AT89C51</Device> |
||||
<Vendor>Atmel</Vendor> |
||||
<Cpu>IRAM(0-0x7F) IROM(0-0xFFF) CLOCK(24000000)</Cpu> |
||||
<FlashUtilSpec></FlashUtilSpec> |
||||
<StartupFile>"LIB\STARTUP.A51" ("Standard 8051 Startup Code")</StartupFile> |
||||
<FlashDriverDll></FlashDriverDll> |
||||
<DeviceId>2976</DeviceId> |
||||
<RegisterFile>REGX51.H</RegisterFile> |
||||
<MemoryEnv></MemoryEnv> |
||||
<Cmp></Cmp> |
||||
<Asm></Asm> |
||||
<Linker></Linker> |
||||
<OHString></OHString> |
||||
<InfinionOptionDll></InfinionOptionDll> |
||||
<SLE66CMisc></SLE66CMisc> |
||||
<SLE66AMisc></SLE66AMisc> |
||||
<SLE66LinkerMisc></SLE66LinkerMisc> |
||||
<SFDFile></SFDFile> |
||||
<bCustSvd>0</bCustSvd> |
||||
<UseEnv>0</UseEnv> |
||||
<BinPath></BinPath> |
||||
<IncludePath></IncludePath> |
||||
<LibPath></LibPath> |
||||
<RegisterFilePath>Atmel\</RegisterFilePath> |
||||
<DBRegisterFilePath>Atmel\</DBRegisterFilePath> |
||||
<TargetStatus> |
||||
<Error>0</Error> |
||||
<ExitCodeStop>0</ExitCodeStop> |
||||
<ButtonStop>0</ButtonStop> |
||||
<NotGenerated>0</NotGenerated> |
||||
<InvalidFlash>1</InvalidFlash> |
||||
</TargetStatus> |
||||
<OutputDirectory>.\</OutputDirectory> |
||||
<OutputName>pro</OutputName> |
||||
<CreateExecutable>1</CreateExecutable> |
||||
<CreateLib>0</CreateLib> |
||||
<CreateHexFile>1</CreateHexFile> |
||||
<DebugInformation>1</DebugInformation> |
||||
<BrowseInformation>1</BrowseInformation> |
||||
<ListingPath>.\</ListingPath> |
||||
<HexFormatSelection>0</HexFormatSelection> |
||||
<Merge32K>0</Merge32K> |
||||
<CreateBatchFile>0</CreateBatchFile> |
||||
<BeforeCompile> |
||||
<RunUserProg1>0</RunUserProg1> |
||||
<RunUserProg2>0</RunUserProg2> |
||||
<UserProg1Name></UserProg1Name> |
||||
<UserProg2Name></UserProg2Name> |
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode> |
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode> |
||||
<nStopU1X>0</nStopU1X> |
||||
<nStopU2X>0</nStopU2X> |
||||
</BeforeCompile> |
||||
<BeforeMake> |
||||
<RunUserProg1>0</RunUserProg1> |
||||
<RunUserProg2>0</RunUserProg2> |
||||
<UserProg1Name></UserProg1Name> |
||||
<UserProg2Name></UserProg2Name> |
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode> |
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode> |
||||
<nStopB1X>0</nStopB1X> |
||||
<nStopB2X>0</nStopB2X> |
||||
</BeforeMake> |
||||
<AfterMake> |
||||
<RunUserProg1>0</RunUserProg1> |
||||
<RunUserProg2>0</RunUserProg2> |
||||
<UserProg1Name></UserProg1Name> |
||||
<UserProg2Name></UserProg2Name> |
||||
<UserProg1Dos16Mode>0</UserProg1Dos16Mode> |
||||
<UserProg2Dos16Mode>0</UserProg2Dos16Mode> |
||||
<nStopA1X>0</nStopA1X> |
||||
<nStopA2X>0</nStopA2X> |
||||
</AfterMake> |
||||
<SelectedForBatchBuild>0</SelectedForBatchBuild> |
||||
<SVCSIdString></SVCSIdString> |
||||
</TargetCommonOption> |
||||
<CommonProperty> |
||||
<UseCPPCompiler>0</UseCPPCompiler> |
||||
<RVCTCodeConst>0</RVCTCodeConst> |
||||
<RVCTZI>0</RVCTZI> |
||||
<RVCTOtherData>0</RVCTOtherData> |
||||
<ModuleSelection>0</ModuleSelection> |
||||
<IncludeInBuild>1</IncludeInBuild> |
||||
<AlwaysBuild>0</AlwaysBuild> |
||||
<GenerateAssemblyFile>0</GenerateAssemblyFile> |
||||
<AssembleAssemblyFile>0</AssembleAssemblyFile> |
||||
<PublicsOnly>0</PublicsOnly> |
||||
<StopOnExitCode>3</StopOnExitCode> |
||||
<CustomArgument></CustomArgument> |
||||
<IncludeLibraryModules></IncludeLibraryModules> |
||||
<ComprImg>1</ComprImg> |
||||
<BankNo>65535</BankNo> |
||||
</CommonProperty> |
||||
<DllOption> |
||||
<SimDllName>S8051.DLL</SimDllName> |
||||
<SimDllArguments></SimDllArguments> |
||||
<SimDlgDll>DP51.DLL</SimDlgDll> |
||||
<SimDlgDllArguments>-p51</SimDlgDllArguments> |
||||
<TargetDllName>S8051.DLL</TargetDllName> |
||||
<TargetDllArguments></TargetDllArguments> |
||||
<TargetDlgDll>TP51.DLL</TargetDlgDll> |
||||
<TargetDlgDllArguments>-p51</TargetDlgDllArguments> |
||||
</DllOption> |
||||
<DebugOption> |
||||
<OPTHX> |
||||
<HexSelection>0</HexSelection> |
||||
<HexRangeLowAddress>0</HexRangeLowAddress> |
||||
<HexRangeHighAddress>0</HexRangeHighAddress> |
||||
<HexOffset>0</HexOffset> |
||||
<Oh166RecLen>16</Oh166RecLen> |
||||
</OPTHX> |
||||
<Simulator> |
||||
<UseSimulator>1</UseSimulator> |
||||
<LoadApplicationAtStartup>1</LoadApplicationAtStartup> |
||||
<RunToMain>1</RunToMain> |
||||
<RestoreBreakpoints>1</RestoreBreakpoints> |
||||
<RestoreWatchpoints>1</RestoreWatchpoints> |
||||
<RestoreMemoryDisplay>1</RestoreMemoryDisplay> |
||||
<RestoreFunctions>1</RestoreFunctions> |
||||
<RestoreToolbox>1</RestoreToolbox> |
||||
<LimitSpeedToRealTime>0</LimitSpeedToRealTime> |
||||
<RestoreSysVw>1</RestoreSysVw> |
||||
</Simulator> |
||||
<Target> |
||||
<UseTarget>0</UseTarget> |
||||
<LoadApplicationAtStartup>1</LoadApplicationAtStartup> |
||||
<RunToMain>0</RunToMain> |
||||
<RestoreBreakpoints>1</RestoreBreakpoints> |
||||
<RestoreWatchpoints>1</RestoreWatchpoints> |
||||
<RestoreMemoryDisplay>1</RestoreMemoryDisplay> |
||||
<RestoreFunctions>0</RestoreFunctions> |
||||
<RestoreToolbox>1</RestoreToolbox> |
||||
<RestoreTracepoints>0</RestoreTracepoints> |
||||
<RestoreSysVw>1</RestoreSysVw> |
||||
</Target> |
||||
<RunDebugAfterBuild>0</RunDebugAfterBuild> |
||||
<TargetSelection>-1</TargetSelection> |
||||
<SimDlls> |
||||
<CpuDll></CpuDll> |
||||
<CpuDllArguments></CpuDllArguments> |
||||
<PeripheralDll></PeripheralDll> |
||||
<PeripheralDllArguments></PeripheralDllArguments> |
||||
<InitializationFile></InitializationFile> |
||||
</SimDlls> |
||||
<TargetDlls> |
||||
<CpuDll></CpuDll> |
||||
<CpuDllArguments></CpuDllArguments> |
||||
<PeripheralDll></PeripheralDll> |
||||
<PeripheralDllArguments></PeripheralDllArguments> |
||||
<InitializationFile></InitializationFile> |
||||
<Driver></Driver> |
||||
</TargetDlls> |
||||
</DebugOption> |
||||
<Utilities> |
||||
<Flash1> |
||||
<UseTargetDll>0</UseTargetDll> |
||||
<UseExternalTool>0</UseExternalTool> |
||||
<RunIndependent>0</RunIndependent> |
||||
<UpdateFlashBeforeDebugging>0</UpdateFlashBeforeDebugging> |
||||
<Capability>0</Capability> |
||||
<DriverSelection>-1</DriverSelection> |
||||
</Flash1> |
||||
<bUseTDR>0</bUseTDR> |
||||
<Flash2></Flash2> |
||||
<Flash3></Flash3> |
||||
<Flash4></Flash4> |
||||
<pFcarmOut></pFcarmOut> |
||||
<pFcarmGrp></pFcarmGrp> |
||||
<pFcArmRoot></pFcArmRoot> |
||||
<FcArmLst>0</FcArmLst> |
||||
</Utilities> |
||||
<Target51> |
||||
<Target51Misc> |
||||
<MemoryModel>0</MemoryModel> |
||||
<RTOS>0</RTOS> |
||||
<RomSize>2</RomSize> |
||||
<DataHold>0</DataHold> |
||||
<XDataHold>0</XDataHold> |
||||
<UseOnchipRom>0</UseOnchipRom> |
||||
<UseOnchipArithmetic>0</UseOnchipArithmetic> |
||||
<UseMultipleDPTR>0</UseMultipleDPTR> |
||||
<UseOnchipXram>0</UseOnchipXram> |
||||
<HadIRAM>1</HadIRAM> |
||||
<HadXRAM>0</HadXRAM> |
||||
<HadIROM>1</HadIROM> |
||||
<Moda2>0</Moda2> |
||||
<Moddp2>0</Moddp2> |
||||
<Modp2>0</Modp2> |
||||
<Mod517dp>0</Mod517dp> |
||||
<Mod517au>0</Mod517au> |
||||
<Mode2>0</Mode2> |
||||
<useCB>0</useCB> |
||||
<useXB>0</useXB> |
||||
<useL251>0</useL251> |
||||
<useA251>0</useA251> |
||||
<Mx51>0</Mx51> |
||||
<ModC812>0</ModC812> |
||||
<ModCont>0</ModCont> |
||||
<Lp51>0</Lp51> |
||||
<useXBS>0</useXBS> |
||||
<ModDA>0</ModDA> |
||||
<ModAB2>0</ModAB2> |
||||
<Mx51P>0</Mx51P> |
||||
<hadXRAM2>0</hadXRAM2> |
||||
<uocXram2>0</uocXram2> |
||||
<hadXRAM3>0</hadXRAM3> |
||||
<ModC2>0</ModC2> |
||||
<ModH2>0</ModH2> |
||||
<Mdu_R515>0</Mdu_R515> |
||||
<Mdu_F120>0</Mdu_F120> |
||||
<Psoc>0</Psoc> |
||||
<hadIROM2>0</hadIROM2> |
||||
<hadIROM3>0</hadIROM3> |
||||
<ModSmx2>0</ModSmx2> |
||||
<cBanks>0</cBanks> |
||||
<xBanks>0</xBanks> |
||||
<OnChipMemories> |
||||
<RCB> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0xffff</Size> |
||||
</RCB> |
||||
<RXB> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</RXB> |
||||
<Ocm1> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocm1> |
||||
<Ocm2> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocm2> |
||||
<Ocm3> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocm3> |
||||
<Ocr1> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocr1> |
||||
<Ocr2> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocr2> |
||||
<Ocr3> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</Ocr3> |
||||
<IRO> |
||||
<Type>1</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x1000</Size> |
||||
</IRO> |
||||
<IRA> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x80</Size> |
||||
</IRA> |
||||
<XRA> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</XRA> |
||||
<XRA512> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</XRA512> |
||||
<IROM512> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</IROM512> |
||||
<XRA513> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</XRA513> |
||||
<IROM513> |
||||
<Type>0</Type> |
||||
<StartAddress>0x0</StartAddress> |
||||
<Size>0x0</Size> |
||||
</IROM513> |
||||
</OnChipMemories> |
||||
</Target51Misc> |
||||
<C51> |
||||
<RegisterColoring>0</RegisterColoring> |
||||
<VariablesInOrder>0</VariablesInOrder> |
||||
<IntegerPromotion>1</IntegerPromotion> |
||||
<uAregs>0</uAregs> |
||||
<UseInterruptVector>1</UseInterruptVector> |
||||
<Fuzzy>3</Fuzzy> |
||||
<Optimize>8</Optimize> |
||||
<WarningLevel>2</WarningLevel> |
||||
<SizeSpeed>1</SizeSpeed> |
||||
<ObjectExtend>1</ObjectExtend> |
||||
<ACallAJmp>0</ACallAJmp> |
||||
<InterruptVectorAddress>0</InterruptVectorAddress> |
||||
<VariousControls> |
||||
<MiscControls></MiscControls> |
||||
<Define></Define> |
||||
<Undefine></Undefine> |
||||
<IncludePath></IncludePath> |
||||
</VariousControls> |
||||
</C51> |
||||
<Ax51> |
||||
<UseMpl>0</UseMpl> |
||||
<UseStandard>1</UseStandard> |
||||
<UseCase>0</UseCase> |
||||
<UseMod51>0</UseMod51> |
||||
<VariousControls> |
||||
<MiscControls></MiscControls> |
||||
<Define></Define> |
||||
<Undefine></Undefine> |
||||
<IncludePath></IncludePath> |
||||
</VariousControls> |
||||
</Ax51> |
||||
<Lx51> |
||||
<useFile>0</useFile> |
||||
<linkonly>0</linkonly> |
||||
<UseMemoryFromTarget>1</UseMemoryFromTarget> |
||||
<CaseSensitiveSymbols>0</CaseSensitiveSymbols> |
||||
<WarningLevel>2</WarningLevel> |
||||
<DataOverlaying>1</DataOverlaying> |
||||
<OverlayString></OverlayString> |
||||
<MiscControls></MiscControls> |
||||
<DisableWarningNumbers></DisableWarningNumbers> |
||||
<LinkerCmdFile></LinkerCmdFile> |
||||
<Assign></Assign> |
||||
<ReserveString></ReserveString> |
||||
<CClasses></CClasses> |
||||
<UserClasses></UserClasses> |
||||
<CSection></CSection> |
||||
<UserSection></UserSection> |
||||
<CodeBaseAddress></CodeBaseAddress> |
||||
<XDataBaseAddress></XDataBaseAddress> |
||||
<PDataBaseAddress></PDataBaseAddress> |
||||
<BitBaseAddress></BitBaseAddress> |
||||
<DataBaseAddress></DataBaseAddress> |
||||
<IDataBaseAddress></IDataBaseAddress> |
||||
<Precede></Precede> |
||||
<Stack></Stack> |
||||
<CodeSegmentName></CodeSegmentName> |
||||
<XDataSegmentName></XDataSegmentName> |
||||
<BitSegmentName></BitSegmentName> |
||||
<DataSegmentName></DataSegmentName> |
||||
<IDataSegmentName></IDataSegmentName> |
||||
</Lx51> |
||||
</Target51> |
||||
</TargetOption> |
||||
<Groups> |
||||
<Group> |
||||
<GroupName>Source Group 1</GroupName> |
||||
<Files> |
||||
<File> |
||||
<FileName>main.c</FileName> |
||||
<FileType>1</FileType> |
||||
<FilePath>.\main.c</FilePath> |
||||
</File> |
||||
<File> |
||||
<FileName>lcd.c</FileName> |
||||
<FileType>1</FileType> |
||||
<FilePath>.\lcd.c</FilePath> |
||||
</File> |
||||
<File> |
||||
<FileName>ds1302.c</FileName> |
||||
<FileType>1</FileType> |
||||
<FilePath>.\ds1302.c</FilePath> |
||||
</File> |
||||
<File> |
||||
<FileName>i2c.c</FileName> |
||||
<FileType>1</FileType> |
||||
<FilePath>.\i2c.c</FilePath> |
||||
</File> |
||||
</Files> |
||||
</Group> |
||||
</Groups> |
||||
</Target> |
||||
</Targets> |
||||
|
||||
</Project> |
Loading…
Reference in new issue