mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-25 15:26:21 -04:00
31 lines
548 B
C
31 lines
548 B
C
#ifndef AMCEXI2STUBS_H
|
|
#define AMCEXI2STUBS_H
|
|
|
|
#include "dolphin/os/OS.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef __OSInterruptHandler AmcEXICallback;
|
|
|
|
typedef enum {
|
|
AMC_EXI_NO_ERROR = 0,
|
|
AMC_EXI_UNSELECTED
|
|
} AmcExiError;
|
|
|
|
void EXI2_Init(vu8**, AmcEXICallback);
|
|
void EXI2_EnableInterrupts(void);
|
|
int EXI2_Poll(void);
|
|
AmcExiError EXI2_ReadN(void*, u32);
|
|
AmcExiError EXI2_WriteN(const void*, u32);
|
|
void EXI2_Reserve(void);
|
|
void EXI2_Unreserve(void);
|
|
BOOL AMC_IsStub(void);
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif /* AMCEXI2STUBS_H */
|