English
Language : 

UM10562 Datasheet, PDF (405/942 Pages) NXP Semiconductors – LPC408x/407x User manual
NXP Semiconductors
UM10562
Chapter 14: LPC408x/407x USB OTG controller
14.8.10 I2C Control Register
The I2C_CTL register is used to enable interrupts and reset the I2C state machine.
Enabled interrupts cause the USB_I2C_INT interrupt output line to be asserted when set.
Table 322. I2C Control register (I2C_CTL - address 0x2008 C308) bit description
Bit Symbol Value Description
0 TDIE
Transmit Done Interrupt Enable. This enables the TDI interrupt signalling that this I2C
issued a STOP condition.
Reset
Value
0
0 Disable the TDI interrupt.
1 Enable the TDI interrupt.
1 AFIE
Transmitter Arbitration Failure Interrupt Enable. This enables the AFI interrupt which is
0
asserted during transmission when trying to set SDA high, but the bus is driven low by
another device.
0 Disable the AFI.
1 Enable the AFI.
2 NAIE
Transmitter No Acknowledge Interrupt Enable. This enables the NAI interrupt signalling
0
that transmitted byte was not acknowledged.
0 Disable the NAI.
1 Enable the NAI.
3 DRMIE
Master Transmitter Data Request Interrupt Enable. This enables the DRMI interrupt which 0
signals that the master transmitter has run out of data, has not issued a STOP, and is
holding the SCL line low.
0 Disable the DRMI interrupt.
1 Enable the DRMI interrupt.
4 DRSIE
Slave Transmitter Data Request Interrupt Enable. This enables the DRSI interrupt which
0
signals that the slave transmitter has run out of data and the last byte was acknowledged,
so the SCL line is being held low.
0 Disable the DRSI interrupt.
1 Enable the DRSI interrupt.
5 REFIE
Receive FIFO Full Interrupt Enable. This enables the Receive FIFO Full interrupt to
0
indicate that the receive FIFO cannot accept any more data.
0 Disable the RFFI.
1 Enable the RFFI.
6 RFDAIE
Receive Data Available Interrupt Enable. This enables the DAI interrupt to indicate that
0
data is available in the receive FIFO (i.e. not empty).
0 Disable the DAI.
1 Enable the DAI.
7 TFFIE
Transmit FIFO Not Full Interrupt Enable. This enables the Transmit FIFO Not Full interrupt 0
to indicate that the more data can be written to the transmit FIFO. Note that this is not full.
It is intended help the CPU to write to the I2C block only when there is room in the FIFO
and do this without polling the status register.
0 Disable the TFFI.
1 Enable the TFFI.
UM10562
User manual
All information provided in this document is subject to legal disclaimers.
Rev. 1 — 13 September 2012
© NXP B.V. 2012. All rights reserved.
405 of 942