1. 读取半字(16位)函数//读取指定地址的半字(16位数据)//faddr:读地址(此地址必须为2的倍数!!)//返回值:对应数据.u16 STMFLASH_ReadHalfWord(u32 faddr){return *(vu16*)faddr;}2. 不进行检查的直接写入//不检查的
file://---by 变成浪子//mega16 7.3728MHz石英晶体 iCCavr6.31a//相关定义:#define uint unsigned int#define uchar unsigned char#define DS1302_RST 0 //pc0#define DS1
file://---by 变成浪子//mega16 7.3728MHz石英晶体 iCCavr6.31a//相关定义:#define uint unsigned int#define uchar unsigned char#define DS1302_RST 0 //pc0#define DS1