sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
aifdev9.h File Reference
#include <types.h>
#include <irx.h>
#include <dev9.h>
#include <aifregs.h>

Go to the source code of this file.

Macros

#define aifdev9_IMPORTS_start   DECLARE_IMPORT_TABLE(aifdev9, 1, 1)
#define aifdev9_IMPORTS_end   END_IMPORT_TABLE
#define I_aifIsDetected   DECLARE_IMPORT(4, aifIsDetected)
#define I_aifIntrEnable   DECLARE_IMPORT(5, aifIntrEnable)
#define I_aifIntrDisable   DECLARE_IMPORT(6, aifIntrDisable)
#define I_aifRegisterIntrCb   DECLARE_IMPORT(7, aifRegisterIntrCb)
#define I_aifRegisterShutdownCb   DECLARE_IMPORT(8, aifRegisterShutdownCb)
#define I_aifRTCReadData   DECLARE_IMPORT(9, aifRTCReadData)
#define I_aifRTCWriteData   DECLARE_IMPORT(10, aifRTCWriteData)

Typedefs

typedef int(*) aif_intr_cb_t(void)

Functions

int aifIsDetected (void)
void aifIntrEnable (int mask)
void aifIntrDisable (int mask)
void aifRegisterIntrCb (int intr, aif_intr_cb_t cb)
int aifRegisterShutdownCb (int idx, dev9_shutdown_cb_t cb)
unsigned char aifRTCReadData (unsigned short int address)
void aifRTCWriteData (unsigned char data, unsigned short int address)

Macro Definition Documentation

◆ aifdev9_IMPORTS_end

#define aifdev9_IMPORTS_end   END_IMPORT_TABLE

Definition at line 40 of file aifdev9.h.

◆ aifdev9_IMPORTS_start

#define aifdev9_IMPORTS_start   DECLARE_IMPORT_TABLE(aifdev9, 1, 1)

Definition at line 39 of file aifdev9.h.

◆ I_aifIntrDisable

#define I_aifIntrDisable   DECLARE_IMPORT(6, aifIntrDisable)

Definition at line 44 of file aifdev9.h.

◆ I_aifIntrEnable

#define I_aifIntrEnable   DECLARE_IMPORT(5, aifIntrEnable)

Definition at line 43 of file aifdev9.h.

◆ I_aifIsDetected

#define I_aifIsDetected   DECLARE_IMPORT(4, aifIsDetected)

Definition at line 42 of file aifdev9.h.

◆ I_aifRegisterIntrCb

#define I_aifRegisterIntrCb   DECLARE_IMPORT(7, aifRegisterIntrCb)

Definition at line 45 of file aifdev9.h.

◆ I_aifRegisterShutdownCb

#define I_aifRegisterShutdownCb   DECLARE_IMPORT(8, aifRegisterShutdownCb)

Definition at line 46 of file aifdev9.h.

◆ I_aifRTCReadData

#define I_aifRTCReadData   DECLARE_IMPORT(9, aifRTCReadData)

Definition at line 47 of file aifdev9.h.

◆ I_aifRTCWriteData

#define I_aifRTCWriteData   DECLARE_IMPORT(10, aifRTCWriteData)

Definition at line 48 of file aifdev9.h.

Typedef Documentation

◆ aif_intr_cb_t

typedef int(*) aif_intr_cb_t(void)

Definition at line 26 of file aifdev9.h.