h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 529

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
16.5
The IIC has interrupt sources IICI and DDCSWI. Table 16.8 shows the interrupt sources and
priority. Individual interrupt sources can be enabled or disabled using the enable bits in ICCR and
DDCSWR, and are sent to the interrupt controller independently.
An IICI interrupt can activate the DTC to allow data transfer.
Table 16.8 IIC Interrupt Sources
16.6
1. In master mode, if an instruction to generate a start condition is issued and then an instruction
2. Either of the following two conditions will start the next transfer. Pay attention to these
3. Table 16.9 shows the timing of SCL and SDA outputs in synchronization with the internal
Channel
0
1
to generate a stop condition is issued before the start condition is output to the I
condition will be output correctly. To output the start condition followed by the stop condition,
after issuing the instruction that generates the start condition, read DR in each I
pin, and check that SCL and SDA are both low. The pin states can be monitored by reading
DR even if the ICE bit is set to 1. Then issue the instruction that generates the stop condition.
Note that SCL may not yet have gone low when BBSY is cleared to 0.
conditions when accessing to ICDR.
clock. Timings on the bus are determined by the rise and fall times of signals affected by the
bus load capacitance, series resistance, and parallel resistance.
Write to ICDR when ICE = 1 and TRS = 1 (including automatic transfer from ICDRT to
ICDRS)
Read from ICDR when ICE = 1 and TRS = 0 (including automatic transfer from ICDRS to
ICDRR)
Interrupt Sources
Usage Notes
Name
IICI0
DDCSWI
IICI1
Enable
Bit
IEIC
IE
IEIC
Interrupt Source
I
interrupt request
Format automatic
switch interrupt
I
interrupt request
2
2
C bus interface
C bus interface
Section 16 I
Interrupt
Flag
IRIC
IF
IRIC
Rev. 3.00 Mar 21, 2006 page 475 of 788
2
C Bus Interface (IIC) (Optional)
DTC Activation
Not possible
Possible
Possible
REJ09B0300-0300
2
2
C bus output
C bus, neither
Priority
High
Low

Related parts for h8s-2161b