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.
Содержание mPD789026 Subseries
Страница 2: ...User s Manual U11919EJ3V0UM00 2 MEMO...
Страница 8: ...User s Manual U11919EJ3V0UM00 8 MEMO...
Страница 12: ...User s Manual U11919EJ3V0UM00 12 MEMO...
Страница 22: ...User s Manual U11919EJ3V0UM00 22 MEMO...
Страница 32: ...User s Manual U11919EJ3V0UM00 32 MEMO...
Страница 84: ...User s Manual U11919EJ3V0UM00 84 MEMO...
Страница 92: ...User s Manual U11919EJ3V0UM00 92 MEMO...
Страница 104: ...User s Manual U11919EJ3V0UM00 104 MEMO...
Страница 166: ...User s Manual U11919EJ3V0UM00 166 MEMO...
Страница 178: ...User s Manual U11919EJ3V0UM00 178 MEMO...
Страница 184: ...User s Manual U11919EJ3V0UM00 184 MEMO...
Страница 204: ...User s Manual U11919EJ3V0UM00 204 MEMO...
Страница 206: ...User s Manual U11919EJ3V0UM00 206 MEMO...
Страница 212: ...User s Manual U11919EJ3V0UM00 212 MEMO...