PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
padData.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void pdReset (void)
 
void pdTransfer (void)
 
u32 pdSetCtrl1 (u32 port, u32 slot, u32 ctrl)
 
u32 pdSetCtrl2 (u32 port, u32 slot, u32 ctrl)
 
u32 pdSetInBuffer (u32 port, u32 slot, u32 size, const u8 *buf)
 
u32 pdGetOutBuffer (u32 port, u32 slot, u32 size, u8 *buf)
 
u32 pdSetInSize (u32 port, u32 slot, u32 size)
 
u32 pdSetOutSize (u32 port, u32 slot, u32 size)
 
u32 pdGetInSize (u8 id)
 
u32 pdGetOutSize (u8 id)
 
u32 pdSetRegData (u32 port, u32 slot, u32 reg_data)
 
u32 pdGetRegData (u32 id)
 
u32 pdIsActive (u32 port, u32 slot)
 
u32 pdSetActive (u32 port, u32 slot, u32 active)
 
u32 pdGetStat70bit (u32 port, u32 slot)
 
u32 pdSetStat70bit (u32 port, u32 slot, u32 val)
 
s32 pdGetError (u32 port, u32 slot)
 
u32 pdCheckConnection (u32 port, u32 slot)
 

Detailed Description

IOP pad driver

Definition in file padData.h.

Function Documentation

◆ pdReset()

void pdReset ( void  )

Definition at line 365 of file padData.c.

◆ pdTransfer()

void pdTransfer ( void  )

Definition at line 333 of file padData.c.

◆ pdSetCtrl1()

u32 pdSetCtrl1 ( u32  port,
u32  slot,
u32  ctrl 
)

Definition at line 506 of file padData.c.

◆ pdSetCtrl2()

u32 pdSetCtrl2 ( u32  port,
u32  slot,
u32  ctrl 
)

Definition at line 517 of file padData.c.

◆ pdSetInBuffer()

u32 pdSetInBuffer ( u32  port,
u32  slot,
u32  size,
const u8 *  buf 
)

Definition at line 552 of file padData.c.

◆ pdGetOutBuffer()

u32 pdGetOutBuffer ( u32  port,
u32  slot,
u32  size,
u8 *  buf 
)

Definition at line 572 of file padData.c.

◆ pdSetInSize()

u32 pdSetInSize ( u32  port,
u32  slot,
u32  size 
)

Definition at line 529 of file padData.c.

◆ pdSetOutSize()

u32 pdSetOutSize ( u32  port,
u32  slot,
u32  size 
)

Definition at line 540 of file padData.c.

◆ pdGetInSize()

u32 pdGetInSize ( u8  id)

Definition at line 67 of file padData.c.

◆ pdGetOutSize()

u32 pdGetOutSize ( u8  id)

Definition at line 74 of file padData.c.

◆ pdSetRegData()

u32 pdSetRegData ( u32  port,
u32  slot,
u32  reg_data 
)

Definition at line 92 of file padData.c.

◆ pdGetRegData()

u32 pdGetRegData ( u32  id)

Definition at line 81 of file padData.c.

◆ pdIsActive()

u32 pdIsActive ( u32  port,
u32  slot 
)

Definition at line 147 of file padData.c.

◆ pdSetActive()

u32 pdSetActive ( u32  port,
u32  slot,
u32  active 
)

Definition at line 138 of file padData.c.

◆ pdGetStat70bit()

u32 pdGetStat70bit ( u32  port,
u32  slot 
)

Definition at line 360 of file padData.c.

◆ pdSetStat70bit()

u32 pdSetStat70bit ( u32  port,
u32  slot,
u32  val 
)

Definition at line 177 of file padData.c.

◆ pdGetError()

s32 pdGetError ( u32  port,
u32  slot 
)

Definition at line 498 of file padData.c.

◆ pdCheckConnection()

u32 pdCheckConnection ( u32  port,
u32  slot 
)

Definition at line 440 of file padData.c.