How to Configure S/PDIF Receiver Device Register Errors - ADSP-21479 EZ-Kit Lite

Hello, 

I am using the ADSP-21479 EZ-Kit and tinkering with the example code for SPDIF to Analog talk through with SRC. 

I am trying to program a "No Stream Error" to occur whenever the audio stream is disconnected from the S/PDIF receiver. 

How can I setup my initSPDIF() to assert the DIR_NOSTREAM bit from the DIRSTAT register? I am a unsure of the correct coding syntax.

My function currently:

    

InitSPDIF()
{
/* SPDIF Setup code goes here */
/* Init SPDIF transmitter in I2S mode */
*pDITCTL = (DIT_EN | DIT_IN_I2S | DIT_AUTO);

/* Use default setting of SPDIF receiver */
*pDIRCTL=0x0;

/* SPDIF Receiver Register Status */
*pDIRSTAT = (DIR_NOAUDIOLR | DIR_VALID | DIR_LOCK | DIR_NOSTREAM);


}


SPDIF_GetError ()
{

// How to check if pointer bit is one or zero?
if(*pDIRSTAT == DIR_NOSTREAM)

    {

    };

}

Thanks in advance,

Calum