beautypg.com

Rainbow Electronics DS2143Q User Manual

Page 16

background image

DS2143/DS2143Q

031397 16/40

IMR2: INTERRUPT MASK REGISTER 2 (Address=17 Hex)

(MSB)

(LSB)

RMF

RAF

TMF

SEC

TAF

LOTC

RCMF

LORC

SYMBOL

POSITION

NAME AND DESCRIPTION

RMF

IMR2.7

Receive CAS Multiframe.
0 = interrupt masked
1 = interrupt enabled

RAF

IMR2.6

Receive Align Frame.
0 = interrupt masked
1 = interrupt enabled

TMF

IMR2.5

Transmit Multiframe.
0 = interrupt masked
1 = interrupt enabled

SEC

IMR2.4

One Second Timer.
0 = interrupt masked
1 = interrupt enabled

TAF

IMR2.3

Transmit Align Frame.
0 = interrupt masked
1 = interrupt enabled

LOTC

IMR2.2

Loss Of Transmit Clock.
0 = interrupt masked
1 = interrupt enabled

RCMF

IMR2.1

Receive CRC4 Multiframe.
0 = interrupt masked
1 = interrupt enabled

LORC

IMR2.0

Loss of Receive Clock.
0 = interrupt masked
1 = interrupt enabled

5.0 ERROR COUNT REGISTERS

There are a set of three counters in the DS2143 that
record bipolar violations, errors in the CRC4 SMF code
words, and E–bits as reported by the far end. Each of
these three counters are automatically updated on one
second boundaries as determined by the one second
timer in Status Register 2 (SR2.4). Hence, these regis-

ters contain performance data from the previous
second. The user can use the interrupt from the one
second timer to determine when to read these registers.
The user has a full second to read the counters before
the data is lost.