ST62T08C/T09C ST62T10C/T20C/E20C
INTERRUPTS (Cont’d)
3.4.3 Interrupt Option Register (IOR)
The Interrupt Option Register (IOR) is used to en-
able/disable the individual interrupt sources and to
select the operating mode of the external interrupt
inputs. This register is write-only and cannot be
accessed by single-bit operations.
Address: 0C8h — Write Only
Reset status: 00h
7
0
- LES ESB GEN -
-
-
-
Bit 5 = ESB: Edge Selection bit.
The bit ESB selects the polarity of the interrupt
source #2.
Bit 4 = GEN: Global Enable Interrupt. When this bit
is set to one, all interrupts are enabled. When this
bit is cleared to zero all the interrupts (excluding
NMI) are disabled.
When the GEN bit is low, the NMI interrupt is ac-
tive but cannot cause a wake up from STOP/WAIT
modes.
This register is cleared on reset.
3.4.4 Interrupt Sources
Bit 7, Bits 3-0 = Unused.
Bit 6 = LES: Level/Edge Selection bit.
When this bit is set to one, the interrupt source #1
is level sensitive. When cleared to zero the edge
sensitive mode for interrupt request is selected.
Interrupt sources available on the ST62E20C/
T20C are summarized in the Table 9 with associ-
ated mask bit to enable/disable the interrupt re-
quest.
Table 9. Interrupt Requests and Mask Bits
Peripheral
Register
Address
Register
GENERAL
IOR
C8h
TIMER
TSCR
A/D CONVERTER(*) ADCR
Port PAn
ORPA-DRPA
Port PBn
ORPB-DRPB
D4h
D1h
C4h-CCh
C5h-CDh
Mask bit
Masked Interrupt Source
GEN
All Interrupts, excluding
NMI
ETI
TMZ: TIMER Overflow
EAI
EOC: End of Conversion
ORPAn-DRPAn PAn pin
ORPBn-DRPBn PBn pin
Interrupt
vector
Vector 3
Vector 4
Vector 1
Vector 2
*Except ST62T08C
28/70
116