IRU:GetIRLEDRecvState: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Smea (talk | contribs)
No edit summary
 
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 05:48, 30 March 2015

Request

Index Word Description
0 Header code [0x000C0000]

Response

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

Description

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.