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

📄 eeprom.h

📁 linux下ROMMONITOR,FLASH,MODEM等操作原代码,请需要的朋友下载
💻 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 + -