After a long time I am back with the PRU :)

I need to read the bit r31.t16 and capture the current state either 1 or 0 
and set it to r3, I do that with this instruction:

SET r3, r31.t16    //set the bit r31.t16 to r3


When I read r3 the value is not 0 or 1, the returned value is 0x8

Any idea what is happening?

Thanks.



 



El jueves, 20 de marzo de 2014 18:42:16 UTC-3, [email protected] 
escribió:
>
> you should be using r31.t16 not t15
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to