TA600032-EN0/0
- 36 -
5.2.2.3
Type selection
Bits 7 to 4 of the "Control command" are for "Type selection" (TS).
There are 13 types of "Control commands" in total.
They output "Address" and "Write-in data", and input "Read-out data" respectively.
Type selection
TS[7:4]
Name
Output data
Bytes
0000
Register writing
Register address, Write-in data × 2n
2+2n
0001
Register reading
Register address, Dummy data × 2n
2+2n
0010
Operation command execution
Operation command
2
0011
Status reading
Dummy data × 2
3
0100
Port data writing
Memory address, Write-in data × n
2+n
0101
Port data reading
Memory address, Dummy data × n
2+n
0110
Port change interrupt setting writing
Memory address, Write-in data × n
2+n
0111
Port change interrupt setting reading
Memory address, Dummy data × n
2+n
1000
Port change interrupt flag clear
Memory address, Write-in data × n
2+n
1001
Port change interrupt flag reading
Memory address, Dummy data × n
2+n
1010
1011
Relative time latch reading
Dummy data × 4
5
1100
1101
Port change interrupt information reading
Dummy data × 6
7
1110
1111
Local LSI connection state reading
Memory address, Dummy data × n
2+n
The "Control command" that includes "Dummy data" in "Output data" has "Read-out data".
The "Address" is incremented by the number of "Dummy data", and continuous "Read-out data" can be input.
The minimum value of n is "1".
C a u t i o n
Do not use "1010b", "1100b", and "1110b" in
"Type selection".
That can cause unintended behavior.