HD6432160 RENESAS [Renesas Technology Corp], HD6432160 Datasheet - Page 539

no-image

HD6432160

Manufacturer Part Number
HD6432160
Description
Hitachi 16-Bit Single-Chip Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
18.5
18.5.1
The host interface can issue four interrupt requests to the slave processor: IBF1, IBF2, IBF3 and
IBF4. They are input buffer full interrupts for input data registers IDR_1, IDR_2, IDR_3 and
IDR_4 respectively. Each interrupt is enabled when the corresponding enable bit is set.
Table 18.8 Input Buffer Full Interrupts
18.5.2
Bits P45DR to P43DR in the port 4 data register (P4DR) and bits PB1ODR and PB0ODR in the
port B data register (PBODR) can be used as host interrupt request latches. When they are used as
host interrupt request output, set each bit in the data direction register (DDR) of the pin to 1.
The corresponding bits in P4DR are cleared to 0 by the host processor’s read signal (,25). If &64
and HA0 are low, when ,25 goes low and the host reads ODR_1, HIRQ1 and HIRQ12 are cleared
to 0. If &65 and HA0 are low, when ,25 goes low and the host reads ODR_2, HIRQ11 is cleared
to 0. The corresponding bit in PBODR is cleared to 0 by the host’s read signal (,25). If &66 and
HA0 are low, when ,25 goes low and the host reads ODR_3, HIRQ3 is cleared to 0. If &67 and
HA0 are low, when ,25 goes low and the host reads ODR_4, HIRQ4 is cleared to 0. To generate
a host interrupt request, normally on-chip firmware writes 1 in the corresponding bit. In processing
the interrupt, the host’s interrupt handling routine reads the output data register (ODR_1, ODR_2,
ODR_3, or ODR_4) and this clears the host interrupt latch to 0.
Table 18.9 indicates how these bits are set and cleared. Figure 18.3 shows the processing in
flowchart form.
Interrupt
IBF1
IBF2
IBF3
IBF4
Interrupt Sources
IBF1, IBF2, IBF3, and IBF4
HIRQ11, HIRQ1, HIRQ12, HIRQ3, and HIRQ4
Description
Requested when IBFIE1 is set to 1 and IDR_1 is full
Requested when IBFIE2 is set to 1 and IDR_2 is full
Requested when IBFIE3 is set to 1 and IDR_3 is full
Requested when IBFIE4 is set to 1 and IDR_4 is full
Rev. 2.0, 08/02, page 499 of 788

Related parts for HD6432160