Signals Setting Interrupt Request Flags - NEC PD754144 User Manual

4-bit single-chip microcontrollers
Table of Contents

Advertisement

Interrupt Request
Flag
IRQBT
Set by reference time interval signal from basic interval timer
watchdog timer
IRQ0
Set by detection of edge of INT0/P61 pin input signal. Edge to be
detected is selected by INT0 edge detection mode register (IM0)
IRQT0
Set by match signal from timer counter 0
IRQT1
Set by match signal from timer counter 1
IRQT2
Set by match signal from timer counter 2
IRQEE
Set by EEPROM write end signal
(2) Interrupt priority select register (IPS)
The interrupt priority select register selects an interrupt with a higher priority that can be nested. The lower
3 bits of this register are used for this purpose.
Bit 3 is an interrupt master enable flag (IME) that enables or disables all the interrupts.
IPS is set by a 4-bit memory manipulation instruction, but bit 3 is set or reset by the EI or DI instruction.
To change the contents of the lower 3 bits of IPS, the interrupt must be disabled (IME = 0).
Example
DI
CLR1
MBE
MOV
A, #1001
MOV
IPS, A
When the RESET signal is asserted, all the bits of this register are cleared to "0".
CHAPTER 7 INTERRUPT AND TEST FUNCTIONS
Table 7-2. Signals Setting Interrupt Request Flags
Signal Setting Interrupt Request Flag
; Disables interrupt
; Gives higher priority to INTBT and enables interrupt
User's Manual U10676EJ3V0UM
Interrupt Enable
Flag
IEBT
IE0
IET0
IET1
IET2
IEEE
191

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd754244

Table of Contents