How to configure Rabbit RCM 6760 in HDLC receive mode and how to receive the incoming data and display it?

I am already able to transmit the data from one kit and for the another kit i want to receive it, but i am unable to configure my board in HDLC receive mode.

See details on HDLC in hdlc_packet.lib and in Chapter 20 of the Rabbit 6000 processor manual at