(5) External interrupt mode register (INTM0)
This register is used to set the INTP0 to INTP2 and TI0 valid edges.
INTM0 is set with an 8-bit memory manipulation instruction.
RESET input sets INTM0 to 00H.
Remarks 1. The INTP0 pin is also used as TI0/P00.
2. The valid edge of INTP3 is fixed to the falling edge.
Symbol
7
6
INTM0
ES31
ES30
Caution When using the INTP0/TI0/P00 pin as a timer input pin (TI0), stop the operation of the 16-bit
timer by clearing bits 1 to 3 (TMC01 to TMC03) of the 16-bit timer mode control register (TMC0)
to 0, 0, 0, before setting the valid edge of TI0. When using the INTP0/TI0/P00 pin as an external
interrupt input pin (INTP0), the valid edge of INTP0 may be set while the 16-bit timer is
operating.
CHAPTER 6 16-BIT TIMER/EVENT COUNTER
Figure 6-8. Format of External Interrupt Mode Register
5
4
3
2
ES21
ES20
ES11
ES10
User's Manual U11302EJ4V0UM
1
0
Address
0
0
FFECH
ES11
ES10
INTP0/TI0 valid edge selection
0
0
Falling edge
0
1
Rising edge
1
0
Setting prohibited
1
1
Both falling and rising edges
INTP1 valid edge selection
ES21
ES20
0
0
Falling edge
0
1
Rising edge
1
0
Setting prohibited
1
1
Both falling and rising edges
INTP2 valid edge selection
ES31
ES30
0
0
Falling edge
0
1
Rising edge
1
0
Setting prohibited
1
1
Both falling and rising edges
After reset
R/W
00H
R/W
133