Difference between revisions of "IRU:GetIRLEDRecvState"

From 3dbrew
Jump to navigation Jump to search
 
Line 26: Line 26:
  
 
=Description=
 
=Description=
This gets the current bit value received from IR, via GPIO. The GPIO value seems to be reset to zero when value 1 is returned, the GPIO value is updated the next time the IR hw checks for an IR signal.
+
This gets the current bit value received from IR, via GPIO (bitmask 0x20 from register 0x10147020). The GPIO value seems to be reset to zero when value 1 is returned, the GPIO value is updated the next time the IR hw checks for an IR signal.

Latest revision as of 04:48, 30 March 2015

Request[edit]

Index Word Description
0 Header code [0x000C0000]

Response[edit]

Index Word Description
0 Header code
1 Result code
2 u32 value

Description[edit]

This gets the current bit value received from IR, via GPIO (bitmask 0x20 from register 0x10147020). The GPIO value seems to be reset to zero when value 1 is returned, the GPIO value is updated the next time the IR hw checks for an IR signal.