NEC UPD789026 Series User Manual page 155

8-bit single-chip
Table of Contents

Advertisement

(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.
Symbol
INTM0
ES21
ES21
ES11
ES01
www.DataSheet4U.com
Cautions 1. Be sure to set bits 0 and 1 to 0.
CHAPTER 10 INTERRUPT FUNCTIONS
Figure 10-4. External Interrupt Mode Register 0 Format
7
6
5
ES20
ES11
ES10
ES20
0
0
Falling edge
0
1
Rising edge
1
0
Setting prohibited
Both rising and falling edges
1
1
ES10
0
0
Falling edge
0
1
Rising edge
1
0
Setting prohibited
Both rising and falling edges
1
1
ES00
0
0
Falling edge
0
1
Rising edge
Setting prohibited
1
0
Both rising and falling edges
1
1
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
××
(××
××IF× × × × = 0), then clear the interrupt mask flag (××
××
××
request flag (××
interrupts.
'
4
3
2
ES01
ES00
INTP2 Valid Edge Selection
INTP1 Valid Edge Selection
INTP0 Valid Edge Selection
User's Manual U11919EJ3V0UM00
Address
1
0
0
0
FFECH
××MK× × × × = 0) to enable
××
××
After Reset
R/W
00H
R/W
155

Advertisement

Table of Contents
loading

This manual is also suitable for:

Upd78f9026aUpd789025Upd789022Upd789024Upd789026

Table of Contents