Hitachi NJI-350B Video Game Controller User Manual


 
Chapter 8 High-speed counter, PWM / Pulse train output and Analogue I/O
8-14
(5) Individual counter setting
The on-preset and off-preset values can be changed for each two-phase counter by the special internal output for
individual setting (WRF058) regardless of whether the CPU is operating or stopped. Turn on the corresponding bit in the
following special internal outputs when only the on-preset or the off-preset value should be changed for a two-phase
counter. (To change both settings at the same time, set the “H3” in the corresponding special internal outputs for
individual setting.)
Moreover, when the specified on-preset and off-preset values are the same, the corresponding bit of the error display
special internal output is turned on and operation is performed using the preset value before the setting. (The set value for
the special internal output also returns to the preset value before the setting was made)
15 2 1 0
WRF058:
Two-phase
counter
Not used a b
Figure 8.24 Special internal output for individual setting of counter setting values
Bit Description
a Off-preset change request
b On-preset change request