NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
ai_hardware.h
1
#ifndef RVL_SDK_AI_HARDWARE_H
2
#define RVL_SDK_AI_HARDWARE_H
3
#include <types.h>
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
/**
9
* AI hardware registers
10
*/
11
volatile
u32 AI_HW_REGS[] : 0xCD006C00;
12
13
/**
14
* Hardware register indexes
15
*/
16
typedef
enum
{
17
AI_AICR,
//!< 0xCD006C00
18
AI_AIVR,
//!< 0xCD006C04
19
AI_AISCNT,
//!< 0xCD006C08
20
AI_AIIT,
//!< 0xCD006C0C
21
};
22
23
// AICR - AI Control Register
24
#define AI_AICR_SAMPLERATE (1 << 6)
25
#define AI_AICR_SCRESET (1 << 5)
26
#define AI_AICR_AIINTVLD (1 << 4)
27
#define AI_AICR_AIINT (1 << 3)
28
#define AI_AICR_AIINTMSK (1 << 2)
29
#define AI_AICR_AFR (1 << 1)
30
#define AI_AICR_PSTAT (1 << 0)
31
32
#ifdef __cplusplus
33
}
34
#endif
35
#endif
include
lib
revolution
AI
ai_hardware.h
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2