CHAPTER 14 INTERRUPT FUNCTIONS
User’s Manual U15075EJ2V1UD
273
(3) External interrupt mode register 0 (INTM0)
This register is used to specify a valid edge for INTP0 to INTP2.
INTM0 is set with an 8-bit memory manipulation instruction.
RESET input sets INTM0 to 00H.
Figure 14-4. Format of External Interrupt Mode Register 0
0
0
1
1
ES21 ES20 ES11 ES10 ES01 ES00
0
0
INTM0
R/W
FFECH
00H
R/W
7
6
5
4
3
2
1
0
0
1
0
1
0
0
1
1
0
1
0
1
0
0
1
1
0
1
0
1
Symbol
Address
After reset
INTP0 valid edge selection
Falling edge
Rising edge
Setting prohibited
Both rising and falling edges
INTP1 valid edge selection
Falling edge
Rising edge
Setting prohibited
Both rising and falling edges
INTP2 valid edge selection
Falling edge
Rising edge
Setting prohibited
Both rising and falling edges
ES00
ES01
ES11 ES10
ES20
ES21
Cautions 1. Bits 0 and 1 must be set to 0.
2. Before setting the INTM0 register, be sure to set the relevant interrupt mask flag to 1 to
disable interrupts.
After that, clear (0) the interrupt request flag, then set the interrupt mask flag to 0 to enable
interrupts.
Содержание U789436 Series
Страница 2: ...2 User s Manual U15075EJ2V1UD MEMO ...
Страница 7: ...User s Manual U15075EJ2V1UD 7 MEMO ...