vitasdk
Documentation of the vitasdk
debugled.h
Go to the documentation of this file.
1
6#ifndef _PSP2KERN_KERNEL_DEBUGLED_H_
7#define _PSP2KERN_KERNEL_DEBUGLED_H_
8
9#include <psp2kern/types.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
20typedef void (*SceDebugLedHandler)(int arg0, int arg1, int arg2, int arg3);
21
33
40
47
54
66int ksceKernelSetGPOMask(SceUInt32 clear_mask, SceUInt32 set_mask);
67
74
83void ksceDebugLedInvokeHandle0(int arg0, int arg1, int arg2, int arg3);
84
91
100void ksceDebugLedInvokeHandle1(int arg0, int arg1, int arg2, int arg3);
101
102#ifdef __cplusplus
103}
104#endif
105
106#endif /* _PSP2KERN_KERNEL_DEBUGLED_H_ */
SceUInt32 ksceKernelGetGPO(void)
Get the saved general-purpose output bitfield.
void ksceKernelSetGPI(SceUInt32 bits)
Replace the general-purpose input bitfield stored in software.
void ksceKernelSetGPO(SceUInt32 bits)
Set the general-purpose output bitfield.
void ksceDebugLedInvokeHandle0(int arg0, int arg1, int arg2, int arg3)
Call debug LED handler 0 if one is registered.
void ksceDebugLedRegisterHandle1(SceDebugLedHandler handler)
Register or clear debug LED handler 1.
int ksceKernelSetGPOMask(SceUInt32 clear_mask, SceUInt32 set_mask)
Atomically update the GPO enable mask.
void(* SceDebugLedHandler)(int arg0, int arg1, int arg2, int arg3)
Debug LED handler.
Definition debugled.h:20
void ksceDebugLedInvokeHandle1(int arg0, int arg1, int arg2, int arg3)
Call debug LED handler 1 if one is registered.
SceUInt32 ksceKernelGetGPI(void)
Get the current general-purpose input bitfield.
void ksceDebugLedRegisterHandle0(SceDebugLedHandler handler)
Register or clear debug LED handler 0.
uint32_t SceUInt32
Definition types.h:45