uOFW
Reverse engineered PSP kernel 6.60.
Data Fields
SceLedConfiguration Struct Reference

#include <led.h>

Data Fields

u8 selectiveCmd
u8 numExecs
u8 customCmd
u8 unk
s32 onTime
s32 offTime
s32 blinkTime
s32 endBlinkState

Detailed Description

This structure represents a LED blink configuration. It needs to be specified when using sceLedSetMode and the SCE_LED_MODE_BLINK / SCE_LED_MODE_SELECTIVE_EXEC setting for the LED mode. A blink event contains an ON-/OFF-time for the target LED, the total time of the event and the final LED state at the end of the event.

Note: When using SCE:LED_MODE_BLINK, you don't need to set the first four structure members.


Field Documentation

This command should be used to register/execute a custom command.

The number of executions of the specified <customCmd>.

The custom LED command to execute. One of SceLedCmds.

Unknown.

The "on" time of a LED during a blink period.

The "off" time of a LED during a blink period.

The time of a blink period. Set to -1 for an infinite time period.

The state of a LED at the end of the blink period. Either SCE_LED_MODE_OFF or SCE_LED_MODE_ON.


The documentation for this struct was generated from the following file:
 All Data Structures Files Variables