CD2231 Intel Corporation, CD2231 Datasheet - Page 132

no-image

CD2231

Manufacturer Part Number
CD2231
Description
CD2231 Intelligent Two-channel Lan And Wan Communications Controller
Manufacturer
Intel Corporation
Datasheet
CD2231 — Intelligent Two-Channel LAN and WAN Communications Controller
132
Register Name: REOIR
Register Description: Receive End of Interrupt
Default Value: x’00
Access: Byte Write Only
TermBuff
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bits 2:0
REOIR — Async-HDLC / PPP / SLIP / MNP 4 Mode
The CD2231 interprets values written to this register at the completion of all receive interrupts.
Bit 7
DiscExc
Bit 6
to the other buffer. This bit should only be set in response to an async exception
interrupt. If the buffer is terminated in response to an exception character (that is,
parity error) interrupt and the discard exception character bit is not set, the exception
character is written at the start of the next buffer.
Before writing the terminate buffer command to REOIR, a new buffer descriptor can
be written to the current buffer.
Discard exception character (DMA mode only)
When this bit is set in response to an async exception interrupt, the exception char-
acter is not transferred to memory.
Set general timer 2 in Synchronous modes
0 = do not set general timer
1 = load the value, to general timer 2, provided in RISRl.
Set general timer 1 in Synchronous modes
0 = do not set general timer 1
1 = load the value, to the high byte of general timer 1, provided in RISRl.
At the end of an interrupt service routine, the user can set a timer by setting a timer
value in the Receive Interrupt Status register. When the timer reaches ‘0’, the
CD2231 generates a modem/timer group interrupt to the host.
No transfer of data
This bit must be set by the host, if no data is transferred from the receive FIFO during
a receive interrupt.
Gap2, Gap1, Gap0
Size of the optional gaps to be left in DMA buffer, starting at the current location,
before resuming data transfer. The CD2231 moves forward its buffer address pointer
to the selected number of bytes. It does not write to any location ‘in the gap’. If the
gap is large enough to complete, or extend beyond the end of the current buffer, it is
completed, and the gap continued in the other receive buffer. If the discard exception
character is not selected, the character where the exception occurred is written to the
buffer following the gap.
Terminate current DMA buffer
If this bit is set, the current receive buffer is terminated and data transfer is switched
to the other buffer. This bit should only be set in response to an async exception
interrupt. If the buffer is terminated in response to an exception character (that is,
parity error) interrupt and the discard exception character bit is not set, the exception
character is written at the start of the next buffer.
Before writing the terminate buffer command to REOIR, a new buffer descriptor can
be written to the current buffer.
SetTm2
Bit 5
SetTm1
Bit 4
NoTrans
Bit 3
Bit 2
0
Motorola Hex Address: x’84
Bit 1
0
Intel Hex Address: x’87
Datasheet
Bit 0
0

Related parts for CD2231