
276
CHAPTER 16 INTERRUPT FUNCTION
User
’
s Manual U15017EJ2V0UD
Figure 16-22. Format of Macro Service Mode Register (2/2)
(3) Macro service channel pointer
The macro service channel pointer specifies the macro service channel address. The macro service channel
can be located in the 256-byte space from FE06H to FE1DH when the LOCATION 0H instruction is executed,
or FFE06H to FFE1DH when the LOCATION 0FH instruction is executed, and the higher 16 bits of the address
are fixed. Therefore, the lower 8 bits of the data stored to the highest address of the macro service channel are
set in the macro service channel pointer.
16.8.6 Macro service type A
(1) Operation
Data transfers are performed between buffer memory in the macro service channel and an SFR specified in the
macro service channel.
With type A, the data transfer direction can be selected as memory-to-SFR or SFR-to-memory.
Data transfers are performed the number of times set beforehand in the macro service counter. One macro
service processing transfers 8-bit or 16-bit data.
Type A macro service is useful when the amount of data to be transferred is small, as transfers can be performed
at high speed.
7
VCIE
6
MOD2
5
MOD1
4
MOD0
3
CHT3
2
CHT2
1
CHT1
0
CHT0
CHT0
1
1
0
CHT1
1
0
0
CHT2
1
1
1
CHT3
1
1
1
0
1
1
1
MOD2 MOD1 MOD0
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
Type C
Decrements MPD
Increments MPD
Retains MPT
Decrements MPT
Retains MPT
Increments MPT
Data size for timer
specified by MPT:
1 byte
No automatic
addition
No ring control
Ring control
Automatic
addition
No ring control
Ring control
No ring control
Ring control
No ring control
Ring control
Data size for timer
specified by MPT:
2 bytes
No automatic
addition
Automatic
addition
VCIE
0
1
Generated
Not generated (next interrupt servicing is vectored interrupt)
Interrupt request when MSC = 0