DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
227 of 571
NXP Semiconductors
UM10316
Chapter 15: LPC29xx USB OTG interface
6.14 I2C Clock High Register (I2C_CLKHI - 0xE010 C30C)
The CLK register holds a terminal count for counting 48 MHz clock cycles to create the
high period of the slower I
2
C serial clock, SCL.
3
DRMIE
Master Transmitter Data Request Interrupt Enable. This enables the DRMI interrupt which
signals that the master transmitter has run out of data, has not issued a STOP, and is
holding the SCL line low.
0
0
Disable the DRMI interrupt.
1
Enable the DRMI interrupt.
4
DRSIE
Slave Transmitter Data Request Interrupt Enable. This enables the DRSI interrupt which
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
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
indicate that the receive FIFO cannot accept any more data.
0
0
Disable the RFFI.
1
Enable the RFFI.
6
RFDAIE
Receive Data Available Interrupt Enable. This enables the DAI interrupt to indicate that
data is available in the receive FIFO (i.e. not empty).
0
0
Disable the DAI.
1
Enable the DAI.
7
TFFIE
Transmit FIFO Not Full Interrupt Enable. This enables the Transmit FIFO Not Full interrupt
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 I
2
C block only when there is room in the FIFO
and do this without polling the status register.
0
0
Disable the TFFI.
1
Enable the TFFI.
8
SRST
Soft reset. This is only needed in unusual circumstances. If a device issues a start
condition without issuing a stop condition. A system timer may be used to reset the I
2
C if
the bus remains busy longer than the time-out period. On a soft reset, the Tx and Rx
FIFOs are flushed, I2C_STS register is cleared, and all internal state machines are reset
to appear idle. The I2C_CLKHI, I2C_CLKLO and I2C_CTL (except Soft Reset Bit) are
NOT modified by a soft reset.
0
0
See the text.
1
Reset the I
2
C to idle state. Self clearing.
31:9 -
NA
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
NA
Table 196. I2C Control register (I2C_CTL - address 0xE010 C308) bit description
Bit
Symbol
Value
Description
Reset
Value
Table 197. I2C_CLKHI register (I2C_CLKHI - address 0xE010 C30C) bit description
Bit
Symbol
Description
Reset
Value
7:0
CDHI
Clock divisor high. This value is the number of 48 MHz
clocks the serial clock (SCL) will be high.
0xB9