AnsweredAssumed Answered

How to test if DAI pin is LOW or HIGH

Question asked by Afinko on Mar 1, 2010
Latest reply on Mar 1, 2010 by Afinko

Hi,

 

I am using ADSP-21371.

If I set e.g. the DAI pin 1 as an output by:

SRU(HIGH,PBEN01_I);

I can very easily set this DAI pin as logic LOW, or log HIGH by:

SRU(LOW,DAI_PB01_I);  or SRU(HIGH,DAI_PB01_I);

 

If I set the DAI pin as an input by:

SRU(LOW,PBEN01_I);

SRU(LOW,DAI_PB01_I);

How can I test if this pin is logic LOW / HIGH?

I do not want to use interrupts.

For DPI pins, the FLAGs can be easily used.

Is there some easy way for DAI pins?

 

Thanks,

Afi

Outcomes