English
Language : 

SH7014 Datasheet, PDF (307/754 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
10. Multifunction Timer Pulse Unit (MTU)
10.8 MTU Output Pin Initialization
10.8.1 Operating Modes
The MTU has the following four operating modes. Waveform output is possible in all of these
modes.
• Normal mode (channels 0 to 2)
• PWM mode 1 (channels 0 to 2)
• PWM mode 2 (channels 0 to 2)
• Phase counting modes 1 to 4 (channels 1 and 2)
The MTU output pin initialization method for each of these modes is described in this section.
10.8.2 Reset Start Operation
The MTU output pins (TIOC*) are initialized low by a reset and in standby mode. Since MTU pin
function selection is performed by the pin function controller (PFC), when the PFC is set, the
MTU pin states at that point are output to the ports. When MTU output is selected by the PFC
immediately after a reset, the MTU output initial level, low, is output directly at the port. When
the active level is low, the system will operate at this point, and therefore the PFC setting should
be made after initialization of the MTU output pins is completed.
Note: Channel number and port notation are substituted for *.
10.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. 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 four operating modes, as stated above. There are thus 16 mode transition
combinations. Possible mode transition combinations are shown in table 10.14.
Rev.5.00 Sep. 27, 2007 Page 273 of 716
REJ09B0398-0500