English
Language : 

UPD784020 Datasheet, PDF (48/90 Pages) NEC – 16/8-BIT SINGLE-CHIP MICROCOMPUTER
mPD784020, 784021
(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.
Output pattern profile (memory)
Pn
Pn–1
Output timing profile (memory)
Tn
Tn–1
P2
T2
P1
T1
Internal bus
(SFR)
P0L
P00-P03
Output latch
Internal bus
Match
INTC10
CR10
TM1
(SFR)
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.
48