mirror of
https://github.com/zeldaret/af.git
synced 2026-09-29 07:00:42 -04:00
8c6ae625ae
* git subrepo pull (merge) lib/ultralib subrepo: subdir: "lib/ultralib" merged: "74f0eee" upstream: origin: "git@github.com:decompals/ultralib.git" branch: "main" commit: "2717d45" git-subrepo: version: "0.4.9" origin: "https://github.com/ingydotnet/git-subrepo" commit: "cce3d93" * New ultralib fixes * Update some includes in tools * git subrepo commit (merge) lib/ultralib subrepo: subdir: "lib/ultralib" merged: "3a702eaf" upstream: origin: "git@github.com:decompals/ultralib.git" branch: "main" commit: "48f9f908" git-subrepo: version: "0.4.9" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "ea10886" * Update warnings file
60 lines
1.2 KiB
C
60 lines
1.2 KiB
C
#ifndef CONTROLLER_VOICE_H
|
|
#define CONTROLLER_VOICE_H
|
|
|
|
#include "PR/ultratypes.h"
|
|
|
|
typedef struct {
|
|
/* 0x0 */ u8 dummy;
|
|
/* 0x1 */ u8 txsize;
|
|
/* 0x2 */ u8 rxsize;
|
|
/* 0x3 */ u8 cmd;
|
|
/* 0x4 */ u8 addrh;
|
|
/* 0x5 */ u8 addrl;
|
|
/* 0x6 */ u8 data[2];
|
|
/* 0x8 */ u8 datacrc;
|
|
} __OSVoiceRead2Format;
|
|
|
|
typedef struct {
|
|
/* 0x0 */ u8 dummy;
|
|
/* 0x1 */ u8 txsize;
|
|
/* 0x2 */ u8 rxsize;
|
|
/* 0x3 */ u8 cmd;
|
|
/* 0x4 */ u8 addrh;
|
|
/* 0x5 */ u8 addrl;
|
|
/* 0x6 */ u8 data[36];
|
|
/* 0x2A */ u8 datacrc;
|
|
} __OSVoiceRead36Format;
|
|
|
|
typedef struct {
|
|
/* 0x0 */ u8 dummy;
|
|
/* 0x1 */ u8 txsize;
|
|
/* 0x2 */ u8 rxsize;
|
|
/* 0x3 */ u8 cmd;
|
|
/* 0x4 */ u8 addrh;
|
|
/* 0x5 */ u8 addrl;
|
|
/* 0x6 */ u8 data[4];
|
|
/* 0xA */ u8 datacrc;
|
|
} __OSVoiceWrite4Format;
|
|
|
|
typedef struct {
|
|
/* 0x0 */ u8 dummy;
|
|
/* 0x1 */ u8 txsize;
|
|
/* 0x2 */ u8 rxsize;
|
|
/* 0x3 */ u8 cmd;
|
|
/* 0x4 */ u8 addrh;
|
|
/* 0x5 */ u8 addrl;
|
|
/* 0x6 */ u8 data[20];
|
|
/* 0x1A */ u8 datacrc;
|
|
} __OSVoiceWrite20Format;
|
|
|
|
typedef struct {
|
|
/* 0x0 */ u8 txsize;
|
|
/* 0x1 */ u8 rxsize;
|
|
/* 0x2 */ u8 cmd;
|
|
/* 0x3 */ u8 data;
|
|
/* 0x4 */ u8 scrc;
|
|
/* 0x5 */ u8 datacrc;
|
|
} __OSVoiceSWriteFormat;
|
|
|
|
#endif // CONTROLLER_VOICE_H
|