i2c驱动之调用ioctl函数进行读写at24c08

from:http://blog.chinaunix.net/uid-20641464-id-1595706.html
型号
容量
器件寻址字节(8位)
一次装载字节数
AT24C01
128×8
1010A2A1A0
R/W
8
AT24C02
256×8
1010A2A1A0
R/W
8
AT24C04
512×8
1010A2A1P0
R/W
16
AT24C08
1024×8
1010A2P1P0
R/W
16
AT24C16
2048×8
1010P2P1P0
R/W
16
AT24C32
4096*8
1010A2A1A0
R/W
32
AT24C64
8192*8
1010A2A1A0
R/W
32
AT24C128
16384*8
AT24C01
AT24C02
AT24C04
AT24C08
AT24C16
AT24C32
AT24C64
AT24C128