![background image](http://html1.mh-extra.com/html/nec/mpd789026-subseries/mpd789026-subseries_user-manual_4079378155.webp)
CHAPTER 10 INTERRUPT FUNCTIONS
User's Manual U11919EJ3V0UM00
155
(3)
External interrupt mode register 0 (INTM0)
This register is used to set the valid edge of INTP0 to INTP2.
INTM0 is set with an 8-bit memory manipulation instruction.
RESET input clears INTM0 to 00H.
Figure 10-4. External Interrupt Mode Register 0 Format
'
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. Be sure to set bits 0 and 1 to 0.
2. Before setting INTM0 register, be sure to set the corresponding interrupt mask flag
(
××
××
××
××
MK
××××
= 1) to disable interrupts. After setting INTM0 register, clear the interrupt
request flag (
××
××
××
××
IF
××××
= 0), then clear the interrupt mask flag (
××
××
××
××
MK
××××
= 0) to enable
interrupts.
Summary of Contents for mPD789026 Subseries
Page 2: ...User s Manual U11919EJ3V0UM00 2 MEMO...
Page 8: ...User s Manual U11919EJ3V0UM00 8 MEMO...
Page 12: ...User s Manual U11919EJ3V0UM00 12 MEMO...
Page 22: ...User s Manual U11919EJ3V0UM00 22 MEMO...
Page 32: ...User s Manual U11919EJ3V0UM00 32 MEMO...
Page 84: ...User s Manual U11919EJ3V0UM00 84 MEMO...
Page 92: ...User s Manual U11919EJ3V0UM00 92 MEMO...
Page 104: ...User s Manual U11919EJ3V0UM00 104 MEMO...
Page 166: ...User s Manual U11919EJ3V0UM00 166 MEMO...
Page 178: ...User s Manual U11919EJ3V0UM00 178 MEMO...
Page 184: ...User s Manual U11919EJ3V0UM00 184 MEMO...
Page 204: ...User s Manual U11919EJ3V0UM00 204 MEMO...
Page 206: ...User s Manual U11919EJ3V0UM00 206 MEMO...