25.08.2015 Views

UM10139

UM10139 Volume 1: LPC214x User Manual - Fab@Home

UM10139 Volume 1: LPC214x User Manual - Fab@Home

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Philips SemiconductorsVolume 1<strong>UM10139</strong>Chapter 11: I 2 C interfaces3. Write 0x08 to I2CONCLR to clear the SI flag.4. Set up Slave Transmit mode data buffer.5. Increment Slave Transmit buffer pointer.6. Exit11.9.34 State: 0xB8Data has been transmitted, ACK has been received. Data will be transmitted, ACK bit willbe received.1. Load I2DAT from Slave Transmit buffer with data byte.2. Write 0x04 to I2CONSET to set the AA bit.3. Write 0x08 to I2CONCLR to clear the SI flag.4. Increment Slave Transmit buffer pointer.5. Exit11.9.35 State: 0xC0Data has been transmitted, NOT ACK has been received. Not addressed Slave mode isentered.1. Write 0x04 to I2CONSET to set the AA bit.2. Write 0x08 to I2CONCLR to clear the SI flag.3. Exit.11.9.36 State: 0xC8The last data byte has been transmitted, ACK has been received. Not addressed Slavemode is entered.1. Write 0x04 to I2CONSET to set the AA bit.2. Write 0x08 to I2CONCLR to clear the SI flag.3. Exit© Koninklijke Philips Electronics N.V. 2005. All rights reserved.User manual Rev. 01 — 15 August 2005 170

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!