beautypg.com

Renesas SH7641 User Manual

Page 692

background image

Section 18 Multi-Function Timer Pulse Unit (MTU)

Rev. 4.00 Sep. 14, 2005 Page 642 of 982

REJ09B0023-0400

18.8.3

Operation in Case of Re-Setting Due to Error During Operation, etc.

If an error occurs during MTU operation, MTU output should be cut by the system. Cutoff is
performed by switching the pin output to port output with the PFC and outputting the inverse of
the active level. For large-current pins, output can also be cut by hardware, using port output
enable (POE). The pin initialization procedures for re-setting due to an error during operation, etc.,
and the procedures for restarting in a different mode after re-setting, are shown below.

The MTU has six operating modes, as stated above. There are thus 36 mode transition
combinations, but some transitions are not available with certain channel and mode combinations.
Possible mode transition combinations are shown in table 18.43.

Table 18.43 Mode Transition Combinations

After

Before Normal

PWM1 PWM2 PCM CPWM RPWM

Normal

(1) (2) (3) (4) (5) (6)

PWM1

(7) (8) (9) (10)

(11)

(12)

PWM2

(13) (14) (15) (16) None

None

PCM (17) (18) (19) (20) None

None

CPWM (21) (22) None None (23)

(24)

(25)

RPWM (26) (27) None None (28) (29)

[Legend]

Normal: Normal mode

PWM1: PWM mode 1

PWM2: PWM mode 2

PCM: Phase counting modes 1 to 4

CPWM: Complementary PWM mode

RPWM: Reset-synchronous PWM mode

The above abbreviations are used in some places in following descriptions.

This manual is related to the following products: