TA600032-EN0/0
- 43 -
5.2.2.3.9
Port change interrupt flag clear
"Write-in data" can be output to a "Port change interrupt flag memory" by specifying the "Memory address".
MOSI
Control
Command
(1000 ss00)
Memory
Address
Write-in
Data
(7:0)
The "ss" bit is the "Slave number" (SN) bit of the "Control command".
The "Memory address" is from "0" to "31".
When the "Write-in data" is 2 bytes or more, the "Write-in data" is output while incrementing the "Memory address".
When the "Memory address" is incremented from "31", it becomes "0".
The "Write-in data" can be output in 1-byte units.
For example, when outputting "Write-in data" that from "Device number 0" (DN0) to "Device number 7" (DN7), output the
following data:
MOSI
1000 0000
0000 0000
DN1, DN0
DN3, DN2
DN5, DN4
DN7, DN6
This is the data when the "ss" bit is "00".
For details on "Port change interrupt flag memory", see "5.2.8 Port change interrupt flag memory".
Writing to the "Port change interrupt flag memory" is executed each time "G9006" receives 1-byte data.
When the "write-in data" exceeds 32 bytes, the first data is overwritten.
5.2.2.3.10
Port change interrupt flag reading
"Read-out data" can be input from a "Port change interrupt flag memory" by specifying the "Memory address".
MOSI
Control
Command
(1001 ss00)
Memory
Address
Dummy
Data
(0000 0000)
MISO
Hi-Z
Hi-Z
Read-out
Data
(7:0)
The "ss" bit is the "Slave number" (SN) bit of the "Control command".
The "Memory address" is from "0" to "31".
When the "Read-out data" is 2 bytes or more, the "Read-out data" is input while incrementing the "Memory address".
When the "Memory address" is incremented from "31", it becomes "0".
The "Read-out data" can be input unlimitedly in 1-byte units.
For example, when inputting "Read-out data" from "Device number 0" (DN0) to "Device number 7" (DN7), output the following
data:
MOSI
1001 0000
0000 0000
0000 0000
0000 0000
0000 0000
0000 0000
MISO
Hi-Z
Hi-Z
DN1, DN0
DN3, DN2
DN5, DN4
DN7, DN6
This is the data when the "ss" bit is "00".
For details on "Port change interrupt flag memory", see "5.2.8 Port change interrupt flag memory".