PULSE OUTPUT PORT MODE
[Precautions for pulse output port mode]
[Precautions for pulse output port mode]
1. When using pulse output port 0, be sure to set the relevant registers after setting the waveform output select bits
(bits 2 to 0 at address A616).
When not using pulse output port 0 and three-phase waveform mode, be sure to fix the waveform output
select bits (bits 2 to 0 at address A616) to “000 .”
2
2. When using pulse output port 1, be sure to set the relevant registers after setting the waveform output select bits
(bits 2 to 0 at address A016).
When not using pulse output port 1, be sure to fix the waveform output select bits (bits 2 to 0 at address A016) to
“000 .”
2
3. When performing the pulse width modulation in pulse output port 0, be sure to use timers A1, A2, A4 in the pulse
width modulation mode. (Refer to section “7.6 Pulse width modulation (PWM) mode.”) Note that, from pin P2
TA4OUT, a PWM pulse by timer A4 is output. When it is unnecessary to output a PWM pulse, be sure to clear bit 2 of
the timer A4 mode register (address 5A16) to “0.” At this time, pin P2 can be used as a programmable I/O port pin.
0
/
0
4. When performing the pulse width modulation in pulse output port 1, be sure to use timers A6, A7, A9 in the pulse
width modulation mode. (Refer to section “7.6 Pulse width modulation (PWM) mode.”) Note that, from pin P2
TA9OUT, a PWM pulse by timer A9 is output. When it is unnecessary to output a PWM pulse, be sure to clear bit 2 of
the timer A9 mode register (address DA16) to “0.” At this time, pin P2 can be used as a programmable I/O port pin.
2
/
2
5. Note that, when not making the pulse output inactive by input of a falling edge to pin P6OUTCUT or P4OUTCUT, be
sure to connect pin P6OUTCUT or P4OUTCUT to Vcc via a resistor.
7905 Group User’s Manual Rev.1.0
9-36