XRT72L50
SINGLE CHANNEL DS3/E3 FRAMER WITH HDLC CONTROLLER
REV. 1.2.1
á
121
The Block Interrupt Status Register presents the interrupt request status of each functional block, within the
chip. The purpose of the Block Interrupt Status Register is to help the local μP/μC identify which functional
block(s) within a given channel has requested the interrupt. Whichever bit(s) are asserted in this register,
identifies which block(s) have experienced an interrupt-generating condition as presented in
Table 5
. Once the
local μP/μC has read this register, it can determine which branch within the interrupt service routine that it must
follow, in order to properly service this interrupt.
The Framer further supports the Functional Block hierarchy by providing the Block Interrupt Enable Register
(Address = 0x04). The bit format of this register is identical to that for the Block Interrupt Status register, and is
presented below for the sake of completeness.
The Block Interrupt Enable register allows the user to individually enable or disable the interrupt requesting
capability of the functional blocks. If a particular bit-field, within this register contains the value "0", then the
corresponding functional block has been disabled from generating any interrupt requests. Conversely, if that
bit-field contains the value "1", then the corresponding functional block has been enabled for interrupt
generation (e.g., those potential interrupts, within the enabled functional block that are enabled at the source
level, are now enabled). The user should be aware of the fact that each functional block contains anywhere
from 1 to 12 potential interrupt sources. Each of these lower level interrupt sources contain their own set of
interrupt enable bits and interrupt status bits, existing in various on-chip registers.
Interrupt Service Routing Branching: after reading the Block Interrupt Status Register.
The contents of the Block Interrupt Status Register identify which of 3 functional blocks has requested interrupt
service. The local μP should use this information in order to determine where, within the Interrupt Service
Routing, program control should branch to.
Table 9
can be viewed as an interrupt service routine guide. It lists
each of the Functional Blocks, that contain a bit-field in the Block Interrupt Status Register. Additionally, this
table also presents a list and addresses of corresponding on-chip Registers that the Interrupt Service Routine
should branch to and read, based upon the Interrupting Functional Block.
Table 9
,
Table 10
, and
Table 11
presents the Interrupt Service Routine guide for DS3, E3/ITU-T G.832 and E3/
ITU-T G.751 applications, respectively.
Block Interrupt Status Register (Address = 0x05)
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
Status
Not Used
TxDS3/E3
Interrupt
Status
One-Second
Interrupt
Status
RO
RO
RO
RO
RO
RO
RO
RUR
0
0
0
0
0
0
0
1
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