LSISASX12 LSI, LSISASX12 Datasheet - Page 257

no-image

LSISASX12

Manufacturer Part Number
LSISASX12
Description
Manufacturer
LSI
Datasheet

Specifications of LSISASX12

Lead Free Status / Rohs Status
Not Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LSISASX12A
Manufacturer:
LSILOGIC
Quantity:
5 510
Part Number:
LSISASX12A
Manufacturer:
LT
Quantity:
5 510
B.3 Read a 32-Byte Page from the Serial EEPROM
}
// wait for Transfer Stopped Interrupt
Do {
} while ((temp & 0x08) == 0x00);
// clear interrupt
Write(INTERRUPT_STATUS, 0x1);
This section provides example code for reading a 32-byte page from the
serial EEPROM.
// write 2 bytes to select eeprom address
Write(TRANSMIT_TRANSFER_LENGTH, 2);
Write(RECEIVE_TRANSFER_LENGTH, 0x00);
// Control byte for serial EEPROM
Write(ADDRESS_REGISTER_1, 0xA0);
// set to automatic transfer mode
Write(MASTER_COMMAND, 0x01);
Write(MASTER_COMMAND, 0x09);
// write upper EEPROM address, this example is writing
// to address 0x00 in serial EEPROM
Write(DATA, 0x00);
// write lower EEPROM address, this example is writing
// to address 0x00 in serial EEPROM
Write(DATA, 0x00);
// wait for Transfer Stopped Interrupt
Do {
} while ((temp & 0x08) == 0x00);
// clear interrupt
Write(INTERRUPT_STATUS, 0x1);
// read 32 bytes
Write(TRANSMIT_TRANSFER_LENGTH, 0x00);
Read a 32-Byte Page from the Serial EEPROM
Copyright © 2004, 2005 by LSI Logic Corporation. All rights reserved.
temp = Read(MASTER_INTERRUPT_STATUS);
temp = Read(MASTER_INTERRUPT_STATUS);
B-3

Related parts for LSISASX12