The AT24C01C is internally organized as 16 pages of 8 bytes each. The AT24C02C is internally
organized as 32 pages of 8 bytes each.
why make AT24Cxx_type = memorysize - 1, rather than memorysize? which make it cannot access to the last word of eeprom.
typedefenum
{
AT24C01=127, /**< AT24C01 type */AT24C02=255, /**< AT24C02 type */AT24C04=511, /**< AT24C04 type */AT24C08=1023, /**< AT24C08 type */AT24C16=2047, /**< AT24C16 type */AT24C32=4095, /**< AT24C32 type */AT24C64=8191, /**< AT24C64 type */AT24C128=16383, /**< AT24C128 type */AT24C256=32767, /**< AT24C256 type */
} at24cxx_t;