
411
Figure 12.95 shows an example of the duration while the temporary register is executing
comparisons. initial TB, TA, and TB indicate the duration of the temporary register comparison.
initial TB
TA
TB
TA
TB
TGR3A
TCDR
TDDR
H'0000
TCNT3
TCNT4
Figure. 12.95 Temporary Register Comparison Execution Time
12.8
MTU Output Pin Initialization
12.8.1
Operating Modes
The MTU has the following six operating modes. Waveform output is possible in all of these
modes.
•
Normal mode (channels 0 and 4)
•
PWM mode 1 (channels 0 and 4)
•
PWM mode 2 (channels 0 and 2)
•
Phase counting modes 1–4 (channels 1 and 2)
•
Complementary PWM mode (channels 3 and 4)
•
Reset-synchronous PWM mode (channels 3 and 4)
The MTU output pin initialization method for each of these modes is described in this section.
12.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 *.
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...