vitasdk
Documentation of the vitasdk
usbserial.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2KERN_USBSERIAL_H_
8 #define _PSP2KERN_USBSERIAL_H_
9 
10 #include <psp2kern/types.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
24 
32 int ksceUsbSerialSetup(int unk);
33 
40 
45 
51 unsigned int ksceUsbSerialGetRecvBufferSize(void);
52 
62 SceSize ksceUsbSerialSend(const void *buffer, SceSize len, int unk1, int unk2);
63 
73 SceSize ksceUsbSerialRecv(void *buffer, SceSize max_len, int unk1, int unk2);
74 
75 #ifdef __cplusplus
76 }
77 #endif
78 #endif /* _PSP2KERN_USBSERIAL_H_ */
void * buffer
Definition: bt.h:6
unsigned int SceSize
Definition: types.h:56
int ksceUsbSerialClose(void)
Close USB serial device.
SceSize ksceUsbSerialSend(const void *buffer, SceSize len, int unk1, int unk2)
Send data.
int ksceUsbSerialStart(void)
Activate USB serial device.
SceSize ksceUsbSerialRecv(void *buffer, SceSize max_len, int unk1, int unk2)
Receive Data.
unsigned int ksceUsbSerialGetRecvBufferSize(void)
Get receive buffer length.
int ksceUsbSerialSetup(int unk)
Setup USB serial device.
int ksceUsbSerialStatus(void)
Get USB device status.
unsigned short unk1
Definition: usbd.h:1