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

📄 iap.h

📁 最新的LPC214X IAP驱动程序
💻 H
字号:
////  $Id: iap.h 42 2008-10-04 18:40:36Z jcw $//  $Revision: 42 $//  $Author: jcw $//  $Date: 2008-10-04 14:40:36 -0400 (Sat, 04 Oct 2008) $//  $HeadURL: http://tinymicros.com/svn_public/arm/lpc2148_demo/trunk/iap/iap.h $//#ifndef _IAP_H_#define _IAP_H_//////#define IAP_RESULT_X_NOTSAFEREGION      (IAP_RESULT_LAST + 1)#define IAP_RESULT_X_NOSAFEREGIONAVAIL  (IAP_RESULT_LAST + 2)//////void iapInit (void);int iapSectorToAddress (int sectorNumber, unsigned long *address, int *sectorSize);int iapAddressToSector (unsigned long address);int iapIsSafeAddress (unsigned long address);;int iapIsSafeSector (int sector);int iapFindSafeSector (void);int iapIsValidSector (int sector);int iapGetErrno (void);const char *iapStrerror (int err);int iapPrepareSectors (int startingSector, int endingSector);int iapFillSectors (int startingSector, int endingSector, int byte);int iapWriteSectors (unsigned int address, unsigned char *buffer, int bufferLen);int iapEraseSectors (int startingSector, int endingSector);int iapBlankCheckSectors (int startingSector, int endingSector);unsigned int iapReadPartID (void);unsigned int iapReadBootCodeVersion (void);int iapCompare (unsigned int address, unsigned char *buffer, int bufferLen);void iapISP (void);#endif

⌨️ 快捷键说明

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