Datasheet
2−29
Last Byte EEPROM [DATA]
• The MCU sets I2CSTA[SWR] = 1. This forces the I
2
C controller to generate a stop condition after the content
of the I2CDAO register is transmitted.
• The MCU writes the last DATA byte to be written to the EEPROM into the I2CDAO register.
• The TXE bit in I2CSTA is cleared, indicating busy.
• The content of the I2CDAO register is transmitted to the EEPROM (EEPROM data).
• The TXE bit in I2CSTA is set, and interrupts the MCU, indicating that the I2CDAO register has been sent.
• The I
2
C controller generates a stop condition after the content of the I2CDAO register is transmitted.