CHAPTER 6 16-BIT TIMER/EVENT COUNTER
133
User’s Manual U11302EJ4V0UM
(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.
Figure 6-8. Format of External Interrupt Mode Register
0
INTM0
7
6
5
4
3
2
Symbol
1
0
ES10
ES11
INTP0/TI0 valid edge selection
0
0
Falling edge
Rising edge
FFECH
0
ES11
ES20
ES21
ES30
ES31
1
1
ES10
0
1
0
1
Setting prohibited
Both falling and rising edges
ES21
INTP1 valid edge selection
0
0
Falling edge
Rising edge
1
1
ES20
0
1
0
1
Setting prohibited
Both falling and rising edges
ES31
INTP2 valid edge selection
0
0
Falling edge
Rising edge
1
1
ES30
0
1
0
1
Setting prohibited
Both falling and rising edges
Address
After reset
R/W
00H
R/W
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.
Содержание mPD780204
Страница 2: ...2 User s Manual U11302EJ4V0UM MEMO ...