IRU:GetIRLEDRecvState: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000C0000] |} =Response= {| class="wikitable" border="1" |- ! Index Word ! Des..."
 
Smea (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 26: Line 26:


=Description=
=Description=
This gets the current bit value received from IR, via GPIO.
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.