PULSE OUTPUT PORT MODE
9.2 Block description
(2) Pulse output mode select bit (bit 3)
This bit is used to select the type of the pulse output port mode: pulse mode 0 or pulse mode 1.
(3) Pulse width modulation timer select bits (bits 5 and 4)
These bits are used to select the type of the pulse width modulation. Table 9.2.2 lists the functions
of the pulse width modulation timer select bits.
Table 9.2.2 Functions of pulse width modulation timer select bits
b5 b4
Pulse mode 0
(Note)
00
01
10
11
P6
P6
P6
P6
3
2
1
0
/RTP0
3
2
1
0
/RTP0
/RTP0
/RTP0
Do not select.
Timer A1
Timer A1
Do not select.
Do not select.
P6
P6
5
4
/RTP1
/RTP1
1
0
P6
P6
P6
5
4
3
/RTP1
/RTP1
/RTP0
1
0
3
Pulse mode 1 P6
5
4
3
2
1
0
/RTP1
1
0
3
2
1
0
Timer A4
Timer A2
Timer A1
Timer A2
Timer A1
P6
P6
P6
P6
P6
/RTP1
/RTP0
/RTP0
/RTP0
/RTP0
P6
P6
3
2
/RTP0
/RTP0
3
2
Do not select.
P6
P6
P6
2
1
0
/RTP0
/RTP0
/RTP0
2
1
0
P6
P6
1
0
/RTP0
/RTP0
1
0
Note: The pulse width modulation cannot be applied to pins RTP1
0
and RTP1 .
1
(4) Waveform output control bit 0 (bit 6)
• Pulse mode 0
When this bit is set to “1,” pulse output from pins RTP1
0
and RTP1
1
becomes enabled.
When this bit is cleared to “0,” pins RTP1
• Pulse mode 1
0
and RTP1
1
enter the floating state.
Fix this bit to “0.”
(5) Waveform output control bit 1 (bit 7)
• Pulse mode 0
When this bit is set to “1,” pulse output from pins RTP0
0
to RTP0
3
becomes enabled.
When this bit is cleared to “0,” pins RTP0
• Pulse mode 1
0
to RTP0
3
enter the floating state.
When this bit is set to “1,” pulse output from pins RTP0
0
to RTP0
3
, RTP1
0
, and RTP1
1
becomes
enabled.
When this bit is cleared to “0,” pins RTP0
0
to RTP0
3
, RTP1
0
, and RTP1
1
enter the floating state.
When a falling edge is input to pin P6OUTCUT, this bit becomes “0.” (See Figure 9.2.8.)
7906 Group User’s Manual Rev.2.0
9-5