TA600032-EN0/0
- 45 -
5.2.2.3.12
Port change interrupt information reading
"Read-out data" can be input from a "Port change interrupt information" (PCII).
MOSI
Control
Command
(1101 ss00)
Dummy
Data
(0000 0000)
Dummy
Data
(0000 0000)
Dummy
Data
(0000 0000)
… omission …
Dummy
Data
(0000 0000)
MISO
Hi-Z
Read-out
Data
(7:0)
Read-out
Data
(15:8)
Read-out
Data
(23:16)
… omission …
Read-out
Data
(47:40)
The "ss" bit is the "Slave number" (SN) bit of the "Control command".
The "Read-out data" can input 6 bytes.
For example, when inputting "Read-out data" that "Port change Interrupt Information", output the following data:
MOSI
1101 0000
0000 0000
0000 0000
0000 0000
… omission …
0000 0000
MISO
Hi-Z
PCII [7:0]
PCII [15:8]
PCII [23:16]
… omission …
PCII [47:40]
This is the data when the "ss" bit is "00".
"Port change interrupt flag" of "Device number" that read "Port change interrupt information" is cleared.
The following table shows the format of "Port change interrupt information".
PCII [47:40]
PCII [39:32]
PCII [31:24]
PCII [23:16]
PCII [15:8]
PCII [7:0]
P3
P2
P1
P0
RTLT
Pn
S 0
DN
Bit
Symbol
Description
5:0
DN
The "Device number" is read.
6
0
Fixed to "0".
7
S
The "MSTS.IPOV" is read.
11:8
Pn
The area of "Port change interrupt flag memory" that matches the "DN" is read.
15:12
RTLT
The lower 4-bit of the "Relative time latch" (RTLT) are read.
23:16
P0
The "Port number 0" of the "Port data memory" that matches the "DN" is read.
31:24
P1
The "Port number 1" of the "Port data memory" that matches the "DN" is read.
39:32
P2
The "Port number 2" of the "Port data memory" that matches the "DN" is read.
47:40
P3
The "Port number 3" of the "Port data memory" that matches the "DN" is read.
When the state of the "Input port" of "Own device" and "Virtual local LSI" is changed by "Port data writing" control command
from "Local CPU", "Port change interrupt information" is not recorded.
When the state of the "Output port" of "Own device" and "Virtual local LSI" changes due to "Request frame" from "Center LSI",
"Port change interrupt information" is recorded.
"Request frame" processing has priority over "Port data writing" control command processing.
Therefore, the state of the "Input port" before the change may be recorded in the "Port change interrupt information".
For the state of the "Input port" of "Own device" and "Virtual local LSI", check "Port data memory".