Figure 18.100 Error Occurrence In Pwm Mode 2, Recovery In Phase Counting Mode - Renesas HD6417641 Hardware Manual

32-bit risc microcomputer superh risc engine family / sh7641 series
Table of Contents

Advertisement

(16) Operation when Error Occurs during PWM Mode 2 Operation, and Operation is
Restarted in Phase Counting Mode
Figure 18.100 shows an explanatory diagram of the case where an error occurs in PWM mode 2
and operation is restarted in phase counting mode after re-setting.
1
RESET
TMDR
(PWM2)
MTU module
output
TIOC*A
TIOC*B
Port output
TIOC*A/PTE[n]
TIOC*B/PTE[n]
n = 0 to 15

Figure 18.100 Error Occurrence in PWM Mode 2, Recovery in Phase Counting Mode

1 to 9 are the same as in figure 18.97.
10. Set phase counting mode.
11. Initialize the pins with TIOR.
12. Set MTU output with the PFC.
13. Operation is restarted by TSTR.
2
3
4
5
6
TIOR
PFC
TSTR
Match
(1 init
(MTU)
(1)
0 out)
• Not initialized (cycle register)
High-Z
High-Z
Section 18 Multi-Function Timer Pulse Unit (MTU)
7
8
9
10
Error
PFC
TSTR
TMDR
TIOR
occurs
(PORT)
(0)
(PCM)
(1 init
0 out)
Rev. 4.00 Sep. 14, 2005 Page 659 of 982
11
12
13
PFC
TSTR
(MTU)
(1)
REJ09B0023-0400

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7641

Table of Contents