Go to the documentation of this file.
30 #ifndef _SAME54_SDHC0_INSTANCE_
31 #define _SAME54_SDHC0_INSTANCE_
34 #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
35 #define REG_SDHC0_SSAR (0x45000000)
36 #define REG_SDHC0_BSR (0x45000004)
37 #define REG_SDHC0_BCR (0x45000006)
38 #define REG_SDHC0_ARG1R (0x45000008)
39 #define REG_SDHC0_TMR (0x4500000C)
40 #define REG_SDHC0_CR (0x4500000E)
41 #define REG_SDHC0_RR0 (0x45000010)
42 #define REG_SDHC0_RR1 (0x45000014)
43 #define REG_SDHC0_RR2 (0x45000018)
44 #define REG_SDHC0_RR3 (0x4500001C)
45 #define REG_SDHC0_BDPR (0x45000020)
46 #define REG_SDHC0_PSR (0x45000024)
47 #define REG_SDHC0_HC1R (0x45000028)
48 #define REG_SDHC0_PCR (0x45000029)
49 #define REG_SDHC0_BGCR (0x4500002A)
50 #define REG_SDHC0_WCR (0x4500002B)
51 #define REG_SDHC0_CCR (0x4500002C)
52 #define REG_SDHC0_TCR (0x4500002E)
53 #define REG_SDHC0_SRR (0x4500002F)
54 #define REG_SDHC0_NISTR (0x45000030)
55 #define REG_SDHC0_EISTR (0x45000032)
56 #define REG_SDHC0_NISTER (0x45000034)
57 #define REG_SDHC0_EISTER (0x45000036)
58 #define REG_SDHC0_NISIER (0x45000038)
59 #define REG_SDHC0_EISIER (0x4500003A)
60 #define REG_SDHC0_ACESR (0x4500003C)
61 #define REG_SDHC0_HC2R (0x4500003E)
62 #define REG_SDHC0_CA0R (0x45000040)
63 #define REG_SDHC0_CA1R (0x45000044)
64 #define REG_SDHC0_MCCAR (0x45000048)
65 #define REG_SDHC0_FERACES (0x45000050)
66 #define REG_SDHC0_FEREIS (0x45000052)
67 #define REG_SDHC0_AESR (0x45000054)
68 #define REG_SDHC0_ASAR0 (0x45000058)
69 #define REG_SDHC0_PVR0 (0x45000060)
70 #define REG_SDHC0_PVR1 (0x45000062)
71 #define REG_SDHC0_PVR2 (0x45000064)
72 #define REG_SDHC0_PVR3 (0x45000066)
73 #define REG_SDHC0_PVR4 (0x45000068)
74 #define REG_SDHC0_PVR5 (0x4500006A)
75 #define REG_SDHC0_PVR6 (0x4500006C)
76 #define REG_SDHC0_PVR7 (0x4500006E)
77 #define REG_SDHC0_SISR (0x450000FC)
78 #define REG_SDHC0_HCVR (0x450000FE)
79 #define REG_SDHC0_MC1R (0x45000204)
80 #define REG_SDHC0_MC2R (0x45000205)
81 #define REG_SDHC0_ACR (0x45000208)
82 #define REG_SDHC0_CC2R (0x4500020C)
83 #define REG_SDHC0_CACR (0x45000230)
84 #define REG_SDHC0_DBGR (0x45000234)
86 #define REG_SDHC0_SSAR (*(RwReg *)0x45000000UL)
87 #define REG_SDHC0_BSR (*(RwReg16*)0x45000004UL)
88 #define REG_SDHC0_BCR (*(RwReg16*)0x45000006UL)
89 #define REG_SDHC0_ARG1R (*(RwReg *)0x45000008UL)
90 #define REG_SDHC0_TMR (*(RwReg16*)0x4500000CUL)
91 #define REG_SDHC0_CR (*(RwReg16*)0x4500000EUL)
92 #define REG_SDHC0_RR0 (*(RoReg *)0x45000010UL)
93 #define REG_SDHC0_RR1 (*(RoReg *)0x45000014UL)
94 #define REG_SDHC0_RR2 (*(RoReg *)0x45000018UL)
95 #define REG_SDHC0_RR3 (*(RoReg *)0x4500001CUL)
96 #define REG_SDHC0_BDPR (*(RwReg *)0x45000020UL)
97 #define REG_SDHC0_PSR (*(RoReg *)0x45000024UL)
98 #define REG_SDHC0_HC1R (*(RwReg8 *)0x45000028UL)
99 #define REG_SDHC0_PCR (*(RwReg8 *)0x45000029UL)
100 #define REG_SDHC0_BGCR (*(RwReg8 *)0x4500002AUL)
101 #define REG_SDHC0_WCR (*(RwReg8 *)0x4500002BUL)
102 #define REG_SDHC0_CCR (*(RwReg16*)0x4500002CUL)
103 #define REG_SDHC0_TCR (*(RwReg8 *)0x4500002EUL)
104 #define REG_SDHC0_SRR (*(RwReg8 *)0x4500002FUL)
105 #define REG_SDHC0_NISTR (*(RwReg16*)0x45000030UL)
106 #define REG_SDHC0_EISTR (*(RwReg16*)0x45000032UL)
107 #define REG_SDHC0_NISTER (*(RwReg16*)0x45000034UL)
108 #define REG_SDHC0_EISTER (*(RwReg16*)0x45000036UL)
109 #define REG_SDHC0_NISIER (*(RwReg16*)0x45000038UL)
110 #define REG_SDHC0_EISIER (*(RwReg16*)0x4500003AUL)
111 #define REG_SDHC0_ACESR (*(RoReg16*)0x4500003CUL)
112 #define REG_SDHC0_HC2R (*(RwReg16*)0x4500003EUL)
113 #define REG_SDHC0_CA0R (*(RoReg *)0x45000040UL)
114 #define REG_SDHC0_CA1R (*(RoReg *)0x45000044UL)
115 #define REG_SDHC0_MCCAR (*(RoReg *)0x45000048UL)
116 #define REG_SDHC0_FERACES (*(WoReg16*)0x45000050UL)
117 #define REG_SDHC0_FEREIS (*(WoReg16*)0x45000052UL)
118 #define REG_SDHC0_AESR (*(RoReg8 *)0x45000054UL)
119 #define REG_SDHC0_ASAR0 (*(RwReg *)0x45000058UL)
120 #define REG_SDHC0_PVR0 (*(RwReg16*)0x45000060UL)
121 #define REG_SDHC0_PVR1 (*(RwReg16*)0x45000062UL)
122 #define REG_SDHC0_PVR2 (*(RwReg16*)0x45000064UL)
123 #define REG_SDHC0_PVR3 (*(RwReg16*)0x45000066UL)
124 #define REG_SDHC0_PVR4 (*(RwReg16*)0x45000068UL)
125 #define REG_SDHC0_PVR5 (*(RwReg16*)0x4500006AUL)
126 #define REG_SDHC0_PVR6 (*(RwReg16*)0x4500006CUL)
127 #define REG_SDHC0_PVR7 (*(RwReg16*)0x4500006EUL)
128 #define REG_SDHC0_SISR (*(RoReg16*)0x450000FCUL)
129 #define REG_SDHC0_HCVR (*(RoReg16*)0x450000FEUL)
130 #define REG_SDHC0_MC1R (*(RwReg8 *)0x45000204UL)
131 #define REG_SDHC0_MC2R (*(WoReg8 *)0x45000205UL)
132 #define REG_SDHC0_ACR (*(RwReg *)0x45000208UL)
133 #define REG_SDHC0_CC2R (*(RwReg *)0x4500020CUL)
134 #define REG_SDHC0_CACR (*(RwReg *)0x45000230UL)
135 #define REG_SDHC0_DBGR (*(RwReg8 *)0x45000234UL)
139 #define SDHC0_CARD_DATA_SIZE 4
140 #define SDHC0_CLK_AHB_ID 15
141 #define SDHC0_GCLK_ID 45
142 #define SDHC0_GCLK_ID_SLOW 3
143 #define SDHC0_NB_OF_DEVICES 1
144 #define SDHC0_NB_REG_PVR 8
145 #define SDHC0_NB_REG_RR 4