Files
Yanis 7e53a40426 Match AmcExi2Stubs & odenotstub (#131)
* match AmcExi2Stubs & odenotstub

* format

* moved dolphin include

* enum consistency

* review
2024-05-21 08:41:46 -07:00

24 lines
409 B
C

#ifndef DEBUGGER_H
#define DEBUGGER_H
#include "dolphin.h"
// EXI error codes
typedef enum {
AMC_EXI_NO_ERROR = 0,
AMC_EXI_UNSELECTED = 1
} AmcExiError;
void EXI2_Init(void);
void EXI2_EnableInterrupts(void);
bool EXI2_Poll(void);
AmcExiError EXI2_ReadN(void);
AmcExiError EXI2_WriteN(void);
void EXI2_Reserve(void);
void EXI2_Unreserve(void);
bool AMC_IsStub(void);
bool Hu_IsStub(void);
#endif