本程序用于MICROCHIP 24LC64 EEPROM的读写。本程序不使用芯片级联方式, 请将A0,A1,A2 管脚接至低电平。本程序使用IOC6作为SD...
代码说明:
本程序用于MICROCHIP 24LC64 EEPROM的读写。本程序不使用芯片级联方式, 请将A0,A1,A2 管脚接至低电平。本程序使用IOC6作为SDA,IOC7作为SCL。 程序中的地址空间最大可至64K:24LC00-16-0,24LC01-128-8,24LC02-256-8, 24LC04-512-16,24LC08-1K-16,24LC16-2K-32,24LC32-4K-32,24LC64-8K-32, 24LC128-16K-64,24LC256-32K-64,24LC512-64K-128,读写数据均为8bits。 以上器件的格式为(型号-地址空间-页大小)不同器件的页大小不同,因此页写 程序需作相应修改,其他字节写,随机读以及顺序读程序均相同-This procedure for the MICROCHIP 24LC64 EEPROM read and write. This procedure does not use chips cascade way, please A0, A1, A2 pin to low level access. This procedure used IOC6 as SDA, IOC7 as SCL. Process address space available to the largest 64K: 24LC00-16-0, 24LC01-128-8, 24LC02-256-8, 24LC04-512-16, 24LC08-1K-16, 24LC16-2K-32, 24LC32-4K- 32,24 LC64-8K-32, 24LC128-16K-64, 24LC256-32K-64, 24LC512-64K-128, read and write data are 8bits. The format for the above device (Model- address space- page size) of different devices of different sizes of pages, so page written procedures need to be amended accordingly, and other bytes to write, rand
下载说明:请别用迅雷下载,失败请重下,重下不扣分!