EEPROM

Facebook Twitter

Microchip i2c EEProm Chips. // // I2C Master interface for PIC16/PIC18 using MSSP module // Written by Svetoslav Pirev, Bulgaria, Plovdiv, pirev@abv.bg, ICQ: 321848589 // ver 1.0 - 10 Oct 2005 // //#define I2C_SPEED ( ( OSC_CLOCK / ( 4 * 400000 ) ) - 1 ) // 400 kHz #define I2C_SPEED ( ( OSC_CLOCK / ( 4 * 100000 ) ) - 1 ) // 100 kHz //#define I2C_SPEED ( ( OSC_CLOCK / ( 4 * 75000 ) ) - 1 ) // 75 kHz //#define I2C_SPEED ( ( OSC_CLOCK / ( 4 * 50000 ) ) - 1 ) // 50 kHz //#define I2C_SPEED ( ( OSC_CLOCK / ( 4 * 25000 ) ) - 1 ) // 25 kHz //#define M2416 //#define M2432 //#define M2465 //#define M24128 //#define M24256 //#define M24512 #define M24515 #ifdef M2416 // 24LC16B const int8 I2C_SLAVE = 0xA0; const int16 I2C_EEPROM_SIZE = 2048; const int8 I2C_PAGE_SIZE = 16; #else #ifdef M2432 // 24LC32 const int8 I2C_SLAVE = 0xA0; const int16 I2C_EEPROM_SIZE = 8192; const int8 I2C_PAGE_SIZE = 32; #else.

i2c communication with external eeprom. Búsqueda de productos.