xr
TWO CHANNEL DS3/E3 FRAMER IC WITH HDLC CONTROLLER
XRT72L52
REV. 1.0.1
289
The user can enable or disable these Transmit Section interrupts, at the Block Level by writing the appropriate
data into Bit 1 (Tx DS3/E3 Interrupt Enable) within the Block Interrupt Enable register (Address = 0x04), as il-
lustrated below.
Setting this bit-field to “1” enables the Transmit Section (at the Block Level) for Interrupt Generation. Con-
versely, setting this bit-field to “0” disables the Transmit Section for interrupt generation.
What does it mean for the Transmit Section Interrupts to be enabled or disabled at the Block Level
If the Transmit Section is disabled (for interrupt generation) at the Block Level, then ALL Transmit Section inter-
rupts are disabled, independent of the interrupt enable/disable state of the source level interrupts.
If the Transmit Section is enabled (for interrupt generation) at the block level, then a given interrupt will be en-
abled if it is also enabled at the source level. Conversely, if the Transmit Section is enabled (for interrupt gen-
eration) at the Block level, then a given interrupt will still be disabled, if it is disabled at the source level.
As mentioned earlier, the Transmit Section of the XRT72L52 Framer IC contains the Completion of Transmis-
sion of LAPD Message Interrupt.
The Enabling/Disabling and Servicing of this interrupt is presented below.
5.2.6.1.1
The Completion of Transmission of the LAPD Message Interrupt
If the Transmit Section interrupts have been enabled at the Block level, then the user can enable or disable the
Completion of Transmission of a LAPD Message Interrupt, by writing the appropriate value into Bit 1 (TxLAPD
Interrupt Enable) within the Tx E3 LAPD Status & Interrupt Register (Address = 0x34), as illustrated below.
Setting this bit-field to “1’ enables the Completion of Transmission of a LAPD Message Interrupt. Conversely,
setting this bit-field to “0” disables the Completion of Transmission of a LAPD Message interrupt.
5.2.6.1.2
Servicing the Completion of Transmission of a LAPD Message Interrupt
As mentioned previously, once the user commands the LAPD Transmitter to begin its transmission of a LAPD
Message, it will do the following.
1.
It will compute the FCS (Frame Check Sequence) value over the contents of 0x86 through 0xDB and
append this 16 bit value to the back-end of the user-message.
2.
It will parse through the contents of the Transmit LAPD Message Buffer (located at address locations 0x86
through 0xDB and the FCS bytes) and search for a string of five (5) consecutive “1’s”. If the LAPD Trans-
mitter finds a string of five consecutive “1’s” (within the content of the LAPD Message Buffer, then it will
BLOCK INTERRUPT ENABLE REGISTER (ADDRESS = 0X04)
B
IT
7
B
IT
6
B
IT
5
B
IT
4
B
IT
3
B
IT
2
B
IT
1
B
IT
0
RxDS3/E3
Interrupt
Enable
Not Used
TxDS3/E3
Interrupt
Enable
One-Second
Interrupt
Enable
R/W
RO
RO
RO
RO
RO
R/W
R/W
0
0
0
0
0
0
0
0
TXE3 LAPD STATUS AND INTERRUPT REGISTER (ADDRESS = 0X34)
B
IT
7
B
IT
6
B
IT
5
B
IT
4
B
IT
3
B
IT
2
B
IT
1
B
IT
0
Not Used
TXDL Start
TXDL Busy
TxLAPD
Interrupt
Enable
TxLAPD
Interrupt
Status
RO
RO
RO
RO
R/W
RO
R/W
RUR
0
0
0
0
0
0
X
0