Datasheet
DS26514 4-Port T1/E1/J1 Transceiver
19-5856; Rev 4; 5/11 81 of 305
Figure 9-19. Receive HDLC Example
Configure Receive
HDLC-256 Controller
(RH256CR1,2)
Read RH256FDR1,2
until end of packet
reached
Read RH256FDR1, 2;
N = 8xRDAL -1
Read RH256SRL
exit
Enable Interrupts
(RHDAIE, RPEIE)
Reset FIFO
(RH256CR1.RFRST)
INTB Active?
RHDAL Set? RPE Set? exit
N = 0 ? exit
Read RH256FDR1, 2;
N = N -1
YES
NO
NONO
NO
YES
YES










