- #ifndef __EPROM_H
- #define __EPROM_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* Includes --------------------------------------------------------------- */
- #include "gendef.h"
- INT32 KB_E2PInit(void);
- INT32 KB_E2PGetSize(void);
- INT32 KB_E2PRead(UINT32 offset, UINT8 *data, UINT32 byteCount, UINT32 *byteRead);
- INT32 KB_E2PWrite(UINT32 offset, UINT8 *data, UINT32 byteCount, UINT32 *byteWrite);
- #ifdef __cplusplus
- }
- #endif
- #endif