- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 8kb
- Update:
- 2015-06-01
- Downloads:
- 0 Times
- Uploaded by:
- a7305
Description: A This program provides two functions apply to 24C01 to 24c512
1. Function Description:
1) void wt24c (uchar* p_rsc, uint ad_dst, uint num)
Function: host memory the specified address p_dst start num writing data to the address specified ad_rsc 24Cxx chip start address space
2) void rd24c (uchar* p_dst, uint ad_rsc, uint num)
Function: starting at the specified address ad_rsc 24Cxx chip reads num bytes of data to the host address specified p_dst memory starting to go
2. The number one time to write and read 24Cxx data num theoretically unlimited, but in fact determined by the maximum address space 24Cxx chip and ad_rsc
3. If the write fails, the system error flag register will mark the preset error number preset error num
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
M16读写2401到24512 | 任意字节数的读写 |
...................................\24Cxx.C |
...................................\24CxxMain.c |
...................................\24Cxx程序使用说明.h |
...................................\Debug_com.C |
...................................\XD.H |
...................................\XDPRJ.H |