Precaution Of Using Dtp/External Interrupt - Fujitsu MB90335 Series Hardware Manual

16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 16 DTP/EXTERNAL INTERRUPT

16.4 Precaution of Using DTP/External Interrupt

16.4
Precaution of Using DTP/External Interrupt
Notes DTP/an external interruption is used are explained.
■ Condition of Peripheral Equipment Connected Outside
The external peripheral device that the DTP can support must automatically clear the request at the transfer
execution. In addition, if the transfer request is not canceled within three-machine-cycle (an interim value)
after the transfer operation started, this resource handles it as if the next transfer request occurs.
■ Operation Process of DTP/External Interrupt
Set the registers within the DTP/external interrupt by using the following procedures:
1. The general-purpose I/O port that shared with the pin used as an external interruption input is set to the
Input port.
2. Disable the bits for the enable register.
3. The target bit for request level set register is set.
4. The target bit for the factor register is cleared.
5. Enable the bits for the enable register.
Simultaneous writing is possible for (4) and (5) with the word specification.
Before setting registers in this resource, the enable register must be disabled. In addition, before enabling
the enable register, the factor register must be cleared. These actions prevent erroneous interrupt factor
occurrence at register setting or in the interrupt enable state.
■ External Interrupt Request Level
• Minimum 3 machine cycles are necessary for the pulse width to detect the edge presence when the
request level is set to the edge request.
• When the request input level is set to the level setting, the request to the interrupt controller remains
active while the interrupt request is enable (ENIR: EN = 1) even if an external request is input and
canceled afterward. To cancel the request for the interrupt controller, the interrupt request flag bit
(EIRR: ER) must be cleared.
Figure 16.4-1 Clearing the Interrupt Request Flag Bit (EIRR: ER) Upon Level Set
Interrupt factor
364
The interrupt request
Level detection
flag bit (EIRR : ER)
Continue to retain the factor
as long as it is not cleared.
FUJITSU MICROELECTRONICS LIMITED
MB90335 Series
to
Enable gate
Interrupt
controller
CM44-10137-6E

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents