346
CHAPTER 16 DTP/EXTERNAL INTERRUPTS
16.3
DTP/External Interrupt
The interrupt related to the DTP/external interrupt occurs when the edge or level input
to input pin is detected.
The DTP/external interrupt can activate the DMA transfer and extended intelligent I/O
service (EI
2
OS).
■
DTP/External Interrupt
The interrupt control bit and interrupt source of the DTP/external interrupt is shown in the
following table.
❍
Setting procedure
To use the DTP/external interrupt, set each register by using the following procedures:
1. Set the interrupt request enable bit corresponding to the DTP/external interrupt channel to be
used to "0" (ENIR:EN).
2. Use the detection condition select bit corresponding to the DTP/external interrupt channel to
be used to set the edge or level to be detected (ELVR:LA/LB).
3. Set the interrupt request flag corresponding to the DTP/external interrupt channel to be used
to "0" (EIRR:ER).
4. Set the corresponding interrupt request enable bit to "1" (ENIR:EN).
Notes:
• When setting the registers for the DTP/external interrupt, the external interrupt request must be
disabled (ENIR:EN=0).
• When enabling the DTP/external interrupt (ENIR:EN=1), the corresponding DTP/external
interrupt request flag bit must be cleared in advance (EIRR:ER=0). These actions prevent the
mistaken interrupt request from occurring when setting the register.
External interrupt
When ISE of ICR = 0
DTP interrupt when ISE
of ICR = 1
Interrupt request flag
EIRR:ER (bit8 to 15)
EIRR:ER (bit8 to 15)
Interrupt request output enable bit
ENIR:EN (bit0 to 7)
ENIR:EN (bit0 to 7)
Interrupt generation source
Detect external interrupt
Detect external interrupt
Summary of Contents for MB90480 Series
Page 2: ......
Page 4: ......
Page 10: ...vi ...
Page 128: ...106 CHAPTER 4 RESET ...
Page 174: ...152 CHAPTER 6 LOW POWER CONSUMPTION MODE ...
Page 198: ...176 CHAPTER 7 MODE SETTING ...
Page 220: ...198 CHAPTER 9 TIMEBASE TIMER ...
Page 238: ...216 CHAPTER 11 WATCH TIMER ...
Page 280: ...258 CHAPTER 12 16 BIT INPUT OUTPUT TIMER ...
Page 406: ...384 CHAPTER 17 8 10 BIT A D CONVERTER ...
Page 478: ...456 CHAPTER 20 CHIP SELECTION FACILITY ...
Page 494: ...472 CHAPTER 21 ADDRESS MATCH DETECTION FUNCTION ...
Page 498: ...476 CHAPTER 22 ROM MIRROR FUNCTION SELECTION MODULE ...
Page 526: ...504 CHAPTER 23 2M 3M BIT FLASH MEMORY ...
Page 536: ...514 CHAPTER 24 EXAMPLES OF MB90F481B MB90F482B MB90F488B MB90F489B SERIAL PROGRAMMING ...
Page 570: ...548 CHAPTER 25 PWC TIMER ONLY MB90485 SERIES ...
Page 688: ......