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

◆ selectiveCmd

u8 SceLedConfiguration::selectiveCmd

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

◆ numExecs

u8 SceLedConfiguration::numExecs

The number of executions of the specified <customCmd>.

◆ customCmd

u8 SceLedConfiguration::customCmd

The custom LED command to execute. One of SceLedCmds.

◆ unk

u8 SceLedConfiguration::unk

Unknown.

◆ onTime

s32 SceLedConfiguration::onTime

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

◆ offTime

s32 SceLedConfiguration::offTime

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

◆ blinkTime

s32 SceLedConfiguration::blinkTime

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

◆ endBlinkState

s32 SceLedConfiguration::endBlinkState

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: