IRU:GetIRLEDRecvState

From 3dbrew
Revision as of 05:48, 30 March 2015 by Smea (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.