42
PRELIMINAR
Y
Notice:
This
is not
a final
specification.
Some
parametric
limits
are
subject
to change.
MITSUBISHI MICROCOMPUTERS
M37754M8C-XXXGP, M37754M8C-XXXHP
M37754S4CGP, M37754S4CHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Pulse output port mode
Figure 48 shows the pulse output port mode block diagram.
This mode has an 8-bit pulse output port. The waveform output se-
lect bits (bits 0 to 2) of waveform output mode register (address
1A16, Figure 49) select use of pulse output port. The 8-bit pulse out-
pulse output mode select bit (bit 4) of pulse output data register 1
(address 1C16, Figure 51) ; each of them can be individually con-
trolled.
D
R
Q
D
R
Q
D Q
T
DQ
T
DQ
D15
D14
D13
D3
D2
D1
D0
D11
D10
D9
D8
Timer A0
Timer A1
RTP13
RTP12
RTP11
RTP10
RTP03
RTP02
RTP01
RTP00
Waveform output control bit 0
Polarity select bit
Reset
Pulse width modulation
select bit 0
Reset
Pulse output mode
select bit
Pulse width modulation data bit
Data
bus
(even)
Data
bus
(odd)
Pulse width modulation
output of timer A4
Pulse width modulation
output of timer A3
Pulse width modulation
output of timer A2
Pulse width modulation
select bit 1
Pulse output data register 1
Pulse output data register 0
Waveform output control bit 0
Note : Only when bit 5 of the particular function select register 1 (in Fig. 15) is set to “1”, the following registers’ contents can be changed from the
status after reset (in Fig.76) : Waveform output mode register (address 1A16) and Pulse output data registers 0 and 1 (addresses 1C16, 1D16).
Fig. 48 Pulse output port mode block diagram
Set timers A1 and A0 to the timer mode because they are used in the
pulse output mode. Additionally, set bit 2 of the corresponding timer
Ai mode register to “1” to use a pulse output port because the pulse
output port are multiplexed with the TAiOUT (i = 0 to 4). Figure 50
shows the bit configuration of timer A1 and A0 mode registers in the
pulse output port mode.
Timers A1 and A0 start count when setting the corresponding timer
count start flag to “1”, and they stop it when clearing that flag to “0”.