h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 528

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 16 I
When, with the I
must be checked in order to identify the source that set IRIC to 1. Although each source has a
corresponding flag, caution is needed at the end of a transfer.
When the TDRE or RDRF internal flag is set, the readable IRTR flag may or may not be set. The
IRTR flag (the DTC start request flag) is not set at the end of a data transfer up to detection of a
retransmission start condition or stop condition after a slave address (SVA) or general call address
match in I
Even when the IRIC flag and IRTR flag are set, the TDRE or RDRF internal flag may not be set.
The IRIC and IRTR flags are not cleared at the end of the specified number of transfers in
continuous transfer using the DTC. The TDRE or RDRF flag is cleared, however, since the
specified number of ICDR reads or writes have been completed.
Table 16.3 shows the relationship between the flags and the transfer states.
Table 16.3 Flags and Transfer States
MST TRS
1/0
1
1
1
1
0
0
0
0
0
0
0
0
Rev. 4.00 Jun 06, 2006 page 474 of 1004
REJ09B0301-0400
1/0
1
1
1/0
1/0
0
0
0
0
1/0
1/0
1
1/0
2
C bus format slave mode.
BBSY ESTP STOP IRTR
0
0
1
1
1
1
1
1
1
1
1
1
0
2
C Bus Interface [H8S/2138 Group Option]
2
C bus format selected, IRIC is set to 1 and an interrupt is generated, other flags
0
0
0
0
0
0
0
0
0
0
0
0
1/0
0
0
0
0
0
0
0
0
0
0
0
0
1/0
0
0
1
0
1
0
0
0
0
0
1
0
0
AASX AL
0
0
0
0
0
1/0
0
0
1
0
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
AAS
0
0
0
0
0
1/0
1
1
0
0
0
0
0
ADZ
0
0
0
0
0
1/0
0
1
0
0
0
0
0
ACKB
0
0
0
0/1
0/1
0
0
0
0
0/1
0
1
0/1
State
Idle state (flag clearing
required)
Start condition issuance
Start condition
established
Master mode wait
Master mode
transmit/receive end
Arbitration lost
SAR match by first frame
in slave mode
General call address
match
SARX match
Slave mode
transmit/receive end
(except after SARX
match)
Slave mode
transmit/receive end
(after SARX match)
Stop condition detected

Related parts for h8s-2138