English
Language : 

Z85233 Datasheet, PDF (50/317 Pages) Zilog, Inc. – The Zilog SCC Serial Communication Controller
SCC™/ESCC™ User’s Manual
Interfacing the SCC/ESCC
2.4.9 External/Status Interrupts
The External/Status IP is set by the closing of the latches
Each channel has six external/status interrupt conditions:
BRG Zero Count, Data Carrier Detect, Sync/Hunt, Clear to
Send, Tx Underrun/EOM, and Break/Abort. The master
enable for external/status interrupts is D0 of WR1, and the
individual enable bits are in WR15. Individual enable bits
and remains set as long as they are closed. In order to de-
termine which condition(s) require service when an exter-
nal/status interrupt is received, the processor should keep
an image of RR0 in memory and update this image each
time it executes the external/status service routine.
2
control whether or not a latch is present in the path from
the source of the interrupt to the corresponding status bit
in RR0. If the individual enable is set to 0, then RR0 re-
flects the current unlatched status, and if the individual en-
able is set to 1, then RR0 reflects the latched status.
Thus, a read of RR0 returns the current status for any bits
whose individual enable is 0, and either the current state
or the latched state of the remainder of the bits. To
guarantee the current status, the processor should issue a
Reset External/Status interrupts command in WR0 to open
The latches for the external/status interrupts are not inde-
pendent. Rather, they all close at the same time as a result
of a state change in one of the sources of enabled exter-
nal/status interrupts. This is shown schematically in
Figure 2-23.
the latches. The External/Status IP is set by the closing of
the latches and remains set as long as they are closed. If
the master enable for the External/Status interrupts is not
set, the IP is never set, even though the latches may be
present in the signal paths and working as described.
Change
Detecto
To IP
External/St
Condition
with
IE = 1
Latch
External/St
Condition
with
IE = 0
Figure 2-23. RR0 External/Status Interrupt Operation
UM010901-06
01
To RR0
2-31