我要如何用flashblock.h下面的函数(我用的是汇编),我在flashblock.inc那个文件中看到只是定义了下面结构体,没有给具体的函数名,如何使用呢?
24系列如下:
typedef struct
{
BYTE bARG_BlockId; // block ID
BYTE * pARG_FlashBuffer; // flash buffer pointer - 2 bytes
CHAR cARG_Temperature; // die Temperature, -40 to 100
BYTE bDATA_PWErase; // Temporary storage (reserved)
BYTE bDATA_PWProgram; // Temporary storage (reserved)
BYTE bDATA_PWMultiplier; // Temporary storage (reserved)
}
FLASH_WRITE_STRUCT;
extern BYTE bFlashWriteBlock( FLASH_WRITE_STRUCT * pFlashWriteData ); |