SSBM Decomp
Loading...
Searching...
No Matches
hio.h
Go to the documentation of this file.
1#ifndef _DOLPHIN_HIO_H_
2
3#include <platform.h>
4
5#define HIO_DEV Dev
6
7typedef void (*HIOCallback)(void);
8typedef bool (*HIOEnumCallback)(s32 chan);
9
12bool HIOReadMailbox(u32* word);
13bool HIOWriteMailbox(u32 word);
14bool HIORead(u32 addr, void* buffer, s32 size);
15bool HIOWrite(u32 addr, void* buffer, s32 size);
16bool HIOReadAsync(u32 addr, void* buffer, s32 size, HIOCallback callback);
17bool HIOWriteAsync(u32 addr, void* buffer, s32 size, HIOCallback callback);
19
20#endif
static OSTime buffer
Definition ai.c:22
static u32 status
Definition fstload.c:8
static void callback(HSD_GObj *gobj)
Definition ftDk_SpecialLw.c:88
bool HIOWriteAsync(u32 addr, void *buffer, s32 size, HIOCallback callback)
Definition hio.c:287
bool(* HIOEnumCallback)(s32 chan)
Definition hio.h:8
bool HIORead(u32 addr, void *buffer, s32 size)
Definition hio.c:208
bool HIOWrite(u32 addr, void *buffer, s32 size)
Definition hio.c:235
bool HIOReadMailbox(u32 *word)
Definition hio.c:158
bool HIOReadAsync(u32 addr, void *buffer, s32 size, HIOCallback callback)
Definition hio.c:262
void(* HIOCallback)(void)
Definition hio.h:7
bool HIOWriteMailbox(u32 word)
Definition hio.c:184
bool HIOEnumDevices(HIOEnumCallback callback)
Definition hio.c:63
bool HIOReadStatus(u32 *status)
Definition hio.c:312
bool HIOInit(s32 chan, HIOCallback callback)
Definition hio.c:86
unsigned long u32
An unsigned 32-bit integer.
Definition platform.h:26
signed long s32
A signed 32-bit integer.
Definition platform.h:14
int bool
A signed integer used to contain boolean values.
Definition stdbool.h:8