h8s-2158 Renesas Electronics Corporation., h8s-2158 Datasheet - Page 591

no-image

h8s-2158

Manufacturer Part Number
h8s-2158
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
17.6
The I
the interrupt sources and priorities. Each interrupt source can be enabled or disabled independently
by interrupt enable bits in ICCR, ICCRX, or ICCNT. Independent signals are sent to the interrupt
controller for each interrupt.
The IICM, IICR, and IICT interrupts can be used as DTC activation interrupt sources.
2
C bus interface has four interrupt sources: IICC, IICM, IICR, and IICT. Table 17.10 shows
Interrupt Sources
No
No
Write transmit data in ICDR
Figure 17.21 Sample Flowchart for Slave Transmit Mode
Read ACKB in ICSR
Set TRS = 0 in ICCR
Slave transmit mode
Clear IRIC in ICCR
Clear IRIC in ICCR
Read IRIC in ICCR
Clear IRIC in ICCR
of transmission
(ACKB = 1)?
Read ICDR
IRIC = 1?
End
End
Yes
Yes
[3]
[4]
[5]
[1]
[2]
[1] Set transmit data for the second and
[2] Wait for 1 byte to be transmitted.
[3] Test for end of transfer.
[4] Set slave receive mode.
[5] Dummy read (to release the SCL line).
subsequent bytes.
Rev. 3.00 Jan 25, 2006 page 539 of 872
Section 17 I
2
C Bus Interface (IIC)
REJ09B0286-0300

Related parts for h8s-2158