sst28sf040.h
资源名称:直接操作并行口.zip [点击查看]
上传用户:fsjiahua
上传日期:2013-03-07
资源大小:89k
文件大小:0k
源码类别:
并口编程
开发平台:
Visual C++
- #define ROW_SIZE 256 /* Must be 256 bytes for 28SF040 */
- #define SST_ID 0xBF /* SST Manufacturer抯 ID code */
- #define SST_28SF040 0x04 /* SST 28SF040 device code */
- #define AUTO_PG_ERASE1 0x20
- #define AUTO_PG_ERASE2 0xD0
- #define AUTO_PGRM 0x10
- #define RESET 0xFF
- #define READ_ID 0x90
- int Check_SST_28SF040(void);
- int Read_28SF040(FILE* stream, DWORD Src,DWORD size);
- int Write_28SF040(unsigned char *Src, DWORD Dst);