Specifications

External Interrupt Control Registers
2-36
2.13 External Interrupt Control Registers
The two external interrupt control registers that control and monitor XINT1 and
XINT2 pin activities are XINT1CR and XINT2CR.
2.13.1 External Interrupt 1 Control Register (XINT1CR)
Figure 2–17. External Interrupt 1 Control Register (XINT1CR) — Address 7070h
15 14–3 2 1 0
XINT1 flag
Reserved XINT1 polarity XINT1 priority XINT1 enable
RC-0 R-0 RW-0 RW-0 RW-0
Note: R = Read access, W = Write access, C = Clear by writing a 1, -0 = value after reset
Bit 15 XINT1 Flag
This bit indicates whether the selected transition has been detected on the
XINT1 pin and is set whether or not the interrupt is enabled. This bit is cleared
by the appropriate interrupt acknowledge, by software writing a 1 (writing a 0
has no effect), or by a device reset.
0 No transition detected
1 Transition detected
Bits 14–3 Reserved. Reads return zero; writes have no effect.
Bit 2 XINT1 Polarity
This read/write bit determines whether interrupts are generated on the rising
edge or the falling edge of a signal on the pin.
0 Interrupt generated on a falling edge (high-to-low transition).
1 Interrupt generated on a rising edge (low-to-high transition).
Bit 1 XINT1 Priority
This read/write bit determines which interrupt priority is requested. The CPU
interrupt priority levels corresponding to low and high priority are coded into
the peripheral interrupt expansion controller. These priority levels are shown
in Table 2–2,
’240x Interrupt Source Priority and Vectors,
in Chapter 2, on
page 2-8.
0 High priority
1 Low priority
Bit 0 XINT1 Enable
This read/write bit enables or disables external interrupt XINT1.
0 Disable Interrupt
1 Enable interrupt