NEC mPD789426 Series User Manual page 269

8-bit single-chip
Table of Contents

Advertisement

(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.
7
6
5
Symbol
INTM0
ES21 ES20 ES11 ES10 ES01 ES00
ES21
ES20
0
0
Falling edge
0
1
Rising edge
1
0
Setting prohibited
1
1
Both rising and falling edges
ES11 ES10
0
0
Falling edge
0
1
Rising edge
1
0
Setting prohibited
Both rising and falling edges
1
1
ES00
ES01
0
0
Falling edge
0
1
Rising edge
Setting prohibited
1
0
Both rising and falling edges
1
1
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.
CHAPTER 14 INTERRUPT FUNCTIONS
Figure 14-4. Format of External Interrupt Mode Register 0
4
3
2
1
0
User's Manual U15075EJ1V0UM00
Address
After reset
0
0
FFECH
00H
INTP2 valid edge selection
INTP1 valid edge selection
INTP0 valid edge selection
R/W
R/W
269

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd789436 seriesMpd789446 seriesMpd789456 seriesMpd789425Mpd789445Mpd789426 ... Show all

Table of Contents