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.
www.DataSheet4U.com
Summary of Contents for UPD789026 Series
Page 2: ...User s Manual U11919EJ3V0UM00 2 MEMO www DataSheet4U com...
Page 8: ...User s Manual U11919EJ3V0UM00 8 MEMO www DataSheet4U com...
Page 12: ...User s Manual U11919EJ3V0UM00 12 MEMO www DataSheet4U com...
Page 22: ...User s Manual U11919EJ3V0UM00 22 MEMO www DataSheet4U com...
Page 32: ...User s Manual U11919EJ3V0UM00 32 MEMO www DataSheet4U com...
Page 84: ...User s Manual U11919EJ3V0UM00 84 MEMO www DataSheet4U com...
Page 92: ...User s Manual U11919EJ3V0UM00 92 MEMO www DataSheet4U com...
Page 104: ...User s Manual U11919EJ3V0UM00 104 MEMO www DataSheet4U com...
Page 166: ...User s Manual U11919EJ3V0UM00 166 MEMO www DataSheet4U com...
Page 178: ...User s Manual U11919EJ3V0UM00 178 MEMO www DataSheet4U com...
Page 184: ...User s Manual U11919EJ3V0UM00 184 MEMO www DataSheet4U com...
Page 204: ...User s Manual U11919EJ3V0UM00 204 MEMO www DataSheet4U com...
Page 206: ...User s Manual U11919EJ3V0UM00 206 MEMO www DataSheet4U com...
Page 212: ...User s Manual U11919EJ3V0UM00 212 MEMO www DataSheet4U com...