📄 eeprom.h
字号:
/*******************************************************************************
*
* Filename: eeprom.h
*
* Definition of eeprom routines
*
* Revision information:
*
* 28AUG2004 kb_admin initial creation - adapted from Atmel sources
*
* BEGIN_KBDD_BLOCK
* No warranty, expressed or implied, is included with this software. It is
* provided "AS IS" and no warranty of any kind including statutory or aspects
* relating to merchantability or fitness for any purpose is provided. All
* intellectual property rights of others is maintained with the respective
* owners. This software is not copyrighted and is intended for reference
* only.
* END_BLOCK
******************************************************************************/
#ifndef _EEPROM_H_
#define _EEPROM_H_
#define AT91C_TWSI_CLOCK 100000
#define EEPROM_PAGE_SIZE 32
#define TWSI_EEPROM_ADDRESS 0x50
/* The following function write eeprom at ee_addr using data */
/* from data_add for size bytes. */
extern void WriteEEPROM(unsigned ee_addr, char *data_addr, unsigned size);
#endif /* _EEPROM_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -