博客首页 | 排行榜 |

PSOCPSOC的博客

个人档案
博文分类
24C04一次读写最多8个字节  2010-07-23 19:15

The data word address lower three (1K/2K) or four (4K, 8K, 16K) bits are internall
incremented following the receipt of each data word. The higher data word address bit
are not incremented, retaining the memory page row location. When the word address
internally generated, reaches the page boundary, the following byte is placed at th
beginning of the same page. If more than eight (1K/2K) or sixteen (4K, 8K, 16K) dat
words are transmitted to the EEPROM, the data word address will "roll over"and pre
ous data will be overwritten.

24c02的文档里详细说明,一个page就是8个字节。你写的时候,如果有超过这个边界,它就会翻卷回来写的,比如你从0x06开始写6个数据,那么结果写的地址就是0x06,0x07,0x00,0x01。。。翻卷回来把之前的覆盖了

类别:默认 |
上一篇:注释的写法 | 下一篇:Keil的代码优化产生的问题(收藏)
以下网友评论只代表其个人观点,不代表本网站的观点或立场