DSPRelated.com
Forums

C6713: NMI, IRQ_nmidisable()

Started by Bernhard Gustl Bauer February 1, 2007
Hi,

according to spru189f NMIE cannot be cleard manually. But there exists
IRQ_nmidisable(). How does this work?

TIA

Gustl
Bernhard Gustl Bauer schrieb:
> according to spru189f NMIE cannot be cleard manually. But there exists
> IRQ_nmidisable(). How does this work?

I had a look at the assembler code. It tries to clear the NMIE bit. But
it can't. I have tried it!

So why does TI write such a function? To confuse people?

Gustl
Gustl-
> > according to spru189f NMIE cannot be cleard manually. But there exists
> > IRQ_nmidisable(). How does this work?
>
> I had a look at the assembler code. It tries to clear the NMIE bit. But
> it can't. I have tried it!
>
> So why does TI write such a function? To confuse people?

I might guess it works on at least one device somewhere, maybe not even C5000 or C6000 series, and TI software developers are trying to keep CSL API consistent, so they made an "educated guess" without being
device experts :-)

-Jeff