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

📄 eeprom_low.h

📁 在AVR 平台下的控制代码,通过CAN控制
💻 H
字号:

#ifndef __EEPROM_LOW_H
#define __EEPROM_LOW_H

#ifdef __cplusplus
extern "C" {
#endif

#define _EEPROM_IS_EXIST_          1
#define _EEPROM_IS_INITIALIZED_    2

#define _EEPROM_ERASED_       0
#define _EEPROM_INITIALIZED_  1

Void tdEEPROMWrite(Word wSubAddress, Byte * rpBuf, Word wLength);
Void tdEEPROMRead(Word wSubAddress, Byte * gpBuf, Word wLength);
Void tdEEPROMWriteByte(Word wSubAddress, Byte ucValue);
Byte tdEEPROMReadByte(Word wSubAddress);

/* must call the following function first to change device */
Bool tdEEPROMSelectDevice(Byte ucDeviceAddress);


#ifdef __cplusplus
};
#endif

#endif

⌨️ 快捷键说明

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