sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
usbhd_common.h File Reference

Go to the source code of this file.

Macros

#define USBHD_INLINE   inline
#define getUI32(buf)
#define getUI32_2(buf1, buf2)
#define getUI16(buf)

Functions

void * malloc (int size)
void free (void *ptr)

Macro Definition Documentation

◆ getUI16

#define getUI16 ( buf)
Value:
((unsigned int)(((u8 *)(buf))[0] + (((u8 *)(buf))[1] << 8)))

Definition at line 31 of file usbhd_common.h.

◆ getUI32

#define getUI32 ( buf)
Value:
((unsigned int)(((u8 *)(buf))[0] + \
(((u8 *)(buf))[1] << 8) + \
(((u8 *)(buf))[2] << 16) + \
(((u8 *)(buf))[3] << 24)))

Definition at line 23 of file usbhd_common.h.

◆ getUI32_2

#define getUI32_2 ( buf1,
buf2 )
Value:
((unsigned int)(((u8 *)(buf1))[0] + \
(((u8 *)(buf1))[1] << 8) + \
(((u8 *)(buf2))[0] << 16) + \
(((u8 *)(buf2))[1] << 24)))

Definition at line 27 of file usbhd_common.h.

◆ USBHD_INLINE

#define USBHD_INLINE   inline

Definition at line 12 of file usbhd_common.h.

Function Documentation

◆ free()

void free ( void * ptr)
extern

Definition at line 59 of file main.c.

◆ malloc()

void * malloc ( int size)
extern

Definition at line 47 of file main.c.