Datasheet

Section 15 I
2
C Bus Interface 2 (IIC2)
Rev.5.00 Nov. 02, 2005 Page 262 of 418
REJ09B0028-0500
15.5 Interrupt Request
There are six interrupt requests in this module; transmit data empty, transmit end, receive data full,
NACK receive, STOP recognition, and arbitration lost/overrun. Table 15.3 shows the contents of
each interrupt request.
Table 15.3 Interrupt Requests
Interrupt Request Abbreviation Interrupt Condition I
2
C Mode
Clocked
Synchronous
Mode
Transmit Data Empty TXI (TDRE = 1)
(TIE = 1) { {
Transmit End TEI (TEND = 1)
(TEIE = 1) { {
Receive Data Full RXI (RDRF = 1)
(RIE = 1) { {
STOP Recognition STPI (STOP = 1)
(STIE = 1) { ×
NACK Receive { ×
Arbitration
Lost/Overrun
NAKI {(NACKF = 1) + (AL = 1)}
(NAKIE = 1)
{ {
When interrupt conditions described in table 15.3 are 1 and the I bit in CCR is 0, the CPU
executes an interrupt exception processing. Interrupt sources should be cleared in the exception
processing. TDRE and TEND are automatically cleared to 0 by writing the transmit data to
ICDRT. RDRF are automatically cleared to 0 by reading ICDRR. TDRE is set to 1 again at the
same time when transmit data is written to ICDRT. When TDRE is cleared to 0, then an excessive
data of one byte may be transmitted.