www.pudn.com > TCPmodbushy.rar > OP_FlashOfCP220.h
/****************************************************************************** * Module Name : OP_FlashOfCP220.H * CPU Type : c8051 * * Description : * * History Author Version Comment * 06.09.15 sjh V0.1 Original version * * Copyright (C) 2003 Xinje Electronic Co., Ltd. All rights reserved. ******************************************************************************/ #ifndef OP_FlashOfCP220_H_DEFINED #define OP_FlashOfCP220_H_DEFINED #include "o:\normal.h" #define NEED_READBYTE void EraseFlash( unsigned int iSetorAdd ); void WriteByteToFlash( unsigned int iSetorAdd, unsigned char chData ); void WriteMulByteSToFlash( unsigned int iSetorAdd, unsigned char chCount, unsigned char xdata *pData ); void ReadBytesFromFlash( unsigned int iSetorAdd, unsigned char chCount, unsigned char xdata *pData ); #ifdef NEED_READBYTE unsigned char ReadByteFromFlash( unsigned int iSetorAdd ); #endif #endif