IRU:SetIRLEDState: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Smea (talk | contribs)
No edit summary
Line 26: Line 26:


=Description=
=Description=
Value 1 enables the IR LED, while value 0 disables it. Note that the IR LED will automatically turn off after a certain amount of time if left on this way, however to turn it back on the state has to be set to value zero first. This is set via GPIO.
Value 1 enables the IR LED, while value 0 disables it. Note that the IR LED will automatically turn off after a certain amount of time if left on this way, however to turn it back on the state has to be set to value zero first. This is set via GPIO : it writes 0x10 to 0x10147020 (0x1EC47020 in process space) to enable the LED, and clears that bit to disable it.

Revision as of 03:18, 30 March 2015

Request

Index Word Description
0 Header code [0x000B0040]
1 u32 value

Response

Index Word Description
0 Header code
1 Result code

Description

Value 1 enables the IR LED, while value 0 disables it. Note that the IR LED will automatically turn off after a certain amount of time if left on this way, however to turn it back on the state has to be set to value zero first. This is set via GPIO : it writes 0x10 to 0x10147020 (0x1EC47020 in process space) to enable the LED, and clears that bit to disable it.