TA600032-EN0/0
- 82 -
6.8.2.4
Port change event
"G9006" can output the "Interrupt request" signal (INT pin) by the "Port change event" (MSTS.IPTC) interrupt.
This interrupt is generated when there is a difference between the "Port data" of "I/O communication" and the "Port data" of
"Port data memory".
The "Port change event" interrupt of "G9006" does not have the same specifications as the "Input change" interrupt of the
"Center LSI".
When setting the "Port change event" interrupt for "Port number 0" of "Data device", an interrupt is generated even for a change
other than the least significant bit.
6.8.2.4.1
Interrupt condition setting
"G9006" can generate the "Port change event" interrupt when the "Local CPU" sets "Port change interrupt setting memory",
"RENV1.FDWA = 1" or "RENV1.FUPA = 1".
The "Local CPU" can monitor the changes in "Port data" by polling "Port data memory" without using the "Port change event"
interrupt, but the load on the "Local CPU" increases.
6.8.2.4.2
Interrupt request output
"G9006" sets "MSTS.IPTC = 1" when "Port change event" interrupt is generated.
When a difference in "Port data" is detected, "INT = L level" is output.
The timing of detecting a difference of "Port data" differs depending on the setting of "RENV1.QPOV".
When "RENV1.QPOV = 0" is set, "INT = L level" will be output if the difference in "Port data" is detected upon the receipt of
"Request frame" and "Response frame".
When "RENV1.QPOV = 1" is set, no interrupt is generated until the next "Request frame" is received, even if a "Port data"
difference is detected when a "Request frame" is received. If the normal reception of the "Request frame" fails, "INT = L level"
is output when the next "Response frame" is received normally.
The "Interrupt request" signal is not output until any "Request frame" is received.
6.8.2.4.3
Interrupt factor clear
For details on the procedure, see "6.8.1.1 Multiple interrupt requests".