⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 backupfile.h

📁 MSP430f149完成对DS1302时钟芯片的驱动代码
💻 H
字号:
//To set the Reset pin low automatically
//Because we need set the RST to low before a new DS operation
//So I add a reset command after the origin command
//And this will make the function call return faster

//Read Time  x -> address
#define ReadDSTime(x)       ReadTime(x)
//Write Time  x -> address  y -> data
#define WriteDSTime(x,y)    WriteTime(x,y)
//Read Ram  x -> address
#define ReadDSRAM(x)        ReadRAM(x)
//Write Ram  x -> address  y -> data
#define WriteDSRAM(x,y)     WriteRAM(x,y)
//End General functions

//Define some general operation

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -