Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
SIBios.h File Reference

Go to the source code of this file.

Classes

struct  SIPacket
 
struct  SIControl
 
struct  SIComm_s
 
union  SIComm_u
 

Typedefs

typedef void(* SICallback) (s32 chan, u32 sr, OSContext *context)
 
typedef void(* SITypeAndStatusCallback) (s32 chan, u32 type)
 
typedef struct SIPacket SIPacket
 
typedef struct SIControl SIControl
 
typedef struct SIComm_s SIComm_s
 
typedef union SIComm_u SIComm_u
 

Functions

BOOL SIBusy (void)
 
BOOL SIIsChanBusy (s32 chan)
 
static void SIInterruptHandler (__OSInterrupt interrupt, OSContext *context)
 
static BOOL SIEnablePollingInterrupt (BOOL enable)
 
BOOL SIRegisterPollingHandler (__OSInterruptHandler handler)
 
BOOL SIUnregisterPollingHandler (__OSInterruptHandler handler)
 
void SIInit (void)
 
u32 SIGetStatus (s32 chan)
 
void SISetCommand (s32 chan, u32 command)
 
void SITransferCommands (void)
 
u32 SISetXY (u32 x, u32 y)
 
u32 SIEnablePolling (u32 poll)
 
u32 SIDisablePolling (u32 poll)
 
static BOOL SIGetResponseRaw (s32 chan)
 
BOOL SIGetResponse (s32 chan, void *data)
 
BOOL SITransfer (s32 chan, void *output, u32 outputBytes, void *input, u32 inputBytes, SICallback callback, OSTime delay)
 
u32 SIGetType (s32 chan)
 
u32 SIGetTypeAsync (s32 chan, SITypeAndStatusCallback callback)
 
vu32 __SIRegs[64] AT_ADDRESS (0xCC006400)
 

Typedef Documentation

◆ SICallback

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

◆ SIComm_s

◆ SIComm_u

◆ SIControl

◆ SIPacket

◆ SITypeAndStatusCallback

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

Function Documentation

◆ AT_ADDRESS()

vu32 __SIRegs[64] AT_ADDRESS ( 0xCC006400  )

◆ SIBusy()

BOOL SIBusy ( void  )

◆ SIDisablePolling()

u32 SIDisablePolling ( u32  poll)

◆ SIEnablePolling()

u32 SIEnablePolling ( u32  poll)

◆ SIEnablePollingInterrupt()

static BOOL SIEnablePollingInterrupt ( BOOL  enable)
static

◆ SIGetResponse()

BOOL SIGetResponse ( s32  chan,
void data 
)

◆ SIGetResponseRaw()

static BOOL SIGetResponseRaw ( s32  chan)
static

◆ SIGetStatus()

u32 SIGetStatus ( s32  chan)

◆ SIGetType()

u32 SIGetType ( s32  chan)

◆ SIGetTypeAsync()

u32 SIGetTypeAsync ( s32  chan,
SITypeAndStatusCallback  callback 
)

◆ SIInit()

void SIInit ( void  )

◆ SIInterruptHandler()

static void SIInterruptHandler ( __OSInterrupt  interrupt,
OSContext context 
)
static

◆ SIIsChanBusy()

BOOL SIIsChanBusy ( s32  chan)

◆ SIRegisterPollingHandler()

BOOL SIRegisterPollingHandler ( __OSInterruptHandler  handler)

◆ SISetCommand()

void SISetCommand ( s32  chan,
u32  command 
)

◆ SISetXY()

u32 SISetXY ( u32  x,
u32  y 
)

◆ SITransfer()

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

◆ SITransferCommands()

void SITransferCommands ( void  )

◆ SIUnregisterPollingHandler()

BOOL SIUnregisterPollingHandler ( __OSInterruptHandler  handler)