ppflash.h

来自「ADI 公司的DSP ADSP21262 EZ-KIT LITE开发板的全部源代」· C头文件 代码 · 共 36 行

H
36
字号
///////////////////////////////////////////////////////////////////////////////////////
//NAME:     ppflash.h (AMD Parallel Flash Programmer)
//DATE:     9/18/03
//PURPOSE:  contains the definitions and declarations for use across the project files
////////////////////////////////////////////////////////////////////////////////////////
#ifndef _PPFLASH_H_
#define _PPFLASH_H_

//Include the ADSP-21262 Definition file
#include <def21262.h>
#include <cdef21262.h>

//LED address on the ADSP-21262 Ezkit Lite
#define LED_ADDRESS     0x1400000

//Sector Size for the AMD Am29LV081B
#define SECTOR_SIZE 0x10000

//Declarations of buffers and subroutines used between files
extern int  ppInterruptFlag;

extern void blockWrite(int *, int *, int);

extern void flashReset(int *);
extern void sectorErase(int *, int);
extern void programBlock(int *, int *, int);
extern void verifyBlock(int *, int *, int);

extern void writeToPP(int *, int *, int);
extern int  readFromPP(int *);
extern int pollFlash(int *);
extern void writeToLEDs(int);
extern void ppInterruptHandler(int);

#endif

⌨️ 快捷键说明

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