![](http://datasheet.mmic.net.cn/Exar-Corporation/XRT94L33IB-L_datasheet_100163/XRT94L33IB-L_196.png)
XRT94L33
xr
Rev.1.2.0.
3-CHANNEL DS3/E3/STS-1 TO STS-3/STM-1 MAPPER IC DATA SHEET
196
Conversely, if Bit 3 is set to “0”, then the “Transmit Cell Extraction Buffer” does not contain an ATM cell that
needs to be read. At this point, the Microprocessor Interface should continue to poll the state of this bit-field
and wait until this bit-field toggles to “1”.
Executing STEP 2 using the Interrupt-Driven Approach
In order to reduce or eliminate the Microprocessor Overhead of continuously polling the state of Bit 3, the user
can use the “Transmit Cell Extraction” Interrupt feature, within the chip. If the Microprocessor invokes this
feature, then the XRT94L33 will generate an interrupt anytime a new cell has been received and loaded into
the “Transmit Cell Extraction Buffer”.
The user can enable the “Cell Extraction” Interrupt by setting Bit 5 (Cell Extraction Interrupt Enable), within the
“Transmit ATM Cell Processor – Interrupt Enable” Register to “1” as indicated below.
Transmit ATM Cell Processor – Interrupt Enable Register (Address = 0xNF0F)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
Unused
Cell
Extraction
Interrupt
Enable
Cell
Insertion
Interrupt
Enable
Cell
Extraction
Memory
Overflow
Interrupt
Enable
Cell Insertion
Memory
Overflow
Interrupt
Enable
Detection of
HEC Byte
Error
Interrupt
Enable
Detection of
Parity Error
Interrupt
Enable
R/O
R/W
0
1
0
Once the “Cell Extraction Buffer” receives a “COPIED” cell from the “Transmit User Cell Filter”, then the
XRT94L33 will do all of the following:
It will toggle the “INT*” output pin “LOW”.
It will set Bit 5 (Cell Extraction Interrupt Status) within the Transmit ATM Cell Processor – Interrupt Status
Register, to “1” as depicted below.
Transmit ATM Cell Processor – Interrupt Status Register (Address = 0xNF0B)
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
Unused
Cell
Extraction
Interrupt
Status
Cell
Insertion
Interrupt
Status
Cell
Extraction
Memory
Overflow
Interrupt
Status
Cell Insertion
Memory
Overflow
Interrupt
Status
Detection of
HEC Byte
Error
Interrupt
Status
Detection of
Parity Error
Interrupt
Status
R/O
RUR
0
1
0
At this point, the user can now proceed onto STEP 3.
STEP 3 – Read out the very first 32-bit word of this new ATM cell from the “Transmit Cell Extraction
Buffer”.
This is accomplished by executing the following four sub-steps.
STEP 3a – Read the contents of the first byte (of this newly received ATM cell) from the “Transmit
ATM Cell – Insertion/Extraction Memory Register – Byte 3; as depicted below.