MK68564N-04 STMICROELECTRONICS [STMicroelectronics], MK68564N-04 Datasheet - Page 29

no-image

MK68564N-04

Manufacturer Part Number
MK68564N-04
Description
SERIAL INPUT OUTPUT
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MK68564N-04A
Manufacturer:
ST
0
D4, D3 : Receive Interrupt Modes 1 and 0
Together, these two bits specify the various charac-
ter-avalaible conditions that will cause interrupt re-
quests. When receiver interrupts are enabled, a
Special Receive Condition can cause an interrupt
request and modify the interrupt vector. Special Re-
ceive conditions are : Rx Overrun Error, Framing Er-
ror (in async mode), End Of Frame (in SDLC mode),
and Parity Error (when selected). The Rx Overrun
Error and the Parity Error conditions are latched in
Status Register 1 when they occur ; they are cleared
by an Error Reset command (Command 4) or by a
hardware or channel rest.
Receive Interrupts Disabled. This mode prevents
the receiver from generating an interrupt request
and clears any pending receiver interrupts. If a char-
acter is avalaible in the receiver data FIFO, or if a
Special Receive Condition exists before or during
the time receiver interrupts are disabled, and recei-
ver interrupts are then enabled without clearing
these conditions, an interrupt request will immedi-
ately be generated.
Receive Interrupt On First Character Only. The
receiver requests an interrupt in this mode on the
first available character (or stored FIFO character),
or on a Special Receive Condition. If a Special Re-
ceive Condition occurs, the data with the special
condition is held in the receive data FIFO until an Er-
ror Reset command (Command 6) is issued.
The receive Interrupt On First Character Only mode
can be re-enabled by the Enable Interrupt On Next
Rx Character command (Command 4). If this inter-
rupt mode was terminated by a Special Receive
Condition, the Error Reset command must be is-
sued, before Command 4, for proper operation to re-
sume.
MO D E 1
Rx I N T
0
0
1
1
M O DE 0
Rx I N T
0
1
0
1
Receive Interrupts Disabled
Receive Interrupt On First
Character Only
Interrupt On All Receive
Characters-parity
Error is a Special Receive
Condition
Interrupt On All Receive
Characters-parity
Error is not a Special Receive
Condition
*
Interrupt On All Receive Characters. This mode
ammows an interrupt for every character received
(or character in the receive data FIFO) and provides
a unique vector (if Status Affects ector is enabled)
when a Special Receive Condition exists. When the
interrupt request is due to a special condition, the
data containing that condition, the data containing
data FIFO.
D2 : Status Affects Vector
When this bit is zero, the value programmed into the
Vector Register is returned during a read cycle or an
interrupt acknowledge cycle. If the Vector Register
has not been programmed following a hardware re-
set, then ”0FH” is returned.
When this bit is a one, the vector returned during a
read cycle or an interrupt acknowledge cycle is va-
riable. The variable field returned depends on the hi-
ghest-priority pending interrupt at the start of the cy-
cle.
The Status Affects Vector control bits from both
channels are logical ”or” ed together ; therefore, if ei-
ther is programmed to a one, its operation affects
both channels. This is the only control bit that func-
tions in this manner on the MK68564.
D1 : Transmit Interrupt Enable
When this bit is set to a one, the transmitter will re-
quest an interrupt whenever the transmit buffer be-
comes empty. When this bit is zero, no transmitter
interrupts will be requested.
D0 : External/Status Interrupt Enable
When this bit is set to a one, an interrupt will be re-
quested by the external/status logic on any of the fol-
lowing occurrences : a transition (high-to-low or low-
to-high) on the DCD, CTS, or SYNC input pins, a
break/abort condition that has been detected and
V 2
Speci al Receive Condi ti ons : Parity Error, Rx Overrun Er-
0
0
0
0
1
1
1
1
V 1
0
0
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
Ch B Transmit Buffer Empty
Ch B External/status Change
Ch B Receive Character Available
Ch B Special Receive Condition*
Ch A Transmit Buffer Empty
Ch A External/status Change
Ch A Receive Character Available
Ch A Special Receive Condition*
Interrupt Condition
29/46

Related parts for MK68564N-04