
DS3112
68 of 134
Bits 0 to 6 / Remote Alarm Indication Signal Detected (RAIn when n = 1 to 7). This latched read
only alarm status bit will be set to a one each time the corresponding T2/E2/G747 framer detects an
incoming RAI alarm. This bit will be cleared when read unless the RAI alarm still exists in that
T2/E2/G747 framer. A change in state of the RAI in one or more of the T2/E2/G747 framers can cause
the T2E2SR2 status bit (in the MSR register) to be set and a hardware interrupt to occur if the IERAI bit
is set to a one and the T2E2SR2 bit in the Interrupt Mask for MSR (IMSR) register is set to a one.
See Figure 6.3B. The interrupt will be allowed to clear when this bit is read. The RAI alarm criteria is
described in Tables 6.3A, 6.3B and 6.3C. In the E3 Mode, RAI5 to RAI7 (bits 4 to 6) are meaningless
and should be ignored.
Bit 7 / Interrupt Enable for Remote Alarm Indication Signal (IERAI). This bit should be set to one if
the Host wishes to have RAI detection occurrences cause a hardware interrupt or the setting of the
T2E2SR2 status bit in the MSR register. See Figure 6.3B. The T2E2SR2 bit in the Interrupt Mask for the
Master Status Register (IMSR) must also be set to one for an interrupt to occur.
0 = interrupt masked
1 = interrupt unmasked
Bits 8 to 11 / E2 Receive National Bit (E2Snn when n = 1 to 4). This read only real time status bit
reports the incoming E2 National Bit (Sn). It is loaded at the start of each E2 frame as the Sn bit is
decoded. The Host can use the E2SOF status bit to determine when to read this bit. In the T3 and G747
Modes, this bit is meaningless and should be ignored. This bit cannot cause an interrupt to occur.
Bits 12 to 15 / E2 Receive Start Of Frame (E2SOFn where n = 1 to 4). This latched read only event
status bit will be set to a one on each E2 receive frame boundary. This bit will be cleared when read. The
setting of this status bit cannot cause an interrupt to occur.
T2E2SR2 Status Bit Flow Figure 6.3B
Note: All event and alarm latches above are cleared when the T2E2SR2 register is read.
Alarm Latch
Change in State Detect
RAI1
(T2E2SR2
Bit 0)
Internal RAI
Signal from
T2/E2 Framer 1
Alarm Latch
Change in State Detect
Internal RAI
Signal from
T2/E2 Framer 2
Alarm Latch
Change in State Detect
Internal RAI
Signal from
T2 Framer 7
OR
Mask
IERAI
(T2E2SR2
Bit 7)
RAI2
(T2E2SR2
Bit 1)
RAI7
(T2E2SR2
Bit 6)
Mask
T2E2SR2
(IMSR Bit 6)
INT*
Hardware
Signal
T2E2SR2
Status Bit
(MSR Bit 6)
Event Latch