00001
00002
00003
00004
00005 #define IO_BASE 0
00006
00007 #ifndef IO_BASE
00008 #define IO_BASE _io_ports
00009 #endif
00010
00011
00012
00013 #define PORTA *(volatile unsigned char *)(IO_BASE + 0x00)
00014 #define PORTB *(volatile unsigned char *)(IO_BASE + 0x01)
00015 #define DDRA *(volatile unsigned char *)(IO_BASE + 0x02)
00016 #define DDRB *(volatile unsigned char *)(IO_BASE + 0x03)
00017 #define PORTE *(volatile unsigned char *)(IO_BASE + 0x08)
00018 #define DDRE *(volatile unsigned char *)(IO_BASE + 0x09)
00019 #define PEAR *(volatile unsigned char *)(IO_BASE + 0x0a)
00020 #define MODE *(volatile unsigned char *)(IO_BASE + 0x0b)
00021 #define PUCR *(volatile unsigned char *)(IO_BASE + 0x0c)
00022 #define RDRIV *(volatile unsigned char *)(IO_BASE + 0x0d)
00023 #define EBICTL *(volatile unsigned char *)(IO_BASE + 0x0e)
00024
00025
00026
00027 #define INITRM *(volatile unsigned char *)(IO_BASE + 0x10)
00028 #define INITRG *(volatile unsigned char *)(IO_BASE + 0x11)
00029 #define INITEE *(volatile unsigned char *)(IO_BASE + 0x12)
00030 #define MISC *(volatile unsigned char *)(IO_BASE + 0x13)
00031 #define MTST0 *(volatile unsigned char *)(IO_BASE + 0x14)
00032
00033
00034
00035 #define ITCR *(volatile unsigned char *)(IO_BASE + 0x15)
00036 #define ITEST *(volatile unsigned char *)(IO_BASE + 0x16)
00037
00038
00039
00040 #define MTST1 *(volatile unsigned char *)(IO_BASE + 0x17)
00041 #define PARTID *(volatile unsigned short int *)(IO_BASE + 0x1a)
00042 #define MEMSIZ0 *(volatile unsigned char *)(IO_BASE + 0x1c)
00043 #define MEMSIZ1 *(volatile unsigned char *)(IO_BASE + 0x1d)
00044
00045
00046
00047 #define INTCR *(volatile unsigned char *)(IO_BASE + 0x1e)
00048 #define HPRIO *(volatile unsigned char *)(IO_BASE + 0x1f)
00049
00050
00051
00052 #define BKPCT0 *(volatile unsigned char *)(IO_BASE + 0x28)
00053 #define BKPCT1 *(volatile unsigned char *)(IO_BASE + 0x29)
00054 #define BKP0X *(volatile unsigned char *)(IO_BASE + 0x2a)
00055 #define BKP0 *(volatile unsigned short int *)(IO_BASE + 0x2b)
00056 #define BKP1X *(volatile unsigned char *)(IO_BASE + 0x2d)
00057 #define BKP1 *(volatile unsigned short int *)(IO_BASE + 0x2e)
00058
00059
00060
00061 #define PPAGE *(volatile unsigned char *)(IO_BASE + 0x30)
00062 #define PORTK *(volatile unsigned char *)(IO_BASE + 0x32)
00063 #define DDRK *(volatile unsigned char *)(IO_BASE + 0x33)
00064
00065
00066
00067 #define SYNR *(volatile unsigned char *)(IO_BASE + 0x34)
00068 #define REFDV *(volatile unsigned char *)(IO_BASE + 0x35)
00069 #define CTFLG *(volatile unsigned char *)(IO_BASE + 0x36)
00070 #define CRGFLG *(volatile unsigned char *)(IO_BASE + 0x37)
00071 #define CRGINT *(volatile unsigned char *)(IO_BASE + 0x38)
00072 #define CLKSEL *(volatile unsigned char *)(IO_BASE + 0x39)
00073 #define PLLCTL *(volatile unsigned char *)(IO_BASE + 0x3a)
00074 #define RTICTL *(volatile unsigned char *)(IO_BASE + 0x3b)
00075 #define COPCTL *(volatile unsigned char *)(IO_BASE + 0x3c)
00076 #define FORBYP *(volatile unsigned char *)(IO_BASE + 0x3d)
00077 #define CTCTL *(volatile unsigned char *)(IO_BASE + 0x3e)
00078 #define ARMCOP *(volatile unsigned char *)(IO_BASE + 0x3f)
00079
00080
00081
00082 #define TIOS *(volatile unsigned char *)(IO_BASE + 0x40)
00083 #define TCFORC *(volatile unsigned char *)(IO_BASE + 0x41)
00084 #define TOC7M *(volatile unsigned char *)(IO_BASE + 0x42)
00085 #define TOC7D *(volatile unsigned char *)(IO_BASE + 0x43)
00086 #define TCNT *(volatile unsigned short int *)(IO_BASE + 0x44)
00087 #define TSCR1 *(volatile unsigned char *)(IO_BASE + 0x46)
00088 #define TTOV *(volatile unsigned char *)(IO_BASE + 0x47)
00089 #define TCTL1 *(volatile unsigned char *)(IO_BASE + 0x48)
00090 #define TCTL2 *(volatile unsigned char *)(IO_BASE + 0x49)
00091 #define TCTL3 *(volatile unsigned char *)(IO_BASE + 0x4a)
00092 #define TCTL4 *(volatile unsigned char *)(IO_BASE + 0x4b)
00093 #define TIE *(volatile unsigned char *)(IO_BASE + 0x4c)
00094 #define TSCR2 *(volatile unsigned char *)(IO_BASE + 0x4d)
00095 #define TFLG1 *(volatile unsigned char *)(IO_BASE + 0x4e)
00096 #define TFLG2 *(volatile unsigned char *)(IO_BASE + 0x4f)
00097 #define TC0 *(volatile unsigned short int *)(IO_BASE + 0x50)
00098 #define TC1 *(volatile unsigned short int *)(IO_BASE + 0x52)
00099 #define TC2 *(volatile unsigned short int *)(IO_BASE + 0x54)
00100 #define TC3 *(volatile unsigned short int *)(IO_BASE + 0x56)
00101 #define TC4 *(volatile unsigned short int *)(IO_BASE + 0x58)
00102 #define TC5 *(volatile unsigned short int *)(IO_BASE + 0x5a)
00103 #define TC6 *(volatile unsigned short int *)(IO_BASE + 0x5c)
00104 #define TC7 *(volatile unsigned short int *)(IO_BASE + 0x5e)
00105 #define PACTL *(volatile unsigned char *)(IO_BASE + 0x60)
00106 #define PAFLG *(volatile unsigned char *)(IO_BASE + 0x61)
00107 #define PACN3 *(volatile unsigned char *)(IO_BASE + 0x62)
00108 #define PACN2 *(volatile unsigned char *)(IO_BASE + 0x63)
00109 #define PACN1 *(volatile unsigned char *)(IO_BASE + 0x64)
00110 #define PACN0 *(volatile unsigned char *)(IO_BASE + 0x65)
00111 #define MCCTL *(volatile unsigned char *)(IO_BASE + 0x66)
00112 #define MCFLG *(volatile unsigned char *)(IO_BASE + 0x67)
00113 #define ICPAR *(volatile unsigned char *)(IO_BASE + 0x68)
00114 #define DLYCT *(volatile unsigned char *)(IO_BASE + 0x69)
00115 #define ICOVW *(volatile unsigned char *)(IO_BASE + 0x6a)
00116 #define ICSYS *(volatile unsigned char *)(IO_BASE + 0x6b)
00117 #define TIMTST *(volatile unsigned char *)(IO_BASE + 0x6d)
00118 #define PBCTL *(volatile unsigned char *)(IO_BASE + 0x70)
00119 #define PBFLG *(volatile unsigned char *)(IO_BASE + 0x71)
00120 #define PA3H *(volatile unsigned char *)(IO_BASE + 0x72)
00121 #define PA2H *(volatile unsigned char *)(IO_BASE + 0x73)
00122 #define PA1H *(volatile unsigned char *)(IO_BASE + 0x74)
00123 #define PA0H *(volatile unsigned char *)(IO_BASE + 0x75)
00124 #define MCCNT *(volatile unsigned short int *)(IO_BASE + 0x76)
00125 #define TC0H *(volatile unsigned short int *)(IO_BASE + 0x78)
00126 #define TC1H *(volatile unsigned short int *)(IO_BASE + 0x7a)
00127 #define TC2H *(volatile unsigned short int *)(IO_BASE + 0x7c)
00128 #define TC3H *(volatile unsigned short int *)(IO_BASE + 0x7e)
00129
00130
00131
00132 #define ATD0CTL0 *(volatile unsigned char *)(IO_BASE + 0x80)
00133 #define ATD0CTL1 *(volatile unsigned char *)(IO_BASE + 0x81)
00134 #define ATD0CTL2 *(volatile unsigned char *)(IO_BASE + 0x82)
00135 #define ATD0CTL3 *(volatile unsigned char *)(IO_BASE + 0x83)
00136 #define ATD0CTL4 *(volatile unsigned char *)(IO_BASE + 0x84)
00137 #define ATD0CTL5 *(volatile unsigned char *)(IO_BASE + 0x85)
00138 #define ATD0STAT0 *(volatile unsigned char *)(IO_BASE + 0x86)
00139 #define ATD0STAT1 *(volatile unsigned char *)(IO_BASE + 0x87)
00140 #define ATD0TEST0 *(volatile unsigned char *)(IO_BASE + 0x88)
00141 #define ATD0TEST1 *(volatile unsigned char *)(IO_BASE + 0x89)
00142 #define ATD0DIEN *(volatile unsigned char *)(IO_BASE + 0x8d)
00143 #define PORTAD0 *(volatile unsigned char *)(IO_BASE + 0x8f)
00144 #define ATD0DR0 *(volatile unsigned short int *)(IO_BASE + 0x90)
00145 #define ATD0DR1 *(volatile unsigned short int *)(IO_BASE + 0x92)
00146 #define ATD0DR2 *(volatile unsigned short int *)(IO_BASE + 0x94)
00147 #define ATD0DR3 *(volatile unsigned short int *)(IO_BASE + 0x96)
00148 #define ATD0DR4 *(volatile unsigned short int *)(IO_BASE + 0x98)
00149 #define ATD0DR5 *(volatile unsigned short int *)(IO_BASE + 0x9a)
00150 #define ATD0DR6 *(volatile unsigned short int *)(IO_BASE + 0x9c)
00151 #define ATD0DR7 *(volatile unsigned short int *)(IO_BASE + 0x9e)
00152
00153
00154
00155 #define PWME *(volatile unsigned char *)(IO_BASE + 0xa0)
00156 #define PWMPOL *(volatile unsigned char *)(IO_BASE + 0xa1)
00157 #define PWMCLK *(volatile unsigned char *)(IO_BASE + 0xa2)
00158 #define PWMPRCLK *(volatile unsigned char *)(IO_BASE + 0xa3)
00159 #define PWMCAE *(volatile unsigned char *)(IO_BASE + 0xa4)
00160 #define PWMCTL *(volatile unsigned char *)(IO_BASE + 0xa5)
00161 #define PWMTST *(volatile unsigned char *)(IO_BASE + 0xa6)
00162 #define PWMPRSC *(volatile unsigned char *)(IO_BASE + 0xa7)
00163 #define PWMSCLA *(volatile unsigned char *)(IO_BASE + 0xa8)
00164 #define PWMSCLB *(volatile unsigned char *)(IO_BASE + 0xa9)
00165 #define PWMSCNTA *(volatile unsigned char *)(IO_BASE + 0xaa)
00166 #define PWMSCNTB *(volatile unsigned char *)(IO_BASE + 0xab)
00167 #define PWMCNT0 *(volatile unsigned char *)(IO_BASE + 0xac)
00168 #define PWMCNT1 *(volatile unsigned char *)(IO_BASE + 0xad)
00169 #define PWMCNT2 *(volatile unsigned char *)(IO_BASE + 0xae)
00170 #define PWMCNT3 *(volatile unsigned char *)(IO_BASE + 0xaf)
00171 #define PWMCNT4 *(volatile unsigned char *)(IO_BASE + 0xb0)
00172 #define PWMCNT5 *(volatile unsigned char *)(IO_BASE + 0xb1)
00173 #define PWMCNT6 *(volatile unsigned char *)(IO_BASE + 0xb2)
00174 #define PWMCNT7 *(volatile unsigned char *)(IO_BASE + 0xb3)
00175 #define PWMPER0 *(volatile unsigned char *)(IO_BASE + 0xb4)
00176 #define PWMPER1 *(volatile unsigned char *)(IO_BASE + 0xb5)
00177 #define PWMPER2 *(volatile unsigned char *)(IO_BASE + 0xb6)
00178 #define PWMPER3 *(volatile unsigned char *)(IO_BASE + 0xb7)
00179 #define PWMPER4 *(volatile unsigned char *)(IO_BASE + 0xb8)
00180 #define PWMPER5 *(volatile unsigned char *)(IO_BASE + 0xb9)
00181 #define PWMPER6 *(volatile unsigned char *)(IO_BASE + 0xba)
00182 #define PWMPER7 *(volatile unsigned char *)(IO_BASE + 0xbb)
00183 #define PWMDTY0 *(volatile unsigned char *)(IO_BASE + 0xbc)
00184 #define PWMDTY1 *(volatile unsigned char *)(IO_BASE + 0xbd)
00185 #define PWMDTY2 *(volatile unsigned char *)(IO_BASE + 0xbe)
00186 #define PWMDTY3 *(volatile unsigned char *)(IO_BASE + 0xbf)
00187 #define PWMDTY4 *(volatile unsigned char *)(IO_BASE + 0xc0)
00188 #define PWMDTY5 *(volatile unsigned char *)(IO_BASE + 0xc1)
00189 #define PWMDTY6 *(volatile unsigned char *)(IO_BASE + 0xc2)
00190 #define PWMDTY7 *(volatile unsigned char *)(IO_BASE + 0xc3)
00191 #define PWMSDN *(volatile unsigned char *)(IO_BASE + 0xc4)
00192
00193
00194
00195 #define SCI0BDH *(volatile unsigned char *)(IO_BASE + 0xc8)
00196 #define SCI0BDL *(volatile unsigned char *)(IO_BASE + 0xc9)
00197 #define SCI0CR1 *(volatile unsigned char *)(IO_BASE + 0xca)
00198 #define SCI0CR2 *(volatile unsigned char *)(IO_BASE + 0xcb)
00199 #define SCI0SR1 *(volatile unsigned char *)(IO_BASE + 0xcc)
00200 #define SCI0SR2 *(volatile unsigned char *)(IO_BASE + 0xcd)
00201 #define SCI0DRH *(volatile unsigned char *)(IO_BASE + 0xce)
00202 #define SCI0DRL *(volatile unsigned char *)(IO_BASE + 0xcf)
00203
00204
00205
00206 #define SCI1BDH *(volatile unsigned char *)(IO_BASE + 0xd0)
00207 #define SCI1BDL *(volatile unsigned char *)(IO_BASE + 0xd1)
00208 #define SCI1CR1 *(volatile unsigned char *)(IO_BASE + 0xd2)
00209 #define SCI1CR2 *(volatile unsigned char *)(IO_BASE + 0xd3)
00210 #define SCI1SR1 *(volatile unsigned char *)(IO_BASE + 0xd4)
00211 #define SCI1SR2 *(volatile unsigned char *)(IO_BASE + 0xd5)
00212 #define SCI1DRH *(volatile unsigned char *)(IO_BASE + 0xd6)
00213 #define SCI1DRL *(volatile unsigned char *)(IO_BASE + 0xd7)
00214
00215
00216
00217 #define SPI0CR1 *(volatile unsigned char *)(IO_BASE + 0xd8)
00218 #define SPI0CR2 *(volatile unsigned char *)(IO_BASE + 0xd9)
00219 #define SPI0BR *(volatile unsigned char *)(IO_BASE + 0xda)
00220 #define SPI0SR *(volatile unsigned char *)(IO_BASE + 0xdb)
00221 #define SPI0DR *(volatile unsigned char *)(IO_BASE + 0xdd)
00222
00223
00224
00225 #define IBAD *(volatile unsigned char *)(IO_BASE + 0xe0)
00226 #define IBFD *(volatile unsigned char *)(IO_BASE + 0xe1)
00227 #define IBCR *(volatile unsigned char *)(IO_BASE + 0xe2)
00228 #define IBSR *(volatile unsigned char *)(IO_BASE + 0xe3)
00229 #define IBDR *(volatile unsigned char *)(IO_BASE + 0xe4)
00230
00231
00232
00233 #define DLCBCR1 *(volatile unsigned char *)(IO_BASE + 0xe8)
00234 #define DLCBSVR *(volatile unsigned char *)(IO_BASE + 0xe9)
00235 #define DLCBCR2 *(volatile unsigned char *)(IO_BASE + 0xea)
00236 #define DLCBDR *(volatile unsigned char *)(IO_BASE + 0xeb)
00237 #define DLCBARD *(volatile unsigned char *)(IO_BASE + 0xec)
00238 #define DLCBRSR *(volatile unsigned char *)(IO_BASE + 0xed)
00239 #define DLCSCR *(volatile unsigned char *)(IO_BASE + 0xee)
00240 #define DLCBSTAT *(volatile unsigned char *)(IO_BASE + 0xef)
00241
00242
00243
00244 #define SPI1CR1 *(volatile unsigned char *)(IO_BASE + 0xf0)
00245 #define SPI1CR2 *(volatile unsigned char *)(IO_BASE + 0xf1)
00246 #define SPI1BR *(volatile unsigned char *)(IO_BASE + 0xf2)
00247 #define SPI1SR *(volatile unsigned char *)(IO_BASE + 0xf3)
00248 #define SPI1DR *(volatile unsigned char *)(IO_BASE + 0xf5)
00249
00250
00251
00252 #define SPI2CR1 *(volatile unsigned char *)(IO_BASE + 0xf8)
00253 #define SPI2CR2 *(volatile unsigned char *)(IO_BASE + 0xf9)
00254 #define SPI2BR *(volatile unsigned char *)(IO_BASE + 0xfa)
00255 #define SPI2SR *(volatile unsigned char *)(IO_BASE + 0xfb)
00256 #define SPI2DR *(volatile unsigned char *)(IO_BASE + 0xfd)
00257
00258
00259
00260 #define FCLKDIV *(volatile unsigned char *)(IO_BASE + 0x100)
00261 #define FSEC *(volatile unsigned char *)(IO_BASE + 0x101)
00262 #define FCNFG *(volatile unsigned char *)(IO_BASE + 0x103)
00263 #define FPROT *(volatile unsigned char *)(IO_BASE + 0x104)
00264 #define FSTAT *(volatile unsigned char *)(IO_BASE + 0x105)
00265 #define FCMD *(volatile unsigned char *)(IO_BASE + 0x106)
00266
00267
00268
00269 #define ECLKDIV *(volatile unsigned char *)(IO_BASE + 0x110)
00270 #define ECNFG *(volatile unsigned char *)(IO_BASE + 0x113)
00271 #define EPROT *(volatile unsigned char *)(IO_BASE + 0x114)
00272 #define ESTAT *(volatile unsigned char *)(IO_BASE + 0x115)
00273 #define ECMD *(volatile unsigned char *)(IO_BASE + 0x116)
00274
00275
00276
00277 #define ATD1CTL0 *(volatile unsigned char *)(IO_BASE + 0x120)
00278 #define ATD1CTL1 *(volatile unsigned char *)(IO_BASE + 0x121)
00279 #define ATD1CTL2 *(volatile unsigned char *)(IO_BASE + 0x122)
00280 #define ATD1CTL3 *(volatile unsigned char *)(IO_BASE + 0x123)
00281 #define ATD1CTL4 *(volatile unsigned char *)(IO_BASE + 0x124)
00282 #define ATD1CTL5 *(volatile unsigned char *)(IO_BASE + 0x125)
00283 #define ATD1STAT0 *(volatile unsigned char *)(IO_BASE + 0x126)
00284 #define ATD1STAT1 *(volatile unsigned char *)(IO_BASE + 0x127)
00285 #define ATD1TEST0 *(volatile unsigned char *)(IO_BASE + 0x128)
00286 #define ATD1TEST1 *(volatile unsigned char *)(IO_BASE + 0x129)
00287 #define ATD1DIEN *(volatile unsigned char *)(IO_BASE + 0x12d)
00288 #define PORTAD1 *(volatile unsigned char *)(IO_BASE + 0x12f)
00289 #define ATD1DR0 *(volatile unsigned short int *)(IO_BASE + 0x130)
00290 #define ATD1DR1 *(volatile unsigned short int *)(IO_BASE + 0x132)
00291 #define ATD1DR2 *(volatile unsigned short int *)(IO_BASE + 0x134)
00292 #define ATD1DR3 *(volatile unsigned short int *)(IO_BASE + 0x136)
00293 #define ATD1DR4 *(volatile unsigned short int *)(IO_BASE + 0x138)
00294 #define ATD1DR5 *(volatile unsigned short int *)(IO_BASE + 0x13a)
00295 #define ATD1DR6 *(volatile unsigned short int *)(IO_BASE + 0x13c)
00296 #define ATD1DR7 *(volatile unsigned short int *)(IO_BASE + 0x13e)
00297
00298
00299
00300 #define CAN0CTL0 *(volatile unsigned char *)(IO_BASE + 0x140)
00301 #define CAN0CTL1 *(volatile unsigned char *)(IO_BASE + 0x141)
00302 #define CAN0BTR0 *(volatile unsigned char *)(IO_BASE + 0x142)
00303 #define CAN0BTR1 *(volatile unsigned char *)(IO_BASE + 0x143)
00304 #define CAN0RFLG *(volatile unsigned char *)(IO_BASE + 0x144)
00305 #define CAN0RIER *(volatile unsigned char *)(IO_BASE + 0x145)
00306 #define CAN0TFLG *(volatile unsigned char *)(IO_BASE + 0x146)
00307 #define CAN0TIER *(volatile unsigned char *)(IO_BASE + 0x147)
00308 #define CAN0TARQ *(volatile unsigned char *)(IO_BASE + 0x148)
00309 #define CAN0TAAK *(volatile unsigned char *)(IO_BASE + 0x149)
00310 #define CAN0TBSEL *(volatile unsigned char *)(IO_BASE + 0x14a)
00311 #define CAN0IDAC *(volatile unsigned char *)(IO_BASE + 0x14b)
00312 #define CAN0RXERR *(volatile unsigned char *)(IO_BASE + 0x14e)
00313 #define CAN0TXERR *(volatile unsigned char *)(IO_BASE + 0x14f)
00314 #define CAN0IDAR0 *(volatile unsigned char *)(IO_BASE + 0x150)
00315 #define CAN0IDAR1 *(volatile unsigned char *)(IO_BASE + 0x151)
00316 #define CAN0IDAR2 *(volatile unsigned char *)(IO_BASE + 0x152)
00317 #define CAN0IDAR3 *(volatile unsigned char *)(IO_BASE + 0x153)
00318 #define CAN0IDMR0 *(volatile unsigned char *)(IO_BASE + 0x154)
00319 #define CAN0IDMR1 *(volatile unsigned char *)(IO_BASE + 0x155)
00320 #define CAN0IDMR2 *(volatile unsigned char *)(IO_BASE + 0x156)
00321 #define CAN0IDMR3 *(volatile unsigned char *)(IO_BASE + 0x157)
00322 #define CAN0IDAR4 *(volatile unsigned char *)(IO_BASE + 0x158)
00323 #define CAN0IDAR5 *(volatile unsigned char *)(IO_BASE + 0x159)
00324 #define CAN0IDAR6 *(volatile unsigned char *)(IO_BASE + 0x15a)
00325 #define CAN0IDAR7 *(volatile unsigned char *)(IO_BASE + 0x15b)
00326 #define CAN0IDMR4 *(volatile unsigned char *)(IO_BASE + 0x15c)
00327 #define CAN0IDMR5 *(volatile unsigned char *)(IO_BASE + 0x15d)
00328 #define CAN0IDMR6 *(volatile unsigned char *)(IO_BASE + 0x15e)
00329 #define CAN0IDMR7 *(volatile unsigned char *)(IO_BASE + 0x15f)
00330
00331
00332
00333
00334
00335 #define CAN1CTL0 *(volatile unsigned char *)(IO_BASE + 0x180)
00336 #define CAN1CTL1 *(volatile unsigned char *)(IO_BASE + 0x181)
00337 #define CAN1BTR0 *(volatile unsigned char *)(IO_BASE + 0x182)
00338 #define CAN1BTR1 *(volatile unsigned char *)(IO_BASE + 0x183)
00339 #define CAN1RFLG *(volatile unsigned char *)(IO_BASE + 0x184)
00340 #define CAN1RIER *(volatile unsigned char *)(IO_BASE + 0x185)
00341 #define CAN1TFLG *(volatile unsigned char *)(IO_BASE + 0x186)
00342 #define CAN1TIER *(volatile unsigned char *)(IO_BASE + 0x187)
00343 #define CAN1TARQ *(volatile unsigned char *)(IO_BASE + 0x188)
00344 #define CAN1TAAK *(volatile unsigned char *)(IO_BASE + 0x189)
00345 #define CAN1TBSEL *(volatile unsigned char *)(IO_BASE + 0x18a)
00346 #define CAN1IDAC *(volatile unsigned char *)(IO_BASE + 0x18b)
00347 #define CAN1RXERR *(volatile unsigned char *)(IO_BASE + 0x18e)
00348 #define CAN1TXERR *(volatile unsigned char *)(IO_BASE + 0x18f)
00349 #define CAN1IDAR0 *(volatile unsigned char *)(IO_BASE + 0x190)
00350 #define CAN1IDAR1 *(volatile unsigned char *)(IO_BASE + 0x191)
00351 #define CAN1IDAR2 *(volatile unsigned char *)(IO_BASE + 0x192)
00352 #define CAN1IDAR3 *(volatile unsigned char *)(IO_BASE + 0x193)
00353 #define CAN1IDMR0 *(volatile unsigned char *)(IO_BASE + 0x194)
00354 #define CAN1IDMR1 *(volatile unsigned char *)(IO_BASE + 0x195)
00355 #define CAN1IDMR2 *(volatile unsigned char *)(IO_BASE + 0x196)
00356 #define CAN1IDMR3 *(volatile unsigned char *)(IO_BASE + 0x197)
00357 #define CAN1IDAR4 *(volatile unsigned char *)(IO_BASE + 0x198)
00358 #define CAN1IDAR5 *(volatile unsigned char *)(IO_BASE + 0x199)
00359 #define CAN1IDAR6 *(volatile unsigned char *)(IO_BASE + 0x19a)
00360 #define CAN1IDAR7 *(volatile unsigned char *)(IO_BASE + 0x19b)
00361 #define CAN1IDMR4 *(volatile unsigned char *)(IO_BASE + 0x19c)
00362 #define CAN1IDMR5 *(volatile unsigned char *)(IO_BASE + 0x19d)
00363 #define CAN1IDMR6 *(volatile unsigned char *)(IO_BASE + 0x19e)
00364 #define CAN1IDMR7 *(volatile unsigned char *)(IO_BASE + 0x19f)
00365
00366
00367
00368
00369
00370 #define CAN2CTL0 *(volatile unsigned char *)(IO_BASE + 0x1c0)
00371 #define CAN2CTL1 *(volatile unsigned char *)(IO_BASE + 0x1c1)
00372 #define CAN2BTR0 *(volatile unsigned char *)(IO_BASE + 0x1c2)
00373 #define CAN2BTR1 *(volatile unsigned char *)(IO_BASE + 0x1c3)
00374 #define CAN2RFLG *(volatile unsigned char *)(IO_BASE + 0x1c4)
00375 #define CAN2RIER *(volatile unsigned char *)(IO_BASE + 0x1c5)
00376 #define CAN2TFLG *(volatile unsigned char *)(IO_BASE + 0x1c6)
00377 #define CAN2TIER *(volatile unsigned char *)(IO_BASE + 0x1c7)
00378 #define CAN2TARQ *(volatile unsigned char *)(IO_BASE + 0x1c8)
00379 #define CAN2TAAK *(volatile unsigned char *)(IO_BASE + 0x1c9)
00380 #define CAN2TBSEL *(volatile unsigned char *)(IO_BASE + 0x1ca)
00381 #define CAN2IDAC *(volatile unsigned char *)(IO_BASE + 0x1cb)
00382 #define CAN2RXERR *(volatile unsigned char *)(IO_BASE + 0x1ce)
00383 #define CAN2TXERR *(volatile unsigned char *)(IO_BASE + 0x1cf)
00384 #define CAN2IDAR0 *(volatile unsigned char *)(IO_BASE + 0x1d0)
00385 #define CAN2IDAR1 *(volatile unsigned char *)(IO_BASE + 0x1d1)
00386 #define CAN2IDAR2 *(volatile unsigned char *)(IO_BASE + 0x1d2)
00387 #define CAN2IDAR3 *(volatile unsigned char *)(IO_BASE + 0x1d3)
00388 #define CAN2IDMR0 *(volatile unsigned char *)(IO_BASE + 0x1d4)
00389 #define CAN2IDMR1 *(volatile unsigned char *)(IO_BASE + 0x1d5)
00390 #define CAN2IDMR2 *(volatile unsigned char *)(IO_BASE + 0x1d6)
00391 #define CAN2IDMR3 *(volatile unsigned char *)(IO_BASE + 0x1d7)
00392 #define CAN2IDAR4 *(volatile unsigned char *)(IO_BASE + 0x1d8)
00393 #define CAN2IDAR5 *(volatile unsigned char *)(IO_BASE + 0x1d9)
00394 #define CAN2IDAR6 *(volatile unsigned char *)(IO_BASE + 0x1da)
00395 #define CAN2IDAR7 *(volatile unsigned char *)(IO_BASE + 0x1db)
00396 #define CAN2IDMR4 *(volatile unsigned char *)(IO_BASE + 0x1dc)
00397 #define CAN2IDMR5 *(volatile unsigned char *)(IO_BASE + 0x1dd)
00398 #define CAN2IDMR6 *(volatile unsigned char *)(IO_BASE + 0x1de)
00399 #define CAN2IDMR7 *(volatile unsigned char *)(IO_BASE + 0x1df)
00400
00401
00402
00403
00404
00405 #define CAN3CTL0 *(volatile unsigned char *)(IO_BASE + 0x200)
00406 #define CAN3CTL1 *(volatile unsigned char *)(IO_BASE + 0x201)
00407 #define CAN3BTR0 *(volatile unsigned char *)(IO_BASE + 0x202)
00408 #define CAN3BTR1 *(volatile unsigned char *)(IO_BASE + 0x203)
00409 #define CAN3RFLG *(volatile unsigned char *)(IO_BASE + 0x204)
00410 #define CAN3RIER *(volatile unsigned char *)(IO_BASE + 0x205)
00411 #define CAN3TFLG *(volatile unsigned char *)(IO_BASE + 0x206)
00412 #define CAN3TIER *(volatile unsigned char *)(IO_BASE + 0x207)
00413 #define CAN3TARQ *(volatile unsigned char *)(IO_BASE + 0x208)
00414 #define CAN3TAAK *(volatile unsigned char *)(IO_BASE + 0x209)
00415 #define CAN3TBSEL *(volatile unsigned char *)(IO_BASE + 0x20a)
00416 #define CAN3IDAC *(volatile unsigned char *)(IO_BASE + 0x20b)
00417 #define CAN3RXERR *(volatile unsigned char *)(IO_BASE + 0x20e)
00418 #define CAN3TXERR *(volatile unsigned char *)(IO_BASE + 0x20f)
00419 #define CAN3IDAR0 *(volatile unsigned char *)(IO_BASE + 0x210)
00420 #define CAN3IDAR1 *(volatile unsigned char *)(IO_BASE + 0x211)
00421 #define CAN3IDAR2 *(volatile unsigned char *)(IO_BASE + 0x212)
00422 #define CAN3IDAR3 *(volatile unsigned char *)(IO_BASE + 0x213)
00423 #define CAN3IDMR0 *(volatile unsigned char *)(IO_BASE + 0x214)
00424 #define CAN3IDMR1 *(volatile unsigned char *)(IO_BASE + 0x215)
00425 #define CAN3IDMR2 *(volatile unsigned char *)(IO_BASE + 0x216)
00426 #define CAN3IDMR3 *(volatile unsigned char *)(IO_BASE + 0x217)
00427 #define CAN3IDAR4 *(volatile unsigned char *)(IO_BASE + 0x218)
00428 #define CAN3IDAR5 *(volatile unsigned char *)(IO_BASE + 0x219)
00429 #define CAN3IDAR6 *(volatile unsigned char *)(IO_BASE + 0x21a)
00430 #define CAN3IDAR7 *(volatile unsigned char *)(IO_BASE + 0x21b)
00431 #define CAN3IDMR4 *(volatile unsigned char *)(IO_BASE + 0x21c)
00432 #define CAN3IDMR5 *(volatile unsigned char *)(IO_BASE + 0x21d)
00433 #define CAN3IDMR6 *(volatile unsigned char *)(IO_BASE + 0x21e)
00434 #define CAN3IDMR7 *(volatile unsigned char *)(IO_BASE + 0x21f)
00435
00436
00437
00438
00439
00440 #define PTT *(volatile unsigned char *)(IO_BASE + 0x240)
00441 #define PTIT *(volatile unsigned char *)(IO_BASE + 0x241)
00442 #define DDRT *(volatile unsigned char *)(IO_BASE + 0x242)
00443 #define RDRT *(volatile unsigned char *)(IO_BASE + 0x243)
00444 #define PERT *(volatile unsigned char *)(IO_BASE + 0x244)
00445 #define PPST *(volatile unsigned char *)(IO_BASE + 0x245)
00446
00447
00448
00449 #define PTS *(volatile unsigned char *)(IO_BASE + 0x248)
00450 #define PTIS *(volatile unsigned char *)(IO_BASE + 0x249)
00451 #define DDRS *(volatile unsigned char *)(IO_BASE + 0x24a)
00452 #define RDRS *(volatile unsigned char *)(IO_BASE + 0x24b)
00453 #define PERS *(volatile unsigned char *)(IO_BASE + 0x24c)
00454 #define PPSS *(volatile unsigned char *)(IO_BASE + 0x24d)
00455 #define WOMS *(volatile unsigned char *)(IO_BASE + 0x24e)
00456
00457
00458
00459 #define PTM *(volatile unsigned char *)(IO_BASE + 0x250)
00460 #define PTIM *(volatile unsigned char *)(IO_BASE + 0x251)
00461 #define DDRM *(volatile unsigned char *)(IO_BASE + 0x252)
00462 #define RDRM *(volatile unsigned char *)(IO_BASE + 0x253)
00463 #define PERM *(volatile unsigned char *)(IO_BASE + 0x254)
00464 #define PPSM *(volatile unsigned char *)(IO_BASE + 0x255)
00465 #define WOMM *(volatile unsigned char *)(IO_BASE + 0x256)
00466
00467
00468
00469 #define PTP *(volatile unsigned char *)(IO_BASE + 0x258)
00470 #define PTIP *(volatile unsigned char *)(IO_BASE + 0x259)
00471 #define DDRP *(volatile unsigned char *)(IO_BASE + 0x25a)
00472 #define RDRP *(volatile unsigned char *)(IO_BASE + 0x25b)
00473 #define PERP *(volatile unsigned char *)(IO_BASE + 0x25c)
00474 #define PPSP *(volatile unsigned char *)(IO_BASE + 0x25d)
00475 #define PIEP *(volatile unsigned char *)(IO_BASE + 0x25e)
00476 #define PIFP *(volatile unsigned char *)(IO_BASE + 0x25f)
00477
00478
00479
00480 #define PTH *(volatile unsigned char *)(IO_BASE + 0x260)
00481 #define PTIH *(volatile unsigned char *)(IO_BASE + 0x261)
00482 #define DDRH *(volatile unsigned char *)(IO_BASE + 0x262)
00483 #define RDRH *(volatile unsigned char *)(IO_BASE + 0x263)
00484 #define PERH *(volatile unsigned char *)(IO_BASE + 0x264)
00485 #define PPSH *(volatile unsigned char *)(IO_BASE + 0x265)
00486 #define PIEH *(volatile unsigned char *)(IO_BASE + 0x266)
00487 #define PIFH *(volatile unsigned char *)(IO_BASE + 0x267)
00488
00489
00490
00491 #define PTJ *(volatile unsigned char *)(IO_BASE + 0x268)
00492 #define PTIJ *(volatile unsigned char *)(IO_BASE + 0x269)
00493 #define DDRJ *(volatile unsigned char *)(IO_BASE + 0x26a)
00494 #define RDRJ *(volatile unsigned char *)(IO_BASE + 0x26b)
00495 #define PERJ *(volatile unsigned char *)(IO_BASE + 0x26c)
00496 #define PPSJ *(volatile unsigned char *)(IO_BASE + 0x26d)
00497 #define PIEJ *(volatile unsigned char *)(IO_BASE + 0x26e)
00498 #define PIFJ *(volatile unsigned char *)(IO_BASE + 0x26f)
00499
00500
00501
00502 #define CAN4CTL0 *(volatile unsigned char *)(IO_BASE + 0x280)
00503 #define CAN4CTL1 *(volatile unsigned char *)(IO_BASE + 0x281)
00504 #define CAN4BTR0 *(volatile unsigned char *)(IO_BASE + 0x282)
00505 #define CAN4BTR1 *(volatile unsigned char *)(IO_BASE + 0x283)
00506 #define CAN4RFLG *(volatile unsigned char *)(IO_BASE + 0x284)
00507 #define CAN4RIER *(volatile unsigned char *)(IO_BASE + 0x285)
00508 #define CAN4TFLG *(volatile unsigned char *)(IO_BASE + 0x286)
00509 #define CAN4TIER *(volatile unsigned char *)(IO_BASE + 0x287)
00510 #define CAN4TARQ *(volatile unsigned char *)(IO_BASE + 0x288)
00511 #define CAN4TAAK *(volatile unsigned char *)(IO_BASE + 0x289)
00512 #define CAN4TBSEL *(volatile unsigned char *)(IO_BASE + 0x28a)
00513 #define CAN4IDAC *(volatile unsigned char *)(IO_BASE + 0x28b)
00514 #define CAN4RXERR *(volatile unsigned char *)(IO_BASE + 0x28e)
00515 #define CAN4TXERR *(volatile unsigned char *)(IO_BASE + 0x28f)
00516 #define CAN4IDAR0 *(volatile unsigned char *)(IO_BASE + 0x290)
00517 #define CAN4IDAR1 *(volatile unsigned char *)(IO_BASE + 0x291)
00518 #define CAN4IDAR2 *(volatile unsigned char *)(IO_BASE + 0x292)
00519 #define CAN4IDAR3 *(volatile unsigned char *)(IO_BASE + 0x293)
00520 #define CAN4IDMR0 *(volatile unsigned char *)(IO_BASE + 0x294)
00521 #define CAN4IDMR1 *(volatile unsigned char *)(IO_BASE + 0x295)
00522 #define CAN4IDMR2 *(volatile unsigned char *)(IO_BASE + 0x296)
00523 #define CAN4IDMR3 *(volatile unsigned char *)(IO_BASE + 0x297)
00524 #define CAN4IDAR4 *(volatile unsigned char *)(IO_BASE + 0x298)
00525 #define CAN4IDAR5 *(volatile unsigned char *)(IO_BASE + 0x299)
00526 #define CAN4IDAR6 *(volatile unsigned char *)(IO_BASE + 0x29a)
00527 #define CAN4IDAR7 *(volatile unsigned char *)(IO_BASE + 0x29b)
00528 #define CAN4IDMR4 *(volatile unsigned char *)(IO_BASE + 0x29c)
00529 #define CAN4IDMR5 *(volatile unsigned char *)(IO_BASE + 0x29d)
00530 #define CAN4IDMR6 *(volatile unsigned char *)(IO_BASE + 0x29e)
00531 #define CAN4IDMR7 *(volatile unsigned char *)(IO_BASE + 0x29f)
00532
00533
00534