English
Language : 

MC145572 Datasheet, PDF (155/264 Pages) Freescale Semiconductor, Inc – ISDN U-INTERFACE TRANSCEIVER
Freescale Semiconductor, Inc.
Procedure LTISR1()
/*
PURPOSE:
The interrupt service routine LTISR1 checks for Linkup with Super frame Sync or for an
Error Indication. If linkup is achieved, the febe and nebe counters are cleared and the M4
act bit is set to a 1. A check is made for correct reception of the eoc message by the NT1.
Correct reception is indicated when the received eoc message in R6 is the same as the eoc
message originally written to R6. This is per ANSI T1.601–1992. Note that this is one of
many possible implementations. Note that the M4 channel act bit towards the NT is set to a
1 only if the LT is receiving M4 act bit equal to 1 from the NT. This is per ANSI
T1.601–1992 section 6.4.6.4. If the Error Indication status bit, NR1(b2), is set to 1,
appropriate measures can be taken.
It is not necessary to reset the MC145572 after an activation failure occurs. A reset only
needs to be applied after initial power up.
*/
BEGIN
IF NR3(b3) = 1 THEN /* Test for activation interrupt */
BEGIN
IF NR1 = B THEN
/* Test for successful activation */
Notify central office
processor;
ELSE IF NR1 = 4 THEN /* Test for failed activation (Error
BEGIN
/* Indication) */
NR4 <– 0;
/* Disable interrupts. */
* report failed
activation attempt
END
END
IF NR3(b1) = 1 /* Test for M4 Channel Interrupt */
BEGIN
IF BR1(b7) = 1 AND /* test for act bit 0 to 1 transition */
last received BR1(b7) = 0 THEN
BEGIN
BR4 <– 00;
/* Clear febe Counter */
BR5 <– 00;
/* Clear nebe Counter */
BR0(b7) <– 1; /* Send M4 act = 1 status to NT */
NR2(b0) <– 1; /* Enable data transparency at LT */
END
ELSE
/* handle other M4 status changes */
handle other M4 channel
status changes here
END
IF NR3(b2) = 1 THEN /* Test for eoc channel interrupt */
BEGIN
If the value read from R6
is the same as the last value
written to R6 then the NT1
executed the eoc message
correctly. Take appropriate
measures
If the value read from R6 is
not the same as the last value
written to R6 then the NT1 did
not execute the eoc message
correctly. Take appropriate
measures
END
return();
END
MOTOROLA
For More InforMmCa1t4io55n7O2 n This Product,
9–7
Go to: www.freescale.com