File indexing completed on 2025-05-11 08:24:01
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042 #ifndef __IOSH7045_H
0043 #define __IOSH7045_H
0044
0045
0046
0047
0048
0049
0050
0051
0052
0053
0054
0055
0056
0057 #define REG_BASE 0xFFFF8000
0058
0059
0060 #define SCI_SMR0 (REG_BASE + 0x01a0)
0061 #define SCI_BRR0 (REG_BASE + 0x01a1)
0062 #define SCI_SCR0 (REG_BASE + 0x01a2)
0063 #define SCI_TDR0 (REG_BASE + 0x01a3)
0064 #define SCI_SSR0 (REG_BASE + 0x01a4)
0065 #define SCI_RDR0 (REG_BASE + 0x01a5)
0066
0067 #define SCI0_SMR SCI_SMR0
0068
0069
0070 #define SCI_SMR1 (REG_BASE + 0x01b0)
0071 #define SCI_BRR1 (REG_BASE + 0x01b1)
0072 #define SCI_SCR1 (REG_BASE + 0x01b2)
0073 #define SCI_TDR1 (REG_BASE + 0x01b3)
0074 #define SCI_SSR1 (REG_BASE + 0x01b4)
0075 #define SCI_RDR1 (REG_BASE + 0x01b5)
0076
0077 #define SCI1_SMR SCI_SMR1
0078
0079
0080
0081 #define ADDRA (REG_BASE + 0x03F0)
0082 #define ADDRB (REG_BASE + 0x03F2)
0083 #define ADDRC (REG_BASE + 0x03F4)
0084 #define ADDRD (REG_BASE + 0x03F6)
0085 #define ADDRE (REG_BASE + 0x03F8)
0086 #define ADDRF (REG_BASE + 0x03FA)
0087 #define ADDRG (REG_BASE + 0x03FC)
0088 #define ADDRH (REG_BASE + 0x03FE)
0089 #define ADCSR (REG_BASE + 0x03E0)
0090 #define ADCR (REG_BASE + 0x03E1)
0091
0092
0093 #define ADDRA0 (REG_BASE + 0x0400)
0094 #define ADDRA0H (REG_BASE + 0x0400)
0095 #define ADDRA0L (REG_BASE + 0x0401)
0096 #define ADDRB0 (REG_BASE + 0x0402)
0097 #define ADDRB0H (REG_BASE + 0x0402)
0098 #define ADDRB0L (REG_BASE + 0x0403)
0099 #define ADDRC0 (REG_BASE + 0x0404)
0100 #define ADDRC0H (REG_BASE + 0x0404)
0101 #define ADDRC0L (REG_BASE + 0x0405)
0102 #define ADDRD0 (REG_BASE + 0x0406)
0103 #define ADDRD0H (REG_BASE + 0x0406)
0104 #define ADDRD0L (REG_BASE + 0x0407)
0105 #define ADCSR0 (REG_BASE + 0x0410)
0106 #define ADCR0 (REG_BASE + 0x0412)
0107 #define ADDRA1 (REG_BASE + 0x0408)
0108 #define ADDRA1H (REG_BASE + 0x0408)
0109 #define ADDRA1L (REG_BASE + 0x0409)
0110 #define ADDRB1 (REG_BASE + 0x040A)
0111 #define ADDRB1H (REG_BASE + 0x040A)
0112 #define ADDRB1L (REG_BASE + 0x040B)
0113 #define ADDRC1 (REG_BASE + 0x040C)
0114 #define ADDRC1H (REG_BASE + 0x040C)
0115 #define ADDRC1L (REG_BASE + 0x040D)
0116 #define ADDRD1 (REG_BASE + 0x040E)
0117 #define ADDRD1H (REG_BASE + 0x040E)
0118 #define ADDRD1L (REG_BASE + 0x040F)
0119 #define ADCSR1 (REG_BASE + 0x0411)
0120 #define ADCR1 (REG_BASE + 0x0413)
0121
0122
0123 #define MTU_TSTR (REG_BASE + 0x0240)
0124 #define MTU_TSYR (REG_BASE + 0x0241)
0125 #define MTU_ICSR (REG_BASE + 0x03C0)
0126 #define MTU_OCSR (REG_BASE + 0x03C0)
0127
0128
0129 #define MTU_TCR0 (REG_BASE + 0x0260)
0130 #define MTU_TMDR0 (REG_BASE + 0x0261)
0131 #define MTU_TIORH0 (REG_BASE + 0x0262)
0132 #define MTU_TIORL0 (REG_BASE + 0x0263)
0133 #define MTU_TIER0 (REG_BASE + 0x0264)
0134 #define MTU_TSR0 (REG_BASE + 0x0265)
0135 #define MTU_TCNT0 (REG_BASE + 0x0266)
0136 #define MTU_GR0A (REG_BASE + 0x0268)
0137 #define MTU_GR0B (REG_BASE + 0x026A)
0138 #define MTU_GR0C (REG_BASE + 0x026C)
0139 #define MTU_GR0D (REG_BASE + 0x026E)
0140
0141
0142 #define MTU_TCR1 (REG_BASE + 0x0280)
0143 #define MTU_TMDR1 (REG_BASE + 0x0281)
0144 #define MTU_TIOR1 (REG_BASE + 0x0282)
0145 #define MTU_TIER1 (REG_BASE + 0x0284)
0146 #define MTU_TSR1 (REG_BASE + 0x0285)
0147 #define MTU_TCNT1 (REG_BASE + 0x0286)
0148 #define MTU_GR1A (REG_BASE + 0x0288)
0149 #define MTU_GR1B (REG_BASE + 0x028A)
0150
0151
0152 #define MTU_TCR2 (REG_BASE + 0x02A0)
0153 #define MTU_TMDR2 (REG_BASE + 0x02A1)
0154 #define MTU_TIOR2 (REG_BASE + 0x02A2)
0155 #define MTU_TIER2 (REG_BASE + 0x02A4)
0156 #define MTU_TSR2 (REG_BASE + 0x02A5)
0157 #define MTU_TCNT2 (REG_BASE + 0x02A6)
0158 #define MTU_GR2A (REG_BASE + 0x02A8)
0159 #define MTU_GR2B (REG_BASE + 0x02AA)
0160
0161
0162 #define MTU_TOER (REG_BASE + 0x020A)
0163 #define MTU_TOCR (REG_BASE + 0x020B)
0164 #define MTU_TGCR (REG_BASE + 0x020D)
0165 #define MTU_TCDR (REG_BASE + 0x0214)
0166 #define MTU_TDDR (REG_BASE + 0x0216)
0167 #define MTU_TCNTS (REG_BASE + 0x0220)
0168 #define MTU_TCBR (REG_BASE + 0x0222)
0169
0170
0171 #define MTU_TCR3 (REG_BASE + 0x0200)
0172 #define MTU_TMDR3 (REG_BASE + 0x0202)
0173 #define MTU_TIORH3 (REG_BASE + 0x0204)
0174 #define MTU_TIORL3 (REG_BASE + 0x0205)
0175 #define MTU_TIER3 (REG_BASE + 0x0208)
0176 #define MTU_TSR3 (REG_BASE + 0x022C)
0177 #define MTU_TCNT3 (REG_BASE + 0x0210)
0178 #define MTU_GR3A (REG_BASE + 0x0218)
0179 #define MTU_GR3B (REG_BASE + 0x021A)
0180 #define MTU_GR3C (REG_BASE + 0x0224)
0181 #define MTU_GR3D (REG_BASE + 0x0226)
0182
0183
0184 #define MTU_TCR4 (REG_BASE + 0x0201)
0185 #define MTU_TMDR4 (REG_BASE + 0x0203)
0186 #define MTU_TIOR4 (REG_BASE + 0x0206)
0187 #define MTU_TIORH4 (REG_BASE + 0x0206)
0188 #define MTU_TIORL4 (REG_BASE + 0x0207)
0189 #define MTU_TIER4 (REG_BASE + 0x0209)
0190 #define MTU_TSR4 (REG_BASE + 0x022D)
0191 #define MTU_TCNT4 (REG_BASE + 0x0212)
0192 #define MTU_GR4A (REG_BASE + 0x021C)
0193 #define MTU_GR4B (REG_BASE + 0x021E)
0194 #define MTU_GR4C (REG_BASE + 0x0228)
0195 #define MTU_GR4D (REG_BASE + 0x022A)
0196
0197
0198 #define DMAOR (REG_BASE + 0x06B0)
0199
0200
0201 #define DMA_SAR0 (REG_BASE + 0x06C0)
0202 #define DMA_DAR0 (REG_BASE + 0x06C4)
0203 #define DMA_DMATCR0 (REG_BASE + 0x06C8)
0204 #define DMA_CHCR0 (REG_BASE + 0x06CC)
0205
0206
0207 #define DMA_SAR1 (REG_BASE + 0x06D0)
0208 #define DMA_DAR1 (REG_BASE + 0x06D4)
0209 #define DMA_DMATCR1 (REG_BASE + 0x06D8)
0210 #define DMA_CHCR1 (REG_BASE + 0x06DC)
0211
0212
0213 #define DMA_SAR3 (REG_BASE + 0x06E0)
0214 #define DMA_DAR3 (REG_BASE + 0x06E4)
0215 #define DMA_DMATCR3 (REG_BASE + 0x06E8)
0216 #define DMA_CHCR3 (REG_BASE + 0x06EC)
0217
0218
0219 #define DMA_SAR4 (REG_BASE + 0x06F0)
0220 #define DMA_DAR4 (REG_BASE + 0x06F4)
0221 #define DMA_DMATCR4 (REG_BASE + 0x06F8)
0222 #define DMA_CHCR4 (REG_BASE + 0x06FC)
0223
0224
0225 #define DTC_DTEA (REG_BASE + 0x0700)
0226 #define DTC_DTEB (REG_BASE + 0x0701)
0227 #define DTC_DTEC (REG_BASE + 0x0702)
0228 #define DTC_DTED (REG_BASE + 0x0703)
0229 #define DTC_DTEE (REG_BASE + 0x0704)
0230 #define DTC_DTCSR (REG_BASE + 0x0706)
0231 #define DTC_DTBR (REG_BASE + 0x0708)
0232
0233
0234 #define CAC_CCR (REG_BASE + 0x0740)
0235
0236
0237 #define INTC_IPRA (REG_BASE + 0x0348)
0238 #define INTC_IPRB (REG_BASE + 0x034A)
0239 #define INTC_IPRC (REG_BASE + 0x034C)
0240 #define INTC_IPRD (REG_BASE + 0x034E)
0241 #define INTC_IPRE (REG_BASE + 0x0350)
0242 #define INTC_IPRF (REG_BASE + 0x0352)
0243 #define INTC_IPRG (REG_BASE + 0x0354)
0244 #define INTC_IPRH (REG_BASE + 0x0356)
0245 #define INTC_ICR (REG_BASE + 0x0358)
0246 #define INTC_ISR (REG_BASE + 0x035A)
0247
0248
0249 #define FL_FLMCR1 (REG_BASE + 0x0580)
0250 #define FL_FLMCR2 (REG_BASE + 0x0581)
0251 #define FL_EBR1 (REG_BASE + 0x0582)
0252 #define FL_EBR2 (REG_BASE + 0x0584)
0253 #define FL_RAMER (REG_BASE + 0x0628)
0254
0255
0256 #define UBC_BARH (REG_BASE + 0x0600)
0257 #define UBC_BARL (REG_BASE + 0x0602)
0258 #define UBC_BAMRH (REG_BASE + 0x0604)
0259 #define UBC_BAMRL (REG_BASE + 0x0606)
0260 #define UBC_BBR (REG_BASE + 0x0608)
0261
0262 #define BSC_BCR1 (REG_BASE + 0x0620)
0263 #define BSC_BCR2 (REG_BASE + 0x0622)
0264 #define BSC_WCR1 (REG_BASE + 0x0624)
0265 #define BSC_WCR2 (REG_BASE + 0x0626)
0266 #define BSC_DCR (REG_BASE + 0x062A)
0267 #define BSC_RTCSR (REG_BASE + 0x062C)
0268 #define BSC_RTCNT (REG_BASE + 0x062E)
0269 #define BSC_RTCOR (REG_BASE + 0x0630)
0270
0271
0272 #define WDT_R_TCSR (REG_BASE + 0x0610)
0273 #define WDT_R_TCNT (REG_BASE + 0x0611)
0274 #define WDT_R_RSTCSR (REG_BASE + 0x0613)
0275 #define WDT_W_TCSR (REG_BASE + 0x0610)
0276 #define WDT_W_TCNT (REG_BASE + 0x0610)
0277 #define WDT_W_RSTCSR (REG_BASE + 0x0612)
0278
0279
0280 #define PDT_SBYCR (REG_BASE + 0x0614)
0281
0282
0283 #define IO_PADRH (REG_BASE + 0x0380)
0284 #define IO_PADRL (REG_BASE + 0x0382)
0285 #define IO_PBDR (REG_BASE + 0x0390)
0286 #define IO_PCDR (REG_BASE + 0x0392)
0287 #define IO_PDDRH (REG_BASE + 0x03A0)
0288 #define IO_PDDRL (REG_BASE + 0x03A2)
0289 #define IO_PEDR (REG_BASE + 0x03B0)
0290 #define IO_PFDR (REG_BASE + 0x03B2)
0291
0292
0293 #define PFC_PAIORH (REG_BASE + 0x0384)
0294 #define PFC_PAIORL (REG_BASE + 0x0386)
0295 #define PFC_PACRH (REG_BASE + 0x0388)
0296 #define PFC_PACRL1 (REG_BASE + 0x038C)
0297 #define PFC_PACRL2 (REG_BASE + 0x038E)
0298 #define PFC_PBIOR (REG_BASE + 0x0394)
0299 #define PFC_PBCR1 (REG_BASE + 0x0398)
0300 #define PFC_PBCR2 (REG_BASE + 0x039A)
0301 #define PFC_PCIOR (REG_BASE + 0x0396)
0302 #define PFC_PCCR (REG_BASE + 0x039C)
0303 #define PFC_PDIORH (REG_BASE + 0x03A4)
0304 #define PFC_PDIORL (REG_BASE + 0x03A6)
0305 #define PFC_PDCRH1 (REG_BASE + 0x03A8)
0306 #define PFC_PDCRH2 (REG_BASE + 0x03AA)
0307 #define PFC_PDCRL (REG_BASE + 0x03AC)
0308 #define PFC_PEIOR (REG_BASE + 0x03B4)
0309 #define PFC_PECR1 (REG_BASE + 0x03B8)
0310 #define PFC_PECR2 (REG_BASE + 0x03BA)
0311 #define PFC_IFCR (REG_BASE + 0x03C8)
0312
0313
0314 #define CMT_CMSTR (REG_BASE + 0x3D0)
0315 #define CMT_CMCSR0 (REG_BASE + 0x3D2)
0316 #define CMT_CMCNT0 (REG_BASE + 0x3D4)
0317 #define CMT_CMCOR0 (REG_BASE + 0x3D6)
0318 #define CMT_CMCSR1 (REG_BASE + 0x3D8)
0319 #define CMT_CMCNT1 (REG_BASE + 0x3DA)
0320 #define CMT_CMCOR1 (REG_BASE + 0x3DC)
0321
0322 #endif