|
SSBM Decomp
|
#include <dolphin/hw_regs.h>Go to the source code of this file.
Data Structures | |
| struct | SIControl |
| struct | SIPacket |
Macros | |
| #define | CHAN_NONE -1 |
| #define | SI_MAX_CHAN 4 |
| #define | SI_COMCSR_IDX 13 |
| #define | SI_STATUS_IDX 14 |
| #define | SI_COMCSR_TCINT_MASK (1 << 31) |
| #define | SI_COMCSR_TCINTMSK_MASK (1 << 30) |
| #define | SI_COMCSR_COMERR_MASK (1 << 29) |
| #define | SI_COMCSR_RDSTINT_MASK (1 << 28) |
| #define | SI_COMCSR_RDSTINTMSK_MASK (1 << 27) |
| #define | SI_COMCSR_OUTLNGTH_MASK |
| #define | SI_COMCSR_INLNGTH_MASK |
| #define | SI_COMCSR_CHANNEL_MASK (1 << 2) | (1 << 1) |
| #define | SI_COMCSR_TSTART_MASK (1 << 0) |
Typedefs | |
| typedef void(* | SITypeAndStatusCallback) (long chan, unsigned long type) |
Functions | |
| int | SIBusy () |
| BOOL | SIIsChanBusy (int chan) |
| BOOL | SIRegisterPollingHandler (__OSInterruptHandler) |
| BOOL | SIUnregisterPollingHandler (__OSInterruptHandler) |
| void | SIInit () |
| unsigned long | SISync () |
| unsigned long | SIGetStatus (int) |
| void | SISetCommand (long chan, unsigned long command) |
| unsigned long | SIGetCommand (long chan) |
| void | SITransferCommands () |
| unsigned long | SISetXY (unsigned long x, unsigned long y) |
| unsigned long | SIEnablePolling (unsigned long poll) |
| unsigned long | SIDisablePolling (unsigned long poll) |
| int | SIGetResponse (long chan, void *data) |
| int | SITransfer (long chan, void *output, unsigned long outputBytes, void *input, unsigned long inputBytes, void(*callback)(long, unsigned long, struct OSContext *), OSTime delay) |
| unsigned long | SIGetType (long chan) |
| unsigned long | SIGetTypeAsync (long chan, SITypeAndStatusCallback callback) |
| #define CHAN_NONE -1 |
| #define SI_MAX_CHAN 4 |
| #define SI_COMCSR_IDX 13 |
| #define SI_STATUS_IDX 14 |
| #define SI_COMCSR_TCINT_MASK (1 << 31) |
| #define SI_COMCSR_TCINTMSK_MASK (1 << 30) |
| #define SI_COMCSR_COMERR_MASK (1 << 29) |
| #define SI_COMCSR_RDSTINT_MASK (1 << 28) |
| #define SI_COMCSR_RDSTINTMSK_MASK (1 << 27) |
| #define SI_COMCSR_OUTLNGTH_MASK |
| #define SI_COMCSR_INLNGTH_MASK |
| #define SI_COMCSR_CHANNEL_MASK (1 << 2) | (1 << 1) |
| #define SI_COMCSR_TSTART_MASK (1 << 0) |
| typedef void(* SITypeAndStatusCallback) (long chan, unsigned long type) |
| int SIBusy | ( | ) |
| BOOL SIIsChanBusy | ( | int | chan | ) |
| BOOL SIRegisterPollingHandler | ( | __OSInterruptHandler | ) |
| BOOL SIUnregisterPollingHandler | ( | __OSInterruptHandler | ) |
| void SIInit | ( | ) |
| unsigned long SISync | ( | ) |
| unsigned long SIGetStatus | ( | int | ) |
| void SISetCommand | ( | long | chan, |
| unsigned long | command ) |
| unsigned long SIGetCommand | ( | long | chan | ) |
| void SITransferCommands | ( | ) |
| unsigned long SISetXY | ( | unsigned long | x, |
| unsigned long | y ) |
| unsigned long SIEnablePolling | ( | unsigned long | poll | ) |
| unsigned long SIDisablePolling | ( | unsigned long | poll | ) |
| int SIGetResponse | ( | long | chan, |
| void * | data ) |
| int SITransfer | ( | long | chan, |
| void * | output, | ||
| unsigned long | outputBytes, | ||
| void * | input, | ||
| unsigned long | inputBytes, | ||
| void(* | callback )(long, unsigned long, struct OSContext *), | ||
| OSTime | delay ) |
| unsigned long SIGetType | ( | long | chan | ) |
| unsigned long SIGetTypeAsync | ( | long | chan, |
| SITypeAndStatusCallback | callback ) |