M37754 Mitsubishi, M37754 Datasheet - Page 42

no-image

M37754

Manufacturer Part Number
M37754
Description
SINGLE-CHIP 16BIT CMOS MICROCOMPUTER
Manufacturer
Mitsubishi
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M37754S4CGP
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
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
1A
put port is divided into 4 bits and 4 bits, or 6 bits and 2 bits with the
pulse output mode select bit (bit 4) of pulse output data register 1
(address 1C
trolled.
Fig. 48 Pulse output port mode block diagram
42
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
16
, Figure 49) select use of pulse output port. The 8-bit pulse out-
status after reset (in Fig.76) : Waveform output mode register (address 1A
16
, Figure 51) ; each of them can be individually con-
Pulse output mode
select bit
Pulse width modulation data bit
Pulse output data register 1
Pulse output data register 0
Pulse width modulation
output of timer A4
Pulse width modulation
output of timer A3
Pulse width modulation
output of timer A2
Timer A1
Timer A0
D15
D14
D13
D11
D10
D3
D2
D1
D0
D9
D8
D Q
D Q
D Q
D Q
D Q
D Q
D Q
D Q
D Q
D Q
D Q
T
T
T
T
Pulse width modulation
select bit 1
M37754M8C-XXXGP, M37754M8C-XXXHP
16
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 TAi
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”.
Pulse width modulation
select bit 0
) and Pulse output data registers 0 and 1 (addresses 1C
M37754S4CGP, M37754S4CHP
Polarity select bit
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Waveform output control bit 0
MITSUBISHI MICROCOMPUTERS
Reset
Reset
Waveform output control bit 0
D
D
R
R
Q
Q
OUT
(i = 0 to 4). Figure 50
16
, 1D
RTP1
RTP1
RTP1
RTP1
RTP0
RTP0
RTP0
RTP0
16
).
3
2
1
0
3
2
1
0

Related parts for M37754