![](http://datasheet.mmic.net.cn/370000/UPD784031GC-3B9_datasheet_16743921/UPD784031GC-3B9_46.png)
μ
PD784031
46
(3) Real-time output port
INTC10 and INTC11 function as the output triggers for the real-time output ports. For these triggers, the macro
service can simultaneously set the next output pattern and interval. Therefore, INTC10 and INTC11 can be used
to independently control two stepping motors. They can also be applied to PWM and DC motor control.
Match
(SFR)
INTC10
P00-P03
(SFR)
Output pattern profile (memory)
Output timing profile (memory)
P
n
P
n–1
P
2
P
1
Internal bus
P0L
Output latch
CR10
TM1
Internal bus
T
n
T
n–1
T
2
T
1
Each time a macro service request (INTC10) is generated, a pattern and timing data are transferred to the buffer
register (P0L) and compare register (CR10), respectively. When the contents of timer register 1 (TM1) and CR10
match, another INTC10 is generated, and the P0L contents are transferred to the output latch. When Tn (last
byte) is transferred to CR10, a vectored interrupt request (INTC10) is generated.
For INTC11, the same operation as that performed for INTC10 is performed.