vitasdk
Documentation of the vitasdk
udcd.h
Go to the documentation of this file.
1
7#ifndef _PSP2_UDCD_H_
8#define _PSP2_UDCD_H_
9
10#include <vitasdk/build_utils.h>
11#include <psp2/types.h>
12#include <psp2common/udcd.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
27
36
45
53int sceUdcdGetDrvState(const char *driverName);
54
63int sceUdcdRegisterCallback(SceUID cbid, int state);
64
73
82int sceUdcdWaitState(SceUdcdWaitParam *waitParam, unsigned int timeout);
83
84#ifdef __cplusplus
85}
86#endif
87
88#endif /* _PSP2_UDCD_H_ */
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
int SceUID
UIDs are used to describe many different kernel objects.
Definition types.h:90
Definition udcd.h:37
Definition udcd.h:42
int state
Definition udcd.h:20
int unk_14
Definition udcd.h:24
int unk_00
Definition udcd.h:19
int cable
Definition udcd.h:21
int sceUdcdGetDrvState(const char *driverName)
Get state of a specific USB driver.
int sceUdcdRegisterCallback(SceUID cbid, int state)
Register callback.
int sceUdcdGetDeviceState(SceUdcdDeviceState *state)
Get device state.
int sceUdcdWaitState(SceUdcdWaitParam *waitParam, unsigned int timeout)
Wait for state.
int sceUdcdGetDeviceInfo(SceUdcdDeviceInfo *devInfo)
Get device information.
int use_usb_charging
Definition udcd.h:23
int sceUdcdUnregisterCallback(SceUID cbid)
Unregister callback.
int connection
Definition udcd.h:22
Definition udcd.h:18