ࡱ> .0-#` Rbjbjmm2[ U  $GhJ -   2   0F & : %0U `   < v U LL #ifndef __DS1302_H__ #define __DS1302_H__ #include<reg52.h> #include"MacroAndConst.h" sbit SCLK=P1^5; sbit DSIO=P1^6; sbit RST=P1^7; extern uchar Ds1302_Read_Time(uchar add);//QN*Ne extern void Ds1302_Write_Data(uchar add,uchar dat);//QeQN*Npe? extern void Ds1302_Rest();//ds1302 YMO extern uchar Ds1302_Read();//QN*NW[ extern void DS1302_Write_BCD(uchar add,uchar dat);//QeQN*NBCDpenc extern void Ds1302_Open_Wp();//Sb_ds1302QOb OKNel[vQۏLQd\O extern void Ds1302_Close_Wp();//sQDS1302QOb OKNSN[vQQd\O0 extern uchar Get_Ds13  hy^h:U hy^o(hy^*Tx  r 4 | f :h8gdy^02_Year_BCD();//QpeԏVDS1302vt^ extern uchar Get_Ds1302_Week_BCD();//QpeԏVDS1302vhT extern uchar Get_Ds1302_Month_BCD();//QpeԏVDS1302vg extern uchar Get_Ds1302_Day_BCD();//QpeԏVDS1302veN extern uchar Get_Ds1302_Hour_BCD();//QpeԏVDS1302v\e extern uchar Get_Ds1302_Minute_BCD();//QpeԏVDS1302vR extern uchar Get_Ds1302_Second_BCD();//QpeԏVDS1302vy #endif 0182P. A!"#$%S N@N cke $1$a$$CJKHPJ_HaJmH nHsH tH$A@$ ؞k=W[SOBi@B nfh|OQRST]0000000000000000000000000000*<VWgw>|OQRST]0000000000000000000000000000=TW[gkw{!&7=[`ajknrvy{$)BFLNV[uy#(CGMPUZ]W[gkw{]333sZ]] qy^8aQke zrW}:@ZZ<8,,ZZ([PP PUnknownG:Ax Times New Roman5Symbol3& :Cx Arial;([SOSimSun qhFGFG-!),.:;?]}    & 6"0000 0 0 00000 =@\]^([{  0 0 00000;[2ZZHP(?8a2Mr-jiangMr-jiangOh+'0`   ( 4@HPX Mr-jiang Normal.dot Mr-jiang8Microsoft Office Word@G@&H@U=՜.+,0 X`px ChinaZ'   !"#$&'()*+,/Root Entry F\'F1Data  1TableWordDocument2SummaryInformation(DocumentSummaryInformation8%CompObjm  FMicrosoft Office Word ĵ MSWordDocWord.Document.89q