SSBM Decomp
Loading...
Searching...
No Matches
sipriv.h File Reference
#include <platform.h>
#include <dolphin/os.h>
#include <dolphin/os/OSContext.h>
#include <dolphin/os/OSInterrupt.h>
#include <dolphin/os/OSTime.h>

Go to the source code of this file.

Data Structures

struct  SIPacket
 

Typedefs

typedef void(* SICallback) (s32 chan, u32 sr, OSContext *context)
 
typedef void(* SITypeAndStatusCallback) (s32 chan, u32 type)
 

Functions

void SIInit (void)
 
u32 SIGetStatus (s32 chan)
 
bool SIBusy (void)
 
bool SIIsChanBusy (s32 chan)
 
bool SITransfer (s32 chan, void *output, u32 outputBytes, void *input, u32 inputBytes, SICallback callback, OSTime delay)
 
u32 SISync (void)
 
void SISetCommand (s32 chan, u32 command)
 
u32 SIGetCommand (s32 chan)
 
void SITransferCommands (void)
 
u32 SISetXY (u32 x, u32 y)
 
u32 SIEnablePolling (u32 poll)
 
u32 SIDisablePolling (u32 poll)
 
bool SIGetResponse (s32 chan, void *data)
 
bool SIRegisterPollingHandler (__OSInterruptHandler handler)
 
bool SIUnregisterPollingHandler (__OSInterruptHandler handler)
 
u32 SIGetType (s32 chan)
 
u32 SIGetTypeAsync (s32 chan, SITypeAndStatusCallback callback)
 
u32 SIDecodeType (u32 type)
 

Typedef Documentation

◆ SICallback

typedef void(* SICallback) (s32 chan, u32 sr, OSContext *context)

◆ SITypeAndStatusCallback

typedef void(* SITypeAndStatusCallback) (s32 chan, u32 type)

Function Documentation

◆ SIInit()

void SIInit ( void  )

◆ SIGetStatus()

u32 SIGetStatus ( s32  chan)

◆ SIBusy()

bool SIBusy ( void  )

◆ SIIsChanBusy()

bool SIIsChanBusy ( s32  chan)

◆ SITransfer()

bool SITransfer ( s32  chan,
void *  output,
u32  outputBytes,
void *  input,
u32  inputBytes,
SICallback  callback,
OSTime  delay 
)

◆ SISync()

u32 SISync ( void  )

◆ SISetCommand()

void SISetCommand ( s32  chan,
u32  command 
)

◆ SIGetCommand()

u32 SIGetCommand ( s32  chan)

◆ SITransferCommands()

void SITransferCommands ( void  )

◆ SISetXY()

u32 SISetXY ( u32  x,
u32  y 
)

◆ SIEnablePolling()

u32 SIEnablePolling ( u32  poll)

◆ SIDisablePolling()

u32 SIDisablePolling ( u32  poll)

◆ SIGetResponse()

bool SIGetResponse ( s32  chan,
void *  data 
)

◆ SIRegisterPollingHandler()

bool SIRegisterPollingHandler ( __OSInterruptHandler  handler)

◆ SIUnregisterPollingHandler()

bool SIUnregisterPollingHandler ( __OSInterruptHandler  handler)

◆ SIGetType()

u32 SIGetType ( s32  chan)

◆ SIGetTypeAsync()

u32 SIGetTypeAsync ( s32  chan,
SITypeAndStatusCallback  callback 
)

◆ SIDecodeType()

u32 SIDecodeType ( u32  type)