GBDK 2020 Docs API Documentation for GBDK 2020

hardware.h
Go to the documentation of this file.
1
7 #ifndef _HARDWARE_H
8 #define _HARDWARE_H
9
10 #include <types.h>
11
12 #define __REG extern volatile __sfr
13
14 __REG P1_REG ;
15 __REG SB_REG ;
16 __REG SC_REG ;
17 __REG DIV_REG ;
18 __REG TIMA_REG ;
19 __REG TMA_REG ;
20 __REG TAC_REG ;
21 __REG IF_REG ;
22 __REG NR10_REG ;
23 __REG NR11_REG ;
24 __REG NR12_REG ;
25 __REG NR13_REG ;
26 __REG NR14_REG ;
27 __REG NR21_REG ;
28 __REG NR22_REG ;
29 __REG NR23_REG ;
30 __REG NR24_REG ;
31 __REG NR30_REG ;
32 __REG NR31_REG ;
33 __REG NR32_REG ;
34 __REG NR33_REG ;
35 __REG NR34_REG ;
36 __REG NR41_REG ;
37 __REG NR42_REG ;
38 __REG NR43_REG ;
39 __REG NR44_REG ;
40 __REG NR50_REG ;
41 __REG NR51_REG ;
42 __REG NR52_REG ;
43 __REG LCDC_REG ;
44 __REG STAT_REG ;
45 __REG SCY_REG ;
46 __REG SCX_REG ;
47 __REG LY_REG ;
48 __REG LYC_REG ;
49 __REG DMA_REG ;
50 __REG BGP_REG ;
51 __REG OBP0_REG ;
52 __REG OBP1_REG ;
53 __REG WY_REG ;
54 __REG WX_REG ;
55 __REG KEY1_REG ;
56 __REG VBK_REG ;
57 __REG HDMA1_REG ;
58 __REG HDMA2_REG ;
59 __REG HDMA3_REG ;
60 __REG HDMA4_REG ;
61 __REG HDMA5_REG ;
62 __REG RP_REG ;
63 __REG BCPS_REG ;
64 __REG BCPD_REG ;
65 __REG OCPS_REG ;
66 __REG OCPD_REG ;
67 __REG SVBK_REG ;
68 __REG IE_REG ;
70 #endif /* _HARDWARE_H */
NR34_REG
__REG NR34_REG
Definition: hardware.h:35
TMA_REG
__REG TMA_REG
Definition: hardware.h:19
NR22_REG
__REG NR22_REG
Definition: hardware.h:28
P1_REG
__REG P1_REG
Definition: hardware.h:14
KEY1_REG
__REG KEY1_REG
Definition: hardware.h:55
WY_REG
__REG WY_REG
Definition: hardware.h:53
SVBK_REG
__REG SVBK_REG
Definition: hardware.h:67
SC_REG
__REG SC_REG
Definition: hardware.h:16
NR21_REG
__REG NR21_REG
Definition: hardware.h:27
VBK_REG
__REG VBK_REG
Definition: hardware.h:56
HDMA1_REG
__REG HDMA1_REG
Definition: hardware.h:57
OCPS_REG
__REG OCPS_REG
Definition: hardware.h:65
STAT_REG
__REG STAT_REG
Definition: hardware.h:44
NR11_REG
__REG NR11_REG
Definition: hardware.h:23
NR33_REG
__REG NR33_REG
Definition: hardware.h:34
HDMA4_REG
__REG HDMA4_REG
Definition: hardware.h:60
SB_REG
__REG SB_REG
Definition: hardware.h:15
DMA_REG
__REG DMA_REG
Definition: hardware.h:49
TIMA_REG
__REG TIMA_REG
Definition: hardware.h:18
OBP1_REG
__REG OBP1_REG
Definition: hardware.h:52
NR42_REG
__REG NR42_REG
Definition: hardware.h:37
__REG
#define __REG
Definition: hardware.h:12
TAC_REG
__REG TAC_REG
Definition: hardware.h:20
NR24_REG
__REG NR24_REG
Definition: hardware.h:30
NR44_REG
__REG NR44_REG
Definition: hardware.h:39
HDMA3_REG
__REG HDMA3_REG
Definition: hardware.h:59
NR41_REG
__REG NR41_REG
Definition: hardware.h:36
NR51_REG
__REG NR51_REG
Definition: hardware.h:41
OBP0_REG
__REG OBP0_REG
Definition: hardware.h:51
IE_REG
__REG IE_REG
Definition: hardware.h:68
RP_REG
__REG RP_REG
Definition: hardware.h:62
NR32_REG
__REG NR32_REG
Definition: hardware.h:33
SCX_REG
__REG SCX_REG
Definition: hardware.h:46
NR43_REG
__REG NR43_REG
Definition: hardware.h:38
HDMA5_REG
__REG HDMA5_REG
Definition: hardware.h:61
BCPD_REG
__REG BCPD_REG
Definition: hardware.h:64
LYC_REG
__REG LYC_REG
Definition: hardware.h:48
BCPS_REG
__REG BCPS_REG
Definition: hardware.h:63
NR52_REG
__REG NR52_REG
Definition: hardware.h:42
HDMA2_REG
__REG HDMA2_REG
Definition: hardware.h:58
DIV_REG
__REG DIV_REG
Definition: hardware.h:17
NR10_REG
__REG NR10_REG
Definition: hardware.h:22
NR30_REG
__REG NR30_REG
Definition: hardware.h:31
LY_REG
__REG LY_REG
Definition: hardware.h:47
NR12_REG
__REG NR12_REG
Definition: hardware.h:24
NR14_REG
__REG NR14_REG
Definition: hardware.h:26
NR23_REG
__REG NR23_REG
Definition: hardware.h:29
IF_REG
__REG IF_REG
Definition: hardware.h:21
WX_REG
__REG WX_REG
Definition: hardware.h:54
NR50_REG
__REG NR50_REG
Definition: hardware.h:40
BGP_REG
__REG BGP_REG
Definition: hardware.h:50
LCDC_REG
__REG LCDC_REG
Definition: hardware.h:43
NR31_REG
__REG NR31_REG
Definition: hardware.h:32
NR13_REG
__REG NR13_REG
Definition: hardware.h:25
OCPD_REG
__REG OCPD_REG
Definition: hardware.h:66
SCY_REG
__REG SCY_REG
Definition: hardware.h:45