English
Language : 

SH7137_09 Datasheet, PDF (21/24 Pages) Renesas Technology Corp – Output of Complementary Pairs of PWM Signals in Three Phases
SH7280 Group
MTU2: Output of Complementary Pairs of PWM Signals in Three Phases
(Complementary PWM Mode)
2.5.4 Interrupt Controller (INTC)
Table 10 gives a list of settings for registers of the interrupt controller (INTC).
Table 10 Interrupt Controller (INTC)
Register Name
Interrupt priority register E
(IPRE)
Address
H'FFFFE984
Setting
H'00F0
Description
Selects interrupt priority (level 0 to 15).
• Bit 15 to 12 = B'0000:
MTU2 (TGIA_2 and TGIB_2) interrupt level =
0
• Bit 11 to 8 = B'0000:
MTU2 (TCI2V and TCI2U) interrupt level = 0
• Bit 7 to 4 = B'1111:
MTU3 (TGI3A to TGI3D) interrupt level = 15
• Bit 3 to 0 = B'0000:
MTU3 (TCIV_3) interrupt level = 0
In this sample program, TGI3A interrupt is used.
2.5.5 Pin Function Controller (PFC)
Table 11 gives a list of settings for registers of the pin function controller (PFC).
Table 11 Pin Function Controller (PFC)
Register Name
Address
Setting Description
Port E control register H'FFFFD310
L4 (PECRL4)
Port E control register H'FFFFD312
L3 (PECRL3)
Port E I/O register L
(PEIORL)
H'FFFFD306
H'1111
H'1011
H'FB00
Specifies functions of multiplexed pins on port E.
• PE15MD[2:0] = B'001: Specifies the TIOC4D I/O (MTU2) for PE15.
• PE14MD[2:0] = B'001: Specifies the TIOC4C I/O (MTU2) for PE14.
• PE13MD[2:0] = B'01: Specifies the TIOC4B I/O (MTU2) for PE13.
• PE12MD[2:0] = B'001: Specifies the TIOC4A I/O (MTU2) for PE12.
Specifies functions of multiplexed pins on port E.
• PE11MD[2:0] = B'001: Specifies the TIOC3D I/O (MTU2) for PE11.
• PE10MD[2:0] = B'000: Specifies the PE10 I/O (port) for PE10.
• PE9MD[2:0] = B'001: Specifies the TIOC3B I/O (MTU2) for PE9.
• PE8MD[2:0] = B'001: Specifies the TIOC3A I/O (MTU2) for PE8.
Specifies input and output directions for port E pins.
• PE15IOR = B'1: Specifies the TIOC4D pin (PE15) for output.
• PE14IOR = B'1: Specifies the TIOC4C pin (PE14) for output.
• PE13IOR = B'1: Specifies the TIOC4B pin (PE13) for output.
• PE12IOR = B'1: Specifies the TIOC4A pin (PE12) for output.
• PE11IOR = B'1: Specifies the TIOC3D pin (PE11) for output.
• PE10IOR = B'0: Specifies the PE10 (port) for input.
• PE9IOR = B'1: Specifies the TIOC3B pin (PE9) for output.
• PE8IOR = B'1: Specifies the TIOC3A pin (PE8) for output.
• PE7IOR to PE0IOR all set to B'0: PE7 to PE0 are
input pins.
REJ06B0887-0100/Rev.1.00
June 2009
Page 21 of 24