Problem
1. A sequential read can be performed after a read operation has been performed to the EEPROM. Write a few instructions to perform the sequential read and return the data in PRODL.
2. Write a function that performs current address read to the 24LC08B. Pass the control byte and address in PRODH and PRODL to this subroutine. Return the data byte and error code in PRODL and PRODH, respectively. This function should check three errors:
· Bus collision (to make this function usable in a multi master environment)
· Write collision
· Not ACK (implies that 24LC08B may be in error)