Aubrey Li | 26bf7de | 2007-03-19 01:24:52 +0800 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright (C) 2005 Analog Devices Inc., All Rights Reserved. |
| 3 | * |
| 4 | *********************************************************************************** |
| 5 | * |
| 6 | * This include file contains a list of macro "defines" to enable the programmer |
| 7 | * to use symbolic names for register-access. |
| 8 | * |
| 9 | * ---------------------------- |
| 10 | * revision 0.1 |
| 11 | * date: 2005/01/27 14:31:01; author: joeb |
| 12 | * Initial revision |
| 13 | */ |
| 14 | |
| 15 | /* |
| 16 | * System MMR Register Map |
| 17 | */ |
| 18 | |
| 19 | #ifndef _CDEF_BF534_H |
| 20 | #define _CDEF_BF534_H |
| 21 | |
| 22 | /* Include all Core registers and bit definitions */ |
| 23 | #include <asm/arch-bf537/defBF534.h> |
| 24 | |
| 25 | /* Include core specific register pointer definitions */ |
| 26 | #include <asm/arch-common/cdef_LPBlackfin.h> |
| 27 | |
| 28 | #define pCHIPID ((volatile unsigned long *)CHIPID) |
| 29 | |
| 30 | /* Clock and System Control (0xFFC00000 - 0xFFC000FF) */ |
| 31 | #define pPLL_CTL ((volatile unsigned short *)PLL_CTL) |
| 32 | #define pPLL_DIV ((volatile unsigned short *)PLL_DIV) |
| 33 | #define pVR_CTL ((volatile unsigned short *)VR_CTL) |
| 34 | #define pPLL_STAT ((volatile unsigned short *)PLL_STAT) |
| 35 | #define pPLL_LOCKCNT ((volatile unsigned short *)PLL_LOCKCNT) |
| 36 | |
| 37 | /* System Interrupt Controller (0xFFC00100 - 0xFFC001FF) */ |
| 38 | #define pSWRST ((volatile unsigned short *)SWRST) |
| 39 | #define pSYSCR ((volatile unsigned short *)SYSCR) |
| 40 | #define pSIC_RVECT ((void * volatile *)SIC_RVECT) |
| 41 | #define pSIC_IMASK ((volatile unsigned long *)SIC_IMASK) |
| 42 | #define pSIC_IAR0 ((volatile unsigned long *)SIC_IAR0) |
| 43 | #define pSIC_IAR1 ((volatile unsigned long *)SIC_IAR1) |
| 44 | #define pSIC_IAR2 ((volatile unsigned long *)SIC_IAR2) |
| 45 | #define pSIC_IAR3 ((volatile unsigned long *)SIC_IAR3) |
| 46 | #define pSIC_ISR ((volatile unsigned long *)SIC_ISR) |
| 47 | #define pSIC_IWR ((volatile unsigned long *)SIC_IWR) |
| 48 | |
| 49 | /* Watchdog Timer (0xFFC00200 - 0xFFC002FF) */ |
| 50 | #define pWDOG_CTL ((volatile unsigned short *)WDOG_CTL) |
| 51 | #define pWDOG_CNT ((volatile unsigned long *)WDOG_CNT) |
| 52 | #define pWDOG_STAT ((volatile unsigned long *)WDOG_STAT) |
| 53 | |
| 54 | /* Real Time Clock (0xFFC00300 - 0xFFC003FF) */ |
| 55 | #define pRTC_STAT ((volatile unsigned long *)RTC_STAT) |
| 56 | #define pRTC_ICTL ((volatile unsigned short *)RTC_ICTL) |
| 57 | #define pRTC_ISTAT ((volatile unsigned short *)RTC_ISTAT) |
| 58 | #define pRTC_SWCNT ((volatile unsigned short *)RTC_SWCNT) |
| 59 | #define pRTC_ALARM ((volatile unsigned long *)RTC_ALARM) |
| 60 | #define pRTC_FAST ((volatile unsigned short *)RTC_FAST) |
| 61 | #define pRTC_PREN ((volatile unsigned short *)RTC_PREN) |
| 62 | |
| 63 | /* UART0 Controller (0xFFC00400 - 0xFFC004FF) */ |
| 64 | #define pUART0_THR ((volatile unsigned short *)UART0_THR) |
| 65 | #define pUART0_RBR ((volatile unsigned short *)UART0_RBR) |
| 66 | #define pUART0_DLL ((volatile unsigned short *)UART0_DLL) |
| 67 | #define pUART0_IER ((volatile unsigned short *)UART0_IER) |
| 68 | #define pUART0_DLH ((volatile unsigned short *)UART0_DLH) |
| 69 | #define pUART0_IIR ((volatile unsigned short *)UART0_IIR) |
| 70 | #define pUART0_LCR ((volatile unsigned short *)UART0_LCR) |
| 71 | #define pUART0_MCR ((volatile unsigned short *)UART0_MCR) |
| 72 | #define pUART0_LSR ((volatile unsigned short *)UART0_LSR) |
| 73 | #define pUART0_MSR ((volatile unsigned short *)UART0_LSR) |
| 74 | #define pUART0_SCR ((volatile unsigned short *)UART0_SCR) |
| 75 | #define pUART0_GCTL ((volatile unsigned short *)UART0_GCTL) |
| 76 | |
| 77 | /* SPI Controller (0xFFC00500 - 0xFFC005FF) */ |
| 78 | #define pSPI_CTL ((volatile unsigned short *)SPI_CTL) |
| 79 | #define pSPI_FLG ((volatile unsigned short *)SPI_FLG) |
| 80 | #define pSPI_STAT ((volatile unsigned short *)SPI_STAT) |
| 81 | #define pSPI_TDBR ((volatile unsigned short *)SPI_TDBR) |
| 82 | #define pSPI_RDBR ((volatile unsigned short *)SPI_RDBR) |
| 83 | #define pSPI_BAUD ((volatile unsigned short *)SPI_BAUD) |
| 84 | #define pSPI_SHADOW ((volatile unsigned short *)SPI_SHADOW) |
| 85 | |
| 86 | /* TIMER0-7 Registers (0xFFC00600 - 0xFFC006FF) */ |
| 87 | #define pTIMER0_CONFIG ((volatile unsigned short *)TIMER0_CONFIG) |
| 88 | #define pTIMER0_COUNTER ((volatile unsigned long *)TIMER0_COUNTER) |
| 89 | #define pTIMER0_PERIOD ((volatile unsigned long *)TIMER0_PERIOD) |
| 90 | #define pTIMER0_WIDTH ((volatile unsigned long *)TIMER0_WIDTH) |
| 91 | |
| 92 | #define pTIMER1_CONFIG ((volatile unsigned short *)TIMER1_CONFIG) |
| 93 | #define pTIMER1_COUNTER ((volatile unsigned long *)TIMER1_COUNTER) |
| 94 | #define pTIMER1_PERIOD ((volatile unsigned long *)TIMER1_PERIOD) |
| 95 | #define pTIMER1_WIDTH ((volatile unsigned long *)TIMER1_WIDTH) |
| 96 | |
| 97 | #define pTIMER2_CONFIG ((volatile unsigned short *)TIMER2_CONFIG) |
| 98 | #define pTIMER2_COUNTER ((volatile unsigned long *)TIMER2_COUNTER) |
| 99 | #define pTIMER2_PERIOD ((volatile unsigned long *)TIMER2_PERIOD) |
| 100 | #define pTIMER2_WIDTH ((volatile unsigned long *)TIMER2_WIDTH) |
| 101 | |
| 102 | #define pTIMER3_CONFIG ((volatile unsigned short *)TIMER3_CONFIG) |
| 103 | #define pTIMER3_COUNTER ((volatile unsigned long *)TIMER3_COUNTER) |
| 104 | #define pTIMER3_PERIOD ((volatile unsigned long *)TIMER3_PERIOD) |
| 105 | #define pTIMER3_WIDTH ((volatile unsigned long *)TIMER3_WIDTH) |
| 106 | |
| 107 | #define pTIMER4_CONFIG ((volatile unsigned short *)TIMER4_CONFIG) |
| 108 | #define pTIMER4_COUNTER ((volatile unsigned long *)TIMER4_COUNTER) |
| 109 | #define pTIMER4_PERIOD ((volatile unsigned long *)TIMER4_PERIOD) |
| 110 | #define pTIMER4_WIDTH ((volatile unsigned long *)TIMER4_WIDTH) |
| 111 | |
| 112 | #define pTIMER5_CONFIG ((volatile unsigned short *)TIMER5_CONFIG) |
| 113 | #define pTIMER5_COUNTER ((volatile unsigned long *)TIMER5_COUNTER) |
| 114 | #define pTIMER5_PERIOD ((volatile unsigned long *)TIMER5_PERIOD) |
| 115 | #define pTIMER5_WIDTH ((volatile unsigned long *)TIMER5_WIDTH) |
| 116 | |
| 117 | #define pTIMER6_CONFIG ((volatile unsigned short *)TIMER6_CONFIG) |
| 118 | #define pTIMER6_COUNTER ((volatile unsigned long *)TIMER6_COUNTER) |
| 119 | #define pTIMER6_PERIOD ((volatile unsigned long *)TIMER6_PERIOD) |
| 120 | #define pTIMER6_WIDTH ((volatile unsigned long *)TIMER6_WIDTH) |
| 121 | |
| 122 | #define pTIMER7_CONFIG ((volatile unsigned short *)TIMER7_CONFIG) |
| 123 | #define pTIMER7_COUNTER ((volatile unsigned long *)TIMER7_COUNTER) |
| 124 | #define pTIMER7_PERIOD ((volatile unsigned long *)TIMER7_PERIOD) |
| 125 | #define pTIMER7_WIDTH ((volatile unsigned long *)TIMER7_WIDTH) |
| 126 | |
| 127 | #define pTIMER_ENABLE ((volatile unsigned short *)TIMER_ENABLE) |
| 128 | #define pTIMER_DISABLE ((volatile unsigned short *)TIMER_DISABLE) |
| 129 | #define pTIMER_STATUS ((volatile unsigned long *)TIMER_STATUS) |
| 130 | |
| 131 | /* General Purpose I/O Port F (0xFFC00700 - 0xFFC007FF) */ |
| 132 | #define pPORTFIO ((volatile unsigned short *)PORTFIO) |
| 133 | #define pPORTFIO_CLEAR ((volatile unsigned short *)PORTFIO_CLEAR) |
| 134 | #define pPORTFIO_SET ((volatile unsigned short *)PORTFIO_SET) |
| 135 | #define pPORTFIO_TOGGLE ((volatile unsigned short *)PORTFIO_TOGGLE) |
| 136 | #define pPORTFIO_MASKA ((volatile unsigned short *)PORTFIO_MASKA) |
| 137 | #define pPORTFIO_MASKA_CLEAR ((volatile unsigned short *)PORTFIO_MASKA_CLEAR) |
| 138 | #define pPORTFIO_MASKA_SET ((volatile unsigned short *)PORTFIO_MASKA_SET) |
| 139 | #define pPORTFIO_MASKA_TOGGLE ((volatile unsigned short *)PORTFIO_MASKA_TOGGLE) |
| 140 | #define pPORTFIO_MASKB ((volatile unsigned short *)PORTFIO_MASKB) |
| 141 | #define pPORTFIO_MASKB_CLEAR ((volatile unsigned short *)PORTFIO_MASKB_CLEAR) |
| 142 | #define pPORTFIO_MASKB_SET ((volatile unsigned short *)PORTFIO_MASKB_SET) |
| 143 | #define pPORTFIO_MASKB_TOGGLE ((volatile unsigned short *)PORTFIO_MASKB_TOGGLE) |
| 144 | #define pPORTFIO_DIR ((volatile unsigned short *)PORTFIO_DIR) |
| 145 | #define pPORTFIO_POLAR ((volatile unsigned short *)PORTFIO_POLAR) |
| 146 | #define pPORTFIO_EDGE ((volatile unsigned short *)PORTFIO_EDGE) |
| 147 | #define pPORTFIO_BOTH ((volatile unsigned short *)PORTFIO_BOTH) |
| 148 | #define pPORTFIO_INEN ((volatile unsigned short *)PORTFIO_INEN) |
| 149 | |
| 150 | #define pFIO_DIR pPORTFIO_DIR |
| 151 | #define pFIO_FLAG_C pPORTFIO_CLEAR |
| 152 | #define pFIO_FLAG_S pPORTFIO_SET |
| 153 | #define pFIO_INEN pPORTFIO_INEN |
| 154 | #define pFIO_FLAG_D pPORTFIO |
| 155 | |
| 156 | /* SPORT0 Controller (0xFFC00800 - 0xFFC008FF) */ |
| 157 | #define pSPORT0_TCR1 ((volatile unsigned short *)SPORT0_TCR1) |
| 158 | #define pSPORT0_TCR2 ((volatile unsigned short *)SPORT0_TCR2) |
| 159 | #define pSPORT0_TCLKDIV ((volatile unsigned short *)SPORT0_TCLKDIV) |
| 160 | #define pSPORT0_TFSDIV ((volatile unsigned short *)SPORT0_TFSDIV) |
| 161 | #define pSPORT0_TX ((volatile unsigned long *)SPORT0_TX) |
| 162 | #define pSPORT0_RX ((volatile unsigned long *)SPORT0_RX) |
| 163 | #define pSPORT0_TX32 ((volatile unsigned long *)SPORT0_TX) |
| 164 | #define pSPORT0_RX32 ((volatile unsigned long *)SPORT0_RX) |
| 165 | #define pSPORT0_TX16 ((volatile unsigned short *)SPORT0_TX) |
| 166 | #define pSPORT0_RX16 ((volatile unsigned short *)SPORT0_RX) |
| 167 | #define pSPORT0_RCR1 ((volatile unsigned short *)SPORT0_RCR1) |
| 168 | #define pSPORT0_RCR2 ((volatile unsigned short *)SPORT0_RCR2) |
| 169 | #define pSPORT0_RCLKDIV ((volatile unsigned short *)SPORT0_RCLKDIV) |
| 170 | #define pSPORT0_RFSDIV ((volatile unsigned short *)SPORT0_RFSDIV) |
| 171 | #define pSPORT0_STAT ((volatile unsigned short *)SPORT0_STAT) |
| 172 | #define pSPORT0_CHNL ((volatile unsigned short *)SPORT0_CHNL) |
| 173 | #define pSPORT0_MCMC1 ((volatile unsigned short *)SPORT0_MCMC1) |
| 174 | #define pSPORT0_MCMC2 ((volatile unsigned short *)SPORT0_MCMC2) |
| 175 | #define pSPORT0_MTCS0 ((volatile unsigned long *)SPORT0_MTCS0) |
| 176 | #define pSPORT0_MTCS1 ((volatile unsigned long *)SPORT0_MTCS1) |
| 177 | #define pSPORT0_MTCS2 ((volatile unsigned long *)SPORT0_MTCS2) |
| 178 | #define pSPORT0_MTCS3 ((volatile unsigned long *)SPORT0_MTCS3) |
| 179 | #define pSPORT0_MRCS0 ((volatile unsigned long *)SPORT0_MRCS0) |
| 180 | #define pSPORT0_MRCS1 ((volatile unsigned long *)SPORT0_MRCS1) |
| 181 | #define pSPORT0_MRCS2 ((volatile unsigned long *)SPORT0_MRCS2) |
| 182 | #define pSPORT0_MRCS3 ((volatile unsigned long *)SPORT0_MRCS3) |
| 183 | |
| 184 | /* SPORT1 Controller (0xFFC00900 - 0xFFC009FF) */ |
| 185 | #define pSPORT1_TCR1 ((volatile unsigned short *)SPORT1_TCR1) |
| 186 | #define pSPORT1_TCR2 ((volatile unsigned short *)SPORT1_TCR2) |
| 187 | #define pSPORT1_TCLKDIV ((volatile unsigned short *)SPORT1_TCLKDIV) |
| 188 | #define pSPORT1_TFSDIV ((volatile unsigned short *)SPORT1_TFSDIV) |
| 189 | #define pSPORT1_TX ((volatile unsigned long *)SPORT1_TX) |
| 190 | #define pSPORT1_RX ((volatile unsigned long *)SPORT1_RX) |
| 191 | #define pSPORT1_TX32 ((volatile unsigned long *)SPORT1_TX) |
| 192 | #define pSPORT1_RX32 ((volatile unsigned long *)SPORT1_RX) |
| 193 | #define pSPORT1_TX16 ((volatile unsigned short *)SPORT1_TX) |
| 194 | #define pSPORT1_RX16 ((volatile unsigned short *)SPORT1_RX) |
| 195 | #define pSPORT1_RCR1 ((volatile unsigned short *)SPORT1_RCR1) |
| 196 | #define pSPORT1_RCR2 ((volatile unsigned short *)SPORT1_RCR2) |
| 197 | #define pSPORT1_RCLKDIV ((volatile unsigned short *)SPORT1_RCLKDIV) |
| 198 | #define pSPORT1_RFSDIV ((volatile unsigned short *)SPORT1_RFSDIV) |
| 199 | #define pSPORT1_STAT ((volatile unsigned short *)SPORT1_STAT) |
| 200 | #define pSPORT1_CHNL ((volatile unsigned short *)SPORT1_CHNL) |
| 201 | #define pSPORT1_MCMC1 ((volatile unsigned short *)SPORT1_MCMC1) |
| 202 | #define pSPORT1_MCMC2 ((volatile unsigned short *)SPORT1_MCMC2) |
| 203 | #define pSPORT1_MTCS0 ((volatile unsigned long *)SPORT1_MTCS0) |
| 204 | #define pSPORT1_MTCS1 ((volatile unsigned long *)SPORT1_MTCS1) |
| 205 | #define pSPORT1_MTCS2 ((volatile unsigned long *)SPORT1_MTCS2) |
| 206 | #define pSPORT1_MTCS3 ((volatile unsigned long *)SPORT1_MTCS3) |
| 207 | #define pSPORT1_MRCS0 ((volatile unsigned long *)SPORT1_MRCS0) |
| 208 | #define pSPORT1_MRCS1 ((volatile unsigned long *)SPORT1_MRCS1) |
| 209 | #define pSPORT1_MRCS2 ((volatile unsigned long *)SPORT1_MRCS2) |
| 210 | #define pSPORT1_MRCS3 ((volatile unsigned long *)SPORT1_MRCS3) |
| 211 | |
| 212 | /* External Bus Interface Unit (0xFFC00A00 - 0xFFC00AFF) */ |
| 213 | #define pEBIU_AMGCTL ((volatile unsigned short *)EBIU_AMGCTL) |
| 214 | #define pEBIU_AMBCTL0 ((volatile unsigned long *)EBIU_AMBCTL0) |
| 215 | #define pEBIU_AMBCTL1 ((volatile unsigned long *)EBIU_AMBCTL1) |
| 216 | #define pEBIU_SDGCTL ((volatile unsigned long *)EBIU_SDGCTL) |
| 217 | #define pEBIU_SDBCTL ((volatile unsigned short *)EBIU_SDBCTL) |
| 218 | #define pEBIU_SDRRC ((volatile unsigned short *)EBIU_SDRRC) |
| 219 | #define pEBIU_SDSTAT ((volatile unsigned short *)EBIU_SDSTAT) |
| 220 | |
| 221 | /* DMA Traffic Control Registers */ |
| 222 | #define pDMA_TCPER ((volatile unsigned short *)DMA_TCPER) |
| 223 | #define pDMA_TCCNT ((volatile unsigned short *)DMA_TCCNT) |
| 224 | |
| 225 | /* DMA Controller */ |
| 226 | #define pDMA0_CONFIG ((volatile unsigned short *)DMA0_CONFIG) |
| 227 | #define pDMA0_NEXT_DESC_PTR ((void * volatile *)DMA0_NEXT_DESC_PTR) |
| 228 | #define pDMA0_START_ADDR ((void * volatile *)DMA0_START_ADDR) |
| 229 | #define pDMA0_X_COUNT ((volatile unsigned short *)DMA0_X_COUNT) |
| 230 | #define pDMA0_Y_COUNT ((volatile unsigned short *)DMA0_Y_COUNT) |
| 231 | #define pDMA0_X_MODIFY ((volatile signed short *)DMA0_X_MODIFY) |
| 232 | #define pDMA0_Y_MODIFY ((volatile signed short *)DMA0_Y_MODIFY) |
| 233 | #define pDMA0_CURR_DESC_PTR ((void * volatile *)DMA0_CURR_DESC_PTR) |
| 234 | #define pDMA0_CURR_ADDR ((void * volatile *)DMA0_CURR_ADDR) |
| 235 | #define pDMA0_CURR_X_COUNT ((volatile unsigned short *)DMA0_CURR_X_COUNT) |
| 236 | #define pDMA0_CURR_Y_COUNT ((volatile unsigned short *)DMA0_CURR_Y_COUNT) |
| 237 | #define pDMA0_IRQ_STATUS ((volatile unsigned short *)DMA0_IRQ_STATUS) |
| 238 | #define pDMA0_PERIPHERAL_MAP ((volatile unsigned short *)DMA0_PERIPHERAL_MAP) |
| 239 | |
| 240 | #define pDMA1_CONFIG ((volatile unsigned short *)DMA1_CONFIG) |
| 241 | #define pDMA1_NEXT_DESC_PTR ((void * volatile *)DMA1_NEXT_DESC_PTR) |
| 242 | #define pDMA1_START_ADDR ((void * volatile *)DMA1_START_ADDR) |
| 243 | #define pDMA1_X_COUNT ((volatile unsigned short *)DMA1_X_COUNT) |
| 244 | #define pDMA1_Y_COUNT ((volatile unsigned short *)DMA1_Y_COUNT) |
| 245 | #define pDMA1_X_MODIFY ((volatile signed short *)DMA1_X_MODIFY) |
| 246 | #define pDMA1_Y_MODIFY ((volatile signed short *)DMA1_Y_MODIFY) |
| 247 | #define pDMA1_CURR_DESC_PTR ((void * volatile *)DMA1_CURR_DESC_PTR) |
| 248 | #define pDMA1_CURR_ADDR ((void * volatile *)DMA1_CURR_ADDR) |
| 249 | #define pDMA1_CURR_X_COUNT ((volatile unsigned short *)DMA1_CURR_X_COUNT) |
| 250 | #define pDMA1_CURR_Y_COUNT ((volatile unsigned short *)DMA1_CURR_Y_COUNT) |
| 251 | #define pDMA1_IRQ_STATUS ((volatile unsigned short *)DMA1_IRQ_STATUS) |
| 252 | #define pDMA1_PERIPHERAL_MAP ((volatile unsigned short *)DMA1_PERIPHERAL_MAP) |
| 253 | |
| 254 | #define pDMA2_CONFIG ((volatile unsigned short *)DMA2_CONFIG) |
| 255 | #define pDMA2_NEXT_DESC_PTR ((void * volatile *)DMA2_NEXT_DESC_PTR) |
| 256 | #define pDMA2_START_ADDR ((void * volatile *)DMA2_START_ADDR) |
| 257 | #define pDMA2_X_COUNT ((volatile unsigned short *)DMA2_X_COUNT) |
| 258 | #define pDMA2_Y_COUNT ((volatile unsigned short *)DMA2_Y_COUNT) |
| 259 | #define pDMA2_X_MODIFY ((volatile signed short *)DMA2_X_MODIFY) |
| 260 | #define pDMA2_Y_MODIFY ((volatile signed short *)DMA2_Y_MODIFY) |
| 261 | #define pDMA2_CURR_DESC_PTR ((void * volatile *)DMA2_CURR_DESC_PTR) |
| 262 | #define pDMA2_CURR_ADDR ((void * volatile *)DMA2_CURR_ADDR) |
| 263 | #define pDMA2_CURR_X_COUNT ((volatile unsigned short *)DMA2_CURR_X_COUNT) |
| 264 | #define pDMA2_CURR_Y_COUNT ((volatile unsigned short *)DMA2_CURR_Y_COUNT) |
| 265 | #define pDMA2_IRQ_STATUS ((volatile unsigned short *)DMA2_IRQ_STATUS) |
| 266 | #define pDMA2_PERIPHERAL_MAP ((volatile unsigned short *)DMA2_PERIPHERAL_MAP) |
| 267 | |
| 268 | #define pDMA3_CONFIG ((volatile unsigned short *)DMA3_CONFIG) |
| 269 | #define pDMA3_NEXT_DESC_PTR ((void * volatile *)DMA3_NEXT_DESC_PTR) |
| 270 | #define pDMA3_START_ADDR ((void * volatile *)DMA3_START_ADDR) |
| 271 | #define pDMA3_X_COUNT ((volatile unsigned short *)DMA3_X_COUNT) |
| 272 | #define pDMA3_Y_COUNT ((volatile unsigned short *)DMA3_Y_COUNT) |
| 273 | #define pDMA3_X_MODIFY ((volatile signed short *)DMA3_X_MODIFY) |
| 274 | #define pDMA3_Y_MODIFY ((volatile signed short *)DMA3_Y_MODIFY) |
| 275 | #define pDMA3_CURR_DESC_PTR ((void * volatile *)DMA3_CURR_DESC_PTR) |
| 276 | #define pDMA3_CURR_ADDR ((void * volatile *)DMA3_CURR_ADDR) |
| 277 | #define pDMA3_CURR_X_COUNT ((volatile unsigned short *)DMA3_CURR_X_COUNT) |
| 278 | #define pDMA3_CURR_Y_COUNT ((volatile unsigned short *)DMA3_CURR_Y_COUNT) |
| 279 | #define pDMA3_IRQ_STATUS ((volatile unsigned short *)DMA3_IRQ_STATUS) |
| 280 | #define pDMA3_PERIPHERAL_MAP ((volatile unsigned short *)DMA3_PERIPHERAL_MAP) |
| 281 | |
| 282 | #define pDMA4_CONFIG ((volatile unsigned short *)DMA4_CONFIG) |
| 283 | #define pDMA4_NEXT_DESC_PTR ((void * volatile *)DMA4_NEXT_DESC_PTR) |
| 284 | #define pDMA4_START_ADDR ((void * volatile *)DMA4_START_ADDR) |
| 285 | #define pDMA4_X_COUNT ((volatile unsigned short *)DMA4_X_COUNT) |
| 286 | #define pDMA4_Y_COUNT ((volatile unsigned short *)DMA4_Y_COUNT) |
| 287 | #define pDMA4_X_MODIFY ((volatile signed short *)DMA4_X_MODIFY) |
| 288 | #define pDMA4_Y_MODIFY ((volatile signed short *)DMA4_Y_MODIFY) |
| 289 | #define pDMA4_CURR_DESC_PTR ((void * volatile *)DMA4_CURR_DESC_PTR) |
| 290 | #define pDMA4_CURR_ADDR ((void * volatile *)DMA4_CURR_ADDR) |
| 291 | #define pDMA4_CURR_X_COUNT ((volatile unsigned short *)DMA4_CURR_X_COUNT) |
| 292 | #define pDMA4_CURR_Y_COUNT ((volatile unsigned short *)DMA4_CURR_Y_COUNT) |
| 293 | #define pDMA4_IRQ_STATUS ((volatile unsigned short *)DMA4_IRQ_STATUS) |
| 294 | #define pDMA4_PERIPHERAL_MAP ((volatile unsigned short *)DMA4_PERIPHERAL_MAP) |
| 295 | |
| 296 | #define pDMA5_CONFIG ((volatile unsigned short *)DMA5_CONFIG) |
| 297 | #define pDMA5_NEXT_DESC_PTR ((void * volatile *)DMA5_NEXT_DESC_PTR) |
| 298 | #define pDMA5_START_ADDR ((void * volatile *)DMA5_START_ADDR) |
| 299 | #define pDMA5_X_COUNT ((volatile unsigned short *)DMA5_X_COUNT) |
| 300 | #define pDMA5_Y_COUNT ((volatile unsigned short *)DMA5_Y_COUNT) |
| 301 | #define pDMA5_X_MODIFY ((volatile signed short *)DMA5_X_MODIFY) |
| 302 | #define pDMA5_Y_MODIFY ((volatile signed short *)DMA5_Y_MODIFY) |
| 303 | #define pDMA5_CURR_DESC_PTR ((void * volatile *)DMA5_CURR_DESC_PTR) |
| 304 | #define pDMA5_CURR_ADDR ((void * volatile *)DMA5_CURR_ADDR) |
| 305 | #define pDMA5_CURR_X_COUNT ((volatile unsigned short *)DMA5_CURR_X_COUNT) |
| 306 | #define pDMA5_CURR_Y_COUNT ((volatile unsigned short *)DMA5_CURR_Y_COUNT) |
| 307 | #define pDMA5_IRQ_STATUS ((volatile unsigned short *)DMA5_IRQ_STATUS) |
| 308 | #define pDMA5_PERIPHERAL_MAP ((volatile unsigned short *)DMA5_PERIPHERAL_MAP) |
| 309 | |
| 310 | #define pDMA6_CONFIG ((volatile unsigned short *)DMA6_CONFIG) |
| 311 | #define pDMA6_NEXT_DESC_PTR ((void * volatile *)DMA6_NEXT_DESC_PTR) |
| 312 | #define pDMA6_START_ADDR ((void * volatile *)DMA6_START_ADDR) |
| 313 | #define pDMA6_X_COUNT ((volatile unsigned short *)DMA6_X_COUNT) |
| 314 | #define pDMA6_Y_COUNT ((volatile unsigned short *)DMA6_Y_COUNT) |
| 315 | #define pDMA6_X_MODIFY ((volatile signed short *)DMA6_X_MODIFY) |
| 316 | #define pDMA6_Y_MODIFY ((volatile signed short *)DMA6_Y_MODIFY) |
| 317 | #define pDMA6_CURR_DESC_PTR ((void * volatile *)DMA6_CURR_DESC_PTR) |
| 318 | #define pDMA6_CURR_ADDR ((void * volatile *)DMA6_CURR_ADDR) |
| 319 | #define pDMA6_CURR_X_COUNT ((volatile unsigned short *)DMA6_CURR_X_COUNT) |
| 320 | #define pDMA6_CURR_Y_COUNT ((volatile unsigned short *)DMA6_CURR_Y_COUNT) |
| 321 | #define pDMA6_IRQ_STATUS ((volatile unsigned short *)DMA6_IRQ_STATUS) |
| 322 | #define pDMA6_PERIPHERAL_MAP ((volatile unsigned short *)DMA6_PERIPHERAL_MAP) |
| 323 | |
| 324 | #define pDMA7_CONFIG ((volatile unsigned short *)DMA7_CONFIG) |
| 325 | #define pDMA7_NEXT_DESC_PTR ((void * volatile *)DMA7_NEXT_DESC_PTR) |
| 326 | #define pDMA7_START_ADDR ((void * volatile *)DMA7_START_ADDR) |
| 327 | #define pDMA7_X_COUNT ((volatile unsigned short *)DMA7_X_COUNT) |
| 328 | #define pDMA7_Y_COUNT ((volatile unsigned short *)DMA7_Y_COUNT) |
| 329 | #define pDMA7_X_MODIFY ((volatile signed short *)DMA7_X_MODIFY) |
| 330 | #define pDMA7_Y_MODIFY ((volatile signed short *)DMA7_Y_MODIFY) |
| 331 | #define pDMA7_CURR_DESC_PTR ((void * volatile *)DMA7_CURR_DESC_PTR) |
| 332 | #define pDMA7_CURR_ADDR ((void * volatile *)DMA7_CURR_ADDR) |
| 333 | #define pDMA7_CURR_X_COUNT ((volatile unsigned short *)DMA7_CURR_X_COUNT) |
| 334 | #define pDMA7_CURR_Y_COUNT ((volatile unsigned short *)DMA7_CURR_Y_COUNT) |
| 335 | #define pDMA7_IRQ_STATUS ((volatile unsigned short *)DMA7_IRQ_STATUS) |
| 336 | #define pDMA7_PERIPHERAL_MAP ((volatile unsigned short *)DMA7_PERIPHERAL_MAP) |
| 337 | |
| 338 | #define pDMA8_CONFIG ((volatile unsigned short *)DMA8_CONFIG) |
| 339 | #define pDMA8_NEXT_DESC_PTR ((void * volatile *)DMA8_NEXT_DESC_PTR) |
| 340 | #define pDMA8_START_ADDR ((void * volatile *)DMA8_START_ADDR) |
| 341 | #define pDMA8_X_COUNT ((volatile unsigned short *)DMA8_X_COUNT) |
| 342 | #define pDMA8_Y_COUNT ((volatile unsigned short *)DMA8_Y_COUNT) |
| 343 | #define pDMA8_X_MODIFY ((volatile signed short *)DMA8_X_MODIFY) |
| 344 | #define pDMA8_Y_MODIFY ((volatile signed short *)DMA8_Y_MODIFY) |
| 345 | #define pDMA8_CURR_DESC_PTR ((void * volatile *)DMA8_CURR_DESC_PTR) |
| 346 | #define pDMA8_CURR_ADDR ((void * volatile *)DMA8_CURR_ADDR) |
| 347 | #define pDMA8_CURR_X_COUNT ((volatile unsigned short *)DMA8_CURR_X_COUNT) |
| 348 | #define pDMA8_CURR_Y_COUNT ((volatile unsigned short *)DMA8_CURR_Y_COUNT) |
| 349 | #define pDMA8_IRQ_STATUS ((volatile unsigned short *)DMA8_IRQ_STATUS) |
| 350 | #define pDMA8_PERIPHERAL_MAP ((volatile unsigned short *)DMA8_PERIPHERAL_MAP) |
| 351 | |
| 352 | #define pDMA9_CONFIG ((volatile unsigned short *)DMA9_CONFIG) |
| 353 | #define pDMA9_NEXT_DESC_PTR ((void * volatile *)DMA9_NEXT_DESC_PTR) |
| 354 | #define pDMA9_START_ADDR ((void * volatile *)DMA9_START_ADDR) |
| 355 | #define pDMA9_X_COUNT ((volatile unsigned short *)DMA9_X_COUNT) |
| 356 | #define pDMA9_Y_COUNT ((volatile unsigned short *)DMA9_Y_COUNT) |
| 357 | #define pDMA9_X_MODIFY ((volatile signed short *)DMA9_X_MODIFY) |
| 358 | #define pDMA9_Y_MODIFY ((volatile signed short *)DMA9_Y_MODIFY) |
| 359 | #define pDMA9_CURR_DESC_PTR ((void * volatile *)DMA9_CURR_DESC_PTR) |
| 360 | #define pDMA9_CURR_ADDR ((void * volatile *)DMA9_CURR_ADDR) |
| 361 | #define pDMA9_CURR_X_COUNT ((volatile unsigned short *)DMA9_CURR_X_COUNT) |
| 362 | #define pDMA9_CURR_Y_COUNT ((volatile unsigned short *)DMA9_CURR_Y_COUNT) |
| 363 | #define pDMA9_IRQ_STATUS ((volatile unsigned short *)DMA9_IRQ_STATUS) |
| 364 | #define pDMA9_PERIPHERAL_MAP ((volatile unsigned short *)DMA9_PERIPHERAL_MAP) |
| 365 | |
| 366 | #define pDMA10_CONFIG ((volatile unsigned short *)DMA10_CONFIG) |
| 367 | #define pDMA10_NEXT_DESC_PTR ((void * volatile *)DMA10_NEXT_DESC_PTR) |
| 368 | #define pDMA10_START_ADDR ((void * volatile *)DMA10_START_ADDR) |
| 369 | #define pDMA10_X_COUNT ((volatile unsigned short *)DMA10_X_COUNT) |
| 370 | #define pDMA10_Y_COUNT ((volatile unsigned short *)DMA10_Y_COUNT) |
| 371 | #define pDMA10_X_MODIFY ((volatile signed short *)DMA10_X_MODIFY) |
| 372 | #define pDMA10_Y_MODIFY ((volatile signed short *)DMA10_Y_MODIFY) |
| 373 | #define pDMA10_CURR_DESC_PTR ((void * volatile *)DMA10_CURR_DESC_PTR) |
| 374 | #define pDMA10_CURR_ADDR ((void * volatile *)DMA10_CURR_ADDR) |
| 375 | #define pDMA10_CURR_X_COUNT ((volatile unsigned short *)DMA10_CURR_X_COUNT) |
| 376 | #define pDMA10_CURR_Y_COUNT ((volatile unsigned short *)DMA10_CURR_Y_COUNT) |
| 377 | #define pDMA10_IRQ_STATUS ((volatile unsigned short *)DMA10_IRQ_STATUS) |
| 378 | #define pDMA10_PERIPHERAL_MAP ((volatile unsigned short *)DMA10_PERIPHERAL_MAP) |
| 379 | |
| 380 | #define pDMA11_CONFIG ((volatile unsigned short *)DMA11_CONFIG) |
| 381 | #define pDMA11_NEXT_DESC_PTR ((void * volatile *)DMA11_NEXT_DESC_PTR) |
| 382 | #define pDMA11_START_ADDR ((void * volatile *)DMA11_START_ADDR) |
| 383 | #define pDMA11_X_COUNT ((volatile unsigned short *)DMA11_X_COUNT) |
| 384 | #define pDMA11_Y_COUNT ((volatile unsigned short *)DMA11_Y_COUNT) |
| 385 | #define pDMA11_X_MODIFY ((volatile signed short *)DMA11_X_MODIFY) |
| 386 | #define pDMA11_Y_MODIFY ((volatile signed short *)DMA11_Y_MODIFY) |
| 387 | #define pDMA11_CURR_DESC_PTR ((void * volatile *)DMA11_CURR_DESC_PTR) |
| 388 | #define pDMA11_CURR_ADDR ((void * volatile *)DMA11_CURR_ADDR) |
| 389 | #define pDMA11_CURR_X_COUNT ((volatile unsigned short *)DMA11_CURR_X_COUNT) |
| 390 | #define pDMA11_CURR_Y_COUNT ((volatile unsigned short *)DMA11_CURR_Y_COUNT) |
| 391 | #define pDMA11_IRQ_STATUS ((volatile unsigned short *)DMA11_IRQ_STATUS) |
| 392 | #define pDMA11_PERIPHERAL_MAP ((volatile unsigned short *)DMA11_PERIPHERAL_MAP) |
| 393 | |
| 394 | #define pMDMA_D0_CONFIG ((volatile unsigned short *)MDMA_D0_CONFIG) |
| 395 | #define pMDMA_D0_NEXT_DESC_PTR ((void * volatile *)MDMA_D0_NEXT_DESC_PTR) |
| 396 | #define pMDMA_D0_START_ADDR ((void * volatile *)MDMA_D0_START_ADDR) |
| 397 | #define pMDMA_D0_X_COUNT ((volatile unsigned short *)MDMA_D0_X_COUNT) |
| 398 | #define pMDMA_D0_Y_COUNT ((volatile unsigned short *)MDMA_D0_Y_COUNT) |
| 399 | #define pMDMA_D0_X_MODIFY ((volatile signed short *)MDMA_D0_X_MODIFY) |
| 400 | #define pMDMA_D0_Y_MODIFY ((volatile signed short *)MDMA_D0_Y_MODIFY) |
| 401 | #define pMDMA_D0_CURR_DESC_PTR ((void * volatile *)MDMA_D0_CURR_DESC_PTR) |
| 402 | #define pMDMA_D0_CURR_ADDR ((void * volatile *)MDMA_D0_CURR_ADDR) |
| 403 | #define pMDMA_D0_CURR_X_COUNT ((volatile unsigned short *)MDMA_D0_CURR_X_COUNT) |
| 404 | #define pMDMA_D0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D0_CURR_Y_COUNT) |
| 405 | #define pMDMA_D0_IRQ_STATUS ((volatile unsigned short *)MDMA_D0_IRQ_STATUS) |
| 406 | #define pMDMA_D0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D0_PERIPHERAL_MAP) |
| 407 | |
| 408 | #define pMDMA_S0_CONFIG ((volatile unsigned short *)MDMA_S0_CONFIG) |
| 409 | #define pMDMA_S0_NEXT_DESC_PTR ((void * volatile *)MDMA_S0_NEXT_DESC_PTR) |
| 410 | #define pMDMA_S0_START_ADDR ((void * volatile *)MDMA_S0_START_ADDR) |
| 411 | #define pMDMA_S0_X_COUNT ((volatile unsigned short *)MDMA_S0_X_COUNT) |
| 412 | #define pMDMA_S0_Y_COUNT ((volatile unsigned short *)MDMA_S0_Y_COUNT) |
| 413 | #define pMDMA_S0_X_MODIFY ((volatile signed short *)MDMA_S0_X_MODIFY) |
| 414 | #define pMDMA_S0_Y_MODIFY ((volatile signed short *)MDMA_S0_Y_MODIFY) |
| 415 | #define pMDMA_S0_CURR_DESC_PTR ((void * volatile *)MDMA_S0_CURR_DESC_PTR) |
| 416 | #define pMDMA_S0_CURR_ADDR ((void * volatile *)MDMA_S0_CURR_ADDR) |
| 417 | #define pMDMA_S0_CURR_X_COUNT ((volatile unsigned short *)MDMA_S0_CURR_X_COUNT) |
| 418 | #define pMDMA_S0_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S0_CURR_Y_COUNT) |
| 419 | #define pMDMA_S0_IRQ_STATUS ((volatile unsigned short *)MDMA_S0_IRQ_STATUS) |
| 420 | #define pMDMA_S0_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S0_PERIPHERAL_MAP) |
| 421 | |
| 422 | #define pMDMA_D1_CONFIG ((volatile unsigned short *)MDMA_D1_CONFIG) |
| 423 | #define pMDMA_D1_NEXT_DESC_PTR ((void * volatile *)MDMA_D1_NEXT_DESC_PTR) |
| 424 | #define pMDMA_D1_START_ADDR ((void * volatile *)MDMA_D1_START_ADDR) |
| 425 | #define pMDMA_D1_X_COUNT ((volatile unsigned short *)MDMA_D1_X_COUNT) |
| 426 | #define pMDMA_D1_Y_COUNT ((volatile unsigned short *)MDMA_D1_Y_COUNT) |
| 427 | #define pMDMA_D1_X_MODIFY ((volatile signed short *)MDMA_D1_X_MODIFY) |
| 428 | #define pMDMA_D1_Y_MODIFY ((volatile signed short *)MDMA_D1_Y_MODIFY) |
| 429 | #define pMDMA_D1_CURR_DESC_PTR ((void * volatile *)MDMA_D1_CURR_DESC_PTR) |
| 430 | #define pMDMA_D1_CURR_ADDR ((void * volatile *)MDMA_D1_CURR_ADDR) |
| 431 | #define pMDMA_D1_CURR_X_COUNT ((volatile unsigned short *)MDMA_D1_CURR_X_COUNT) |
| 432 | #define pMDMA_D1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_D1_CURR_Y_COUNT) |
| 433 | #define pMDMA_D1_IRQ_STATUS ((volatile unsigned short *)MDMA_D1_IRQ_STATUS) |
| 434 | #define pMDMA_D1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_D1_PERIPHERAL_MAP) |
| 435 | |
| 436 | #define pMDMA_S1_CONFIG ((volatile unsigned short *)MDMA_S1_CONFIG) |
| 437 | #define pMDMA_S1_NEXT_DESC_PTR ((void * volatile *)MDMA_S1_NEXT_DESC_PTR) |
| 438 | #define pMDMA_S1_START_ADDR ((void * volatile *)MDMA_S1_START_ADDR) |
| 439 | #define pMDMA_S1_X_COUNT ((volatile unsigned short *)MDMA_S1_X_COUNT) |
| 440 | #define pMDMA_S1_Y_COUNT ((volatile unsigned short *)MDMA_S1_Y_COUNT) |
| 441 | #define pMDMA_S1_X_MODIFY ((volatile signed short *)MDMA_S1_X_MODIFY) |
| 442 | #define pMDMA_S1_Y_MODIFY ((volatile signed short *)MDMA_S1_Y_MODIFY) |
| 443 | #define pMDMA_S1_CURR_DESC_PTR ((void * volatile *)MDMA_S1_CURR_DESC_PTR) |
| 444 | #define pMDMA_S1_CURR_ADDR ((void * volatile *)MDMA_S1_CURR_ADDR) |
| 445 | #define pMDMA_S1_CURR_X_COUNT ((volatile unsigned short *)MDMA_S1_CURR_X_COUNT) |
| 446 | #define pMDMA_S1_CURR_Y_COUNT ((volatile unsigned short *)MDMA_S1_CURR_Y_COUNT) |
| 447 | #define pMDMA_S1_IRQ_STATUS ((volatile unsigned short *)MDMA_S1_IRQ_STATUS) |
| 448 | #define pMDMA_S1_PERIPHERAL_MAP ((volatile unsigned short *)MDMA_S1_PERIPHERAL_MAP) |
| 449 | |
| 450 | /* Parallel Peripheral Interface (0xFFC01000 - 0xFFC010FF) */ |
| 451 | #define pPPI_CONTROL ((volatile unsigned short *)PPI_CONTROL) |
| 452 | #define pPPI_STATUS ((volatile unsigned short *)PPI_STATUS) |
| 453 | #define pPPI_DELAY ((volatile unsigned short *)PPI_DELAY) |
| 454 | #define pPPI_COUNT ((volatile unsigned short *)PPI_COUNT) |
| 455 | #define pPPI_FRAME ((volatile unsigned short *)PPI_FRAME) |
| 456 | |
| 457 | /* Two-Wire Interface (0xFFC01400 - 0xFFC014FF) */ |
| 458 | #define pTWI_CLKDIV ((volatile unsigned short *)TWI_CLKDIV) |
| 459 | #define pTWI_CONTROL ((volatile unsigned short *)TWI_CONTROL) |
| 460 | #define pTWI_SLAVE_CTL ((volatile unsigned short *)TWI_SLAVE_CTL) |
| 461 | #define pTWI_SLAVE_STAT ((volatile unsigned short *)TWI_SLAVE_STAT) |
| 462 | #define pTWI_SLAVE_ADDR ((volatile unsigned short *)TWI_SLAVE_ADDR) |
| 463 | #define pTWI_MASTER_CTL ((volatile unsigned short *)TWI_MASTER_CTL) |
| 464 | #define pTWI_MASTER_STAT ((volatile unsigned short *)TWI_MASTER_STAT) |
| 465 | #define pTWI_MASTER_ADDR ((volatile unsigned short *)TWI_MASTER_ADDR) |
| 466 | #define pTWI_INT_STAT ((volatile unsigned short *)TWI_INT_STAT) |
| 467 | #define pTWI_INT_MASK ((volatile unsigned short *)TWI_INT_MASK) |
| 468 | #define pTWI_FIFO_CTL ((volatile unsigned short *)TWI_FIFO_CTL) |
| 469 | #define pTWI_FIFO_STAT ((volatile unsigned short *)TWI_FIFO_STAT) |
| 470 | #define pTWI_XMT_DATA8 ((volatile unsigned short *)TWI_XMT_DATA8) |
| 471 | #define pTWI_XMT_DATA16 ((volatile unsigned short *)TWI_XMT_DATA16) |
| 472 | #define pTWI_RCV_DATA8 ((volatile unsigned short *)TWI_RCV_DATA8) |
| 473 | #define pTWI_RCV_DATA16 ((volatile unsigned short *)TWI_RCV_DATA16) |
| 474 | |
| 475 | /* General Purpose I/O Port G (0xFFC01500 - 0xFFC015FF) */ |
| 476 | #define pPORTGIO ((volatile unsigned short *)PORTGIO) |
| 477 | #define pPORTGIO_CLEAR ((volatile unsigned short *)PORTGIO_CLEAR) |
| 478 | #define pPORTGIO_SET ((volatile unsigned short *)PORTGIO_SET) |
| 479 | #define pPORTGIO_TOGGLE ((volatile unsigned short *)PORTGIO_TOGGLE) |
| 480 | #define pPORTGIO_MASKA ((volatile unsigned short *)PORTGIO_MASKA) |
| 481 | #define pPORTGIO_MASKA_CLEAR ((volatile unsigned short *)PORTGIO_MASKA_CLEAR) |
| 482 | #define pPORTGIO_MASKA_SET ((volatile unsigned short *)PORTGIO_MASKA_SET) |
| 483 | #define pPORTGIO_MASKA_TOGGLE ((volatile unsigned short *)PORTGIO_MASKA_TOGGLE) |
| 484 | #define pPORTGIO_MASKB ((volatile unsigned short *)PORTGIO_MASKB) |
| 485 | #define pPORTGIO_MASKB_CLEAR ((volatile unsigned short *)PORTGIO_MASKB_CLEAR) |
| 486 | #define pPORTGIO_MASKB_SET ((volatile unsigned short *)PORTGIO_MASKB_SET) |
| 487 | #define pPORTGIO_MASKB_TOGGLE ((volatile unsigned short *)PORTGIO_MASKB_TOGGLE) |
| 488 | #define pPORTGIO_DIR ((volatile unsigned short *)PORTGIO_DIR) |
| 489 | #define pPORTGIO_POLAR ((volatile unsigned short *)PORTGIO_POLAR) |
| 490 | #define pPORTGIO_EDGE ((volatile unsigned short *)PORTGIO_EDGE) |
| 491 | #define pPORTGIO_BOTH ((volatile unsigned short *)PORTGIO_BOTH) |
| 492 | #define pPORTGIO_INEN ((volatile unsigned short *)PORTGIO_INEN) |
| 493 | |
| 494 | /* General Purpose I/O Port H (0xFFC01700 - 0xFFC017FF) */ |
| 495 | #define pPORTHIO ((volatile unsigned short *)PORTHIO) |
| 496 | #define pPORTHIO_CLEAR ((volatile unsigned short *)PORTHIO_CLEAR) |
| 497 | #define pPORTHIO_SET ((volatile unsigned short *)PORTHIO_SET) |
| 498 | #define pPORTHIO_TOGGLE ((volatile unsigned short *)PORTHIO_TOGGLE) |
| 499 | #define pPORTHIO_MASKA ((volatile unsigned short *)PORTHIO_MASKA) |
| 500 | #define pPORTHIO_MASKA_CLEAR ((volatile unsigned short *)PORTHIO_MASKA_CLEAR) |
| 501 | #define pPORTHIO_MASKA_SET ((volatile unsigned short *)PORTHIO_MASKA_SET) |
| 502 | #define pPORTHIO_MASKA_TOGGLE ((volatile unsigned short *)PORTHIO_MASKA_TOGGLE) |
| 503 | #define pPORTHIO_MASKB ((volatile unsigned short *)PORTHIO_MASKB) |
| 504 | #define pPORTHIO_MASKB_CLEAR ((volatile unsigned short *)PORTHIO_MASKB_CLEAR) |
| 505 | #define pPORTHIO_MASKB_SET ((volatile unsigned short *)PORTHIO_MASKB_SET) |
| 506 | #define pPORTHIO_MASKB_TOGGLE ((volatile unsigned short *)PORTHIO_MASKB_TOGGLE) |
| 507 | #define pPORTHIO_DIR ((volatile unsigned short *)PORTHIO_DIR) |
| 508 | #define pPORTHIO_POLAR ((volatile unsigned short *)PORTHIO_POLAR) |
| 509 | #define pPORTHIO_EDGE ((volatile unsigned short *)PORTHIO_EDGE) |
| 510 | #define pPORTHIO_BOTH ((volatile unsigned short *)PORTHIO_BOTH) |
| 511 | #define pPORTHIO_INEN ((volatile unsigned short *)PORTHIO_INEN) |
| 512 | |
| 513 | /* UART1 Controller (0xFFC02000 - 0xFFC020FF) */ |
| 514 | #define pUART1_THR ((volatile unsigned short *)UART1_THR) |
| 515 | #define pUART1_RBR ((volatile unsigned short *)UART1_RBR) |
| 516 | #define pUART1_DLL ((volatile unsigned short *)UART1_DLL) |
| 517 | #define pUART1_IER ((volatile unsigned short *)UART1_IER) |
| 518 | #define pUART1_DLH ((volatile unsigned short *)UART1_DLH) |
| 519 | #define pUART1_IIR ((volatile unsigned short *)UART1_IIR) |
| 520 | #define pUART1_LCR ((volatile unsigned short *)UART1_LCR) |
| 521 | #define pUART1_MCR ((volatile unsigned short *)UART1_MCR) |
| 522 | #define pUART1_LSR ((volatile unsigned short *)UART1_LSR) |
| 523 | #define pUART1_MSR ((volatile unsigned short *)UART1_LSR) |
| 524 | #define pUART1_SCR ((volatile unsigned short *)UART1_SCR) |
| 525 | #define pUART1_GCTL ((volatile unsigned short *)UART1_GCTL) |
| 526 | |
| 527 | /* default UART controller */ |
| 528 | #if (CONFIG_UART_CONSOLE==1) |
| 529 | |
| 530 | #define pUART_THR pUART1_THR |
| 531 | #define pUART_RBR pUART1_RBR |
| 532 | #define pUART_DLL pUART1_DLL |
| 533 | #define pUART_IER pUART1_IER |
| 534 | #define pUART_DLH pUART1_DLH |
| 535 | #define pUART_IIR pUART1_IIR |
| 536 | #define pUART_LCR pUART1_LCR |
| 537 | #define pUART_MCR pUART1_MCR |
| 538 | #define pUART_LSR pUART1_LSR |
| 539 | #define pUART_MSR pUART1_MSR |
| 540 | #define pUART_SCR pUART1_SCR |
| 541 | #define pUART_GCTL pUART1_GCTL |
| 542 | |
| 543 | #else |
| 544 | |
| 545 | #define pUART_THR pUART0_THR |
| 546 | #define pUART_RBR pUART0_RBR |
| 547 | #define pUART_DLL pUART0_DLL |
| 548 | #define pUART_IER pUART0_IER |
| 549 | #define pUART_DLH pUART0_DLH |
| 550 | #define pUART_IIR pUART0_IIR |
| 551 | #define pUART_LCR pUART0_LCR |
| 552 | #define pUART_MCR pUART0_MCR |
| 553 | #define pUART_LSR pUART0_LSR |
| 554 | #define pUART_MSR pUART0_MSR |
| 555 | #define pUART_SCR pUART0_SCR |
| 556 | #define pUART_GCTL pUART0_GCTL |
| 557 | |
| 558 | #endif |
| 559 | |
| 560 | /* CAN Controller (0xFFC02A00 - 0xFFC02FFF) */ |
| 561 | /* For Mailboxes 0-15 */ |
| 562 | #define pCAN_MC1 ((volatile unsigned short *)CAN_MC1) |
| 563 | #define pCAN_MD1 ((volatile unsigned short *)CAN_MD1) |
| 564 | #define pCAN_TRS1 ((volatile unsigned short *)CAN_TRS1) |
| 565 | #define pCAN_TRR1 ((volatile unsigned short *)CAN_TRR1) |
| 566 | #define pCAN_TA1 ((volatile unsigned short *)CAN_TA1) |
| 567 | #define pCAN_AA1 ((volatile unsigned short *)CAN_AA1) |
| 568 | #define pCAN_RMP1 ((volatile unsigned short *)CAN_RMP1) |
| 569 | #define pCAN_RML1 ((volatile unsigned short *)CAN_RML1) |
| 570 | #define pCAN_MBTIF1 ((volatile unsigned short *)CAN_MBTIF1) |
| 571 | #define pCAN_MBRIF1 ((volatile unsigned short *)CAN_MBRIF1) |
| 572 | #define pCAN_MBIM1 ((volatile unsigned short *)CAN_MBIM1) |
| 573 | #define pCAN_RFH1 ((volatile unsigned short *)CAN_RFH1) |
| 574 | #define pCAN_OPSS1 ((volatile unsigned short *)CAN_OPSS1) |
| 575 | |
| 576 | /* For Mailboxes 16-31 */ |
| 577 | #define pCAN_MC2 ((volatile unsigned short *)CAN_MC2) |
| 578 | #define pCAN_MD2 ((volatile unsigned short *)CAN_MD2) |
| 579 | #define pCAN_TRS2 ((volatile unsigned short *)CAN_TRS2) |
| 580 | #define pCAN_TRR2 ((volatile unsigned short *)CAN_TRR2) |
| 581 | #define pCAN_TA2 ((volatile unsigned short *)CAN_TA2) |
| 582 | #define pCAN_AA2 ((volatile unsigned short *)CAN_AA2) |
| 583 | #define pCAN_RMP2 ((volatile unsigned short *)CAN_RMP2) |
| 584 | #define pCAN_RML2 ((volatile unsigned short *)CAN_RML2) |
| 585 | #define pCAN_MBTIF2 ((volatile unsigned short *)CAN_MBTIF2) |
| 586 | #define pCAN_MBRIF2 ((volatile unsigned short *)CAN_MBRIF2) |
| 587 | #define pCAN_MBIM2 ((volatile unsigned short *)CAN_MBIM2) |
| 588 | #define pCAN_RFH2 ((volatile unsigned short *)CAN_RFH2) |
| 589 | #define pCAN_OPSS2 ((volatile unsigned short *)CAN_OPSS2) |
| 590 | |
| 591 | #define pCAN_CLOCK ((volatile unsigned short *)CAN_CLOCK) |
| 592 | #define pCAN_TIMING ((volatile unsigned short *)CAN_TIMING) |
| 593 | #define pCAN_DEBUG ((volatile unsigned short *)CAN_DEBUG) |
| 594 | #define pCAN_STATUS ((volatile unsigned short *)CAN_STATUS) |
| 595 | #define pCAN_CEC ((volatile unsigned short *)CAN_CEC) |
| 596 | #define pCAN_GIS ((volatile unsigned short *)CAN_GIS) |
| 597 | #define pCAN_GIM ((volatile unsigned short *)CAN_GIM) |
| 598 | #define pCAN_GIF ((volatile unsigned short *)CAN_GIF) |
| 599 | #define pCAN_CONTROL ((volatile unsigned short *)CAN_CONTROL) |
| 600 | #define pCAN_INTR ((volatile unsigned short *)CAN_INTR) |
| 601 | #define pCAN_SFCMVER ((volatile unsigned short *)CAN_SFCMVER) |
| 602 | #define pCAN_MBTD ((volatile unsigned short *)CAN_MBTD) |
| 603 | #define pCAN_EWR ((volatile unsigned short *)CAN_EWR) |
| 604 | #define pCAN_ESR ((volatile unsigned short *)CAN_ESR) |
| 605 | #define pCAN_UCREG ((volatile unsigned short *)CAN_UCREG) |
| 606 | #define pCAN_UCCNT ((volatile unsigned short *)CAN_UCCNT) |
| 607 | #define pCAN_UCRC ((volatile unsigned short *)CAN_UCRC) |
| 608 | #define pCAN_UCCNF ((volatile unsigned short *)CAN_UCCNF) |
| 609 | #define pCAN_SFCMVER2 ((volatile unsigned short *)CAN_SFCMVER2) |
| 610 | |
| 611 | /* Mailbox Acceptance Masks */ |
| 612 | #define pCAN_AM00L ((volatile unsigned short *)CAN_AM00L) |
| 613 | #define pCAN_AM00H ((volatile unsigned short *)CAN_AM00H) |
| 614 | #define pCAN_AM01L ((volatile unsigned short *)CAN_AM01L) |
| 615 | #define pCAN_AM01H ((volatile unsigned short *)CAN_AM01H) |
| 616 | #define pCAN_AM02L ((volatile unsigned short *)CAN_AM02L) |
| 617 | #define pCAN_AM02H ((volatile unsigned short *)CAN_AM02H) |
| 618 | #define pCAN_AM03L ((volatile unsigned short *)CAN_AM03L) |
| 619 | #define pCAN_AM03H ((volatile unsigned short *)CAN_AM03H) |
| 620 | #define pCAN_AM04L ((volatile unsigned short *)CAN_AM04L) |
| 621 | #define pCAN_AM04H ((volatile unsigned short *)CAN_AM04H) |
| 622 | #define pCAN_AM05L ((volatile unsigned short *)CAN_AM05L) |
| 623 | #define pCAN_AM05H ((volatile unsigned short *)CAN_AM05H) |
| 624 | #define pCAN_AM06L ((volatile unsigned short *)CAN_AM06L) |
| 625 | #define pCAN_AM06H ((volatile unsigned short *)CAN_AM06H) |
| 626 | #define pCAN_AM07L ((volatile unsigned short *)CAN_AM07L) |
| 627 | #define pCAN_AM07H ((volatile unsigned short *)CAN_AM07H) |
| 628 | #define pCAN_AM08L ((volatile unsigned short *)CAN_AM08L) |
| 629 | #define pCAN_AM08H ((volatile unsigned short *)CAN_AM08H) |
| 630 | #define pCAN_AM09L ((volatile unsigned short *)CAN_AM09L) |
| 631 | #define pCAN_AM09H ((volatile unsigned short *)CAN_AM09H) |
| 632 | #define pCAN_AM10L ((volatile unsigned short *)CAN_AM10L) |
| 633 | #define pCAN_AM10H ((volatile unsigned short *)CAN_AM10H) |
| 634 | #define pCAN_AM11L ((volatile unsigned short *)CAN_AM11L) |
| 635 | #define pCAN_AM11H ((volatile unsigned short *)CAN_AM11H) |
| 636 | #define pCAN_AM12L ((volatile unsigned short *)CAN_AM12L) |
| 637 | #define pCAN_AM12H ((volatile unsigned short *)CAN_AM12H) |
| 638 | #define pCAN_AM13L ((volatile unsigned short *)CAN_AM13L) |
| 639 | #define pCAN_AM13H ((volatile unsigned short *)CAN_AM13H) |
| 640 | #define pCAN_AM14L ((volatile unsigned short *)CAN_AM14L) |
| 641 | #define pCAN_AM14H ((volatile unsigned short *)CAN_AM14H) |
| 642 | #define pCAN_AM15L ((volatile unsigned short *)CAN_AM15L) |
| 643 | #define pCAN_AM15H ((volatile unsigned short *)CAN_AM15H) |
| 644 | |
| 645 | #define pCAN_AM16L ((volatile unsigned short *)CAN_AM16L) |
| 646 | #define pCAN_AM16H ((volatile unsigned short *)CAN_AM16H) |
| 647 | #define pCAN_AM17L ((volatile unsigned short *)CAN_AM17L) |
| 648 | #define pCAN_AM17H ((volatile unsigned short *)CAN_AM17H) |
| 649 | #define pCAN_AM18L ((volatile unsigned short *)CAN_AM18L) |
| 650 | #define pCAN_AM18H ((volatile unsigned short *)CAN_AM18H) |
| 651 | #define pCAN_AM19L ((volatile unsigned short *)CAN_AM19L) |
| 652 | #define pCAN_AM19H ((volatile unsigned short *)CAN_AM19H) |
| 653 | #define pCAN_AM20L ((volatile unsigned short *)CAN_AM20L) |
| 654 | #define pCAN_AM20H ((volatile unsigned short *)CAN_AM20H) |
| 655 | #define pCAN_AM21L ((volatile unsigned short *)CAN_AM21L) |
| 656 | #define pCAN_AM21H ((volatile unsigned short *)CAN_AM21H) |
| 657 | #define pCAN_AM22L ((volatile unsigned short *)CAN_AM22L) |
| 658 | #define pCAN_AM22H ((volatile unsigned short *)CAN_AM22H) |
| 659 | #define pCAN_AM23L ((volatile unsigned short *)CAN_AM23L) |
| 660 | #define pCAN_AM23H ((volatile unsigned short *)CAN_AM23H) |
| 661 | #define pCAN_AM24L ((volatile unsigned short *)CAN_AM24L) |
| 662 | #define pCAN_AM24H ((volatile unsigned short *)CAN_AM24H) |
| 663 | #define pCAN_AM25L ((volatile unsigned short *)CAN_AM25L) |
| 664 | #define pCAN_AM25H ((volatile unsigned short *)CAN_AM25H) |
| 665 | #define pCAN_AM26L ((volatile unsigned short *)CAN_AM26L) |
| 666 | #define pCAN_AM26H ((volatile unsigned short *)CAN_AM26H) |
| 667 | #define pCAN_AM27L ((volatile unsigned short *)CAN_AM27L) |
| 668 | #define pCAN_AM27H ((volatile unsigned short *)CAN_AM27H) |
| 669 | #define pCAN_AM28L ((volatile unsigned short *)CAN_AM28L) |
| 670 | #define pCAN_AM28H ((volatile unsigned short *)CAN_AM28H) |
| 671 | #define pCAN_AM29L ((volatile unsigned short *)CAN_AM29L) |
| 672 | #define pCAN_AM29H ((volatile unsigned short *)CAN_AM29H) |
| 673 | #define pCAN_AM30L ((volatile unsigned short *)CAN_AM30L) |
| 674 | #define pCAN_AM30H ((volatile unsigned short *)CAN_AM30H) |
| 675 | #define pCAN_AM31L ((volatile unsigned short *)CAN_AM31L) |
| 676 | #define pCAN_AM31H ((volatile unsigned short *)CAN_AM31H) |
| 677 | |
| 678 | /* CAN Acceptance Mask Area Macros */ |
| 679 | #define pCAN_AM_L(x) ((volatile unsigned short *)CAN_AM_L(x)) |
| 680 | #define pCAN_AM_H(x) ((volatile unsigned short *)CAN_AM_H(x)) |
| 681 | |
| 682 | /* Mailbox Registers */ |
| 683 | #define pCAN_MB00_ID1 ((volatile unsigned short *)CAN_MB00_ID1) |
| 684 | #define pCAN_MB00_ID0 ((volatile unsigned short *)CAN_MB00_ID0) |
| 685 | #define pCAN_MB00_TIMESTAMP ((volatile unsigned short *)CAN_MB00_TIMESTAMP) |
| 686 | #define pCAN_MB00_LENGTH ((volatile unsigned short *)CAN_MB00_LENGTH) |
| 687 | #define pCAN_MB00_DATA3 ((volatile unsigned short *)CAN_MB00_DATA3) |
| 688 | #define pCAN_MB00_DATA2 ((volatile unsigned short *)CAN_MB00_DATA2) |
| 689 | #define pCAN_MB00_DATA1 ((volatile unsigned short *)CAN_MB00_DATA1) |
| 690 | #define pCAN_MB00_DATA0 ((volatile unsigned short *)CAN_MB00_DATA0) |
| 691 | |
| 692 | #define pCAN_MB01_ID1 ((volatile unsigned short *)CAN_MB01_ID1) |
| 693 | #define pCAN_MB01_ID0 ((volatile unsigned short *)CAN_MB01_ID0) |
| 694 | #define pCAN_MB01_TIMESTAMP ((volatile unsigned short *)CAN_MB01_TIMESTAMP) |
| 695 | #define pCAN_MB01_LENGTH ((volatile unsigned short *)CAN_MB01_LENGTH) |
| 696 | #define pCAN_MB01_DATA3 ((volatile unsigned short *)CAN_MB01_DATA3) |
| 697 | #define pCAN_MB01_DATA2 ((volatile unsigned short *)CAN_MB01_DATA2) |
| 698 | #define pCAN_MB01_DATA1 ((volatile unsigned short *)CAN_MB01_DATA1) |
| 699 | #define pCAN_MB01_DATA0 ((volatile unsigned short *)CAN_MB01_DATA0) |
| 700 | |
| 701 | #define pCAN_MB02_ID1 ((volatile unsigned short *)CAN_MB02_ID1) |
| 702 | #define pCAN_MB02_ID0 ((volatile unsigned short *)CAN_MB02_ID0) |
| 703 | #define pCAN_MB02_TIMESTAMP ((volatile unsigned short *)CAN_MB02_TIMESTAMP) |
| 704 | #define pCAN_MB02_LENGTH ((volatile unsigned short *)CAN_MB02_LENGTH) |
| 705 | #define pCAN_MB02_DATA3 ((volatile unsigned short *)CAN_MB02_DATA3) |
| 706 | #define pCAN_MB02_DATA2 ((volatile unsigned short *)CAN_MB02_DATA2) |
| 707 | #define pCAN_MB02_DATA1 ((volatile unsigned short *)CAN_MB02_DATA1) |
| 708 | #define pCAN_MB02_DATA0 ((volatile unsigned short *)CAN_MB02_DATA0) |
| 709 | |
| 710 | #define pCAN_MB03_ID1 ((volatile unsigned short *)CAN_MB03_ID1) |
| 711 | #define pCAN_MB03_ID0 ((volatile unsigned short *)CAN_MB03_ID0) |
| 712 | #define pCAN_MB03_TIMESTAMP ((volatile unsigned short *)CAN_MB03_TIMESTAMP) |
| 713 | #define pCAN_MB03_LENGTH ((volatile unsigned short *)CAN_MB03_LENGTH) |
| 714 | #define pCAN_MB03_DATA3 ((volatile unsigned short *)CAN_MB03_DATA3) |
| 715 | #define pCAN_MB03_DATA2 ((volatile unsigned short *)CAN_MB03_DATA2) |
| 716 | #define pCAN_MB03_DATA1 ((volatile unsigned short *)CAN_MB03_DATA1) |
| 717 | #define pCAN_MB03_DATA0 ((volatile unsigned short *)CAN_MB03_DATA0) |
| 718 | |
| 719 | #define pCAN_MB04_ID1 ((volatile unsigned short *)CAN_MB04_ID1) |
| 720 | #define pCAN_MB04_ID0 ((volatile unsigned short *)CAN_MB04_ID0) |
| 721 | #define pCAN_MB04_TIMESTAMP ((volatile unsigned short *)CAN_MB04_TIMESTAMP) |
| 722 | #define pCAN_MB04_LENGTH ((volatile unsigned short *)CAN_MB04_LENGTH) |
| 723 | #define pCAN_MB04_DATA3 ((volatile unsigned short *)CAN_MB04_DATA3) |
| 724 | #define pCAN_MB04_DATA2 ((volatile unsigned short *)CAN_MB04_DATA2) |
| 725 | #define pCAN_MB04_DATA1 ((volatile unsigned short *)CAN_MB04_DATA1) |
| 726 | #define pCAN_MB04_DATA0 ((volatile unsigned short *)CAN_MB04_DATA0) |
| 727 | |
| 728 | #define pCAN_MB05_ID1 ((volatile unsigned short *)CAN_MB05_ID1) |
| 729 | #define pCAN_MB05_ID0 ((volatile unsigned short *)CAN_MB05_ID0) |
| 730 | #define pCAN_MB05_TIMESTAMP ((volatile unsigned short *)CAN_MB05_TIMESTAMP) |
| 731 | #define pCAN_MB05_LENGTH ((volatile unsigned short *)CAN_MB05_LENGTH) |
| 732 | #define pCAN_MB05_DATA3 ((volatile unsigned short *)CAN_MB05_DATA3) |
| 733 | #define pCAN_MB05_DATA2 ((volatile unsigned short *)CAN_MB05_DATA2) |
| 734 | #define pCAN_MB05_DATA1 ((volatile unsigned short *)CAN_MB05_DATA1) |
| 735 | #define pCAN_MB05_DATA0 ((volatile unsigned short *)CAN_MB05_DATA0) |
| 736 | |
| 737 | #define pCAN_MB06_ID1 ((volatile unsigned short *)CAN_MB06_ID1) |
| 738 | #define pCAN_MB06_ID0 ((volatile unsigned short *)CAN_MB06_ID0) |
| 739 | #define pCAN_MB06_TIMESTAMP ((volatile unsigned short *)CAN_MB06_TIMESTAMP) |
| 740 | #define pCAN_MB06_LENGTH ((volatile unsigned short *)CAN_MB06_LENGTH) |
| 741 | #define pCAN_MB06_DATA3 ((volatile unsigned short *)CAN_MB06_DATA3) |
| 742 | #define pCAN_MB06_DATA2 ((volatile unsigned short *)CAN_MB06_DATA2) |
| 743 | #define pCAN_MB06_DATA1 ((volatile unsigned short *)CAN_MB06_DATA1) |
| 744 | #define pCAN_MB06_DATA0 ((volatile unsigned short *)CAN_MB06_DATA0) |
| 745 | |
| 746 | #define pCAN_MB07_ID1 ((volatile unsigned short *)CAN_MB07_ID1) |
| 747 | #define pCAN_MB07_ID0 ((volatile unsigned short *)CAN_MB07_ID0) |
| 748 | #define pCAN_MB07_TIMESTAMP ((volatile unsigned short *)CAN_MB07_TIMESTAMP) |
| 749 | #define pCAN_MB07_LENGTH ((volatile unsigned short *)CAN_MB07_LENGTH) |
| 750 | #define pCAN_MB07_DATA3 ((volatile unsigned short *)CAN_MB07_DATA3) |
| 751 | #define pCAN_MB07_DATA2 ((volatile unsigned short *)CAN_MB07_DATA2) |
| 752 | #define pCAN_MB07_DATA1 ((volatile unsigned short *)CAN_MB07_DATA1) |
| 753 | #define pCAN_MB07_DATA0 ((volatile unsigned short *)CAN_MB07_DATA0) |
| 754 | |
| 755 | #define pCAN_MB08_ID1 ((volatile unsigned short *)CAN_MB08_ID1) |
| 756 | #define pCAN_MB08_ID0 ((volatile unsigned short *)CAN_MB08_ID0) |
| 757 | #define pCAN_MB08_TIMESTAMP ((volatile unsigned short *)CAN_MB08_TIMESTAMP) |
| 758 | #define pCAN_MB08_LENGTH ((volatile unsigned short *)CAN_MB08_LENGTH) |
| 759 | #define pCAN_MB08_DATA3 ((volatile unsigned short *)CAN_MB08_DATA3) |
| 760 | #define pCAN_MB08_DATA2 ((volatile unsigned short *)CAN_MB08_DATA2) |
| 761 | #define pCAN_MB08_DATA1 ((volatile unsigned short *)CAN_MB08_DATA1) |
| 762 | #define pCAN_MB08_DATA0 ((volatile unsigned short *)CAN_MB08_DATA0) |
| 763 | |
| 764 | #define pCAN_MB09_ID1 ((volatile unsigned short *)CAN_MB09_ID1) |
| 765 | #define pCAN_MB09_ID0 ((volatile unsigned short *)CAN_MB09_ID0) |
| 766 | #define pCAN_MB09_TIMESTAMP ((volatile unsigned short *)CAN_MB09_TIMESTAMP) |
| 767 | #define pCAN_MB09_LENGTH ((volatile unsigned short *)CAN_MB09_LENGTH) |
| 768 | #define pCAN_MB09_DATA3 ((volatile unsigned short *)CAN_MB09_DATA3) |
| 769 | #define pCAN_MB09_DATA2 ((volatile unsigned short *)CAN_MB09_DATA2) |
| 770 | #define pCAN_MB09_DATA1 ((volatile unsigned short *)CAN_MB09_DATA1) |
| 771 | #define pCAN_MB09_DATA0 ((volatile unsigned short *)CAN_MB09_DATA0) |
| 772 | |
| 773 | #define pCAN_MB10_ID1 ((volatile unsigned short *)CAN_MB10_ID1) |
| 774 | #define pCAN_MB10_ID0 ((volatile unsigned short *)CAN_MB10_ID0) |
| 775 | #define pCAN_MB10_TIMESTAMP ((volatile unsigned short *)CAN_MB10_TIMESTAMP) |
| 776 | #define pCAN_MB10_LENGTH ((volatile unsigned short *)CAN_MB10_LENGTH) |
| 777 | #define pCAN_MB10_DATA3 ((volatile unsigned short *)CAN_MB10_DATA3) |
| 778 | #define pCAN_MB10_DATA2 ((volatile unsigned short *)CAN_MB10_DATA2) |
| 779 | #define pCAN_MB10_DATA1 ((volatile unsigned short *)CAN_MB10_DATA1) |
| 780 | #define pCAN_MB10_DATA0 ((volatile unsigned short *)CAN_MB10_DATA0) |
| 781 | |
| 782 | #define pCAN_MB11_ID1 ((volatile unsigned short *)CAN_MB11_ID1) |
| 783 | #define pCAN_MB11_ID0 ((volatile unsigned short *)CAN_MB11_ID0) |
| 784 | #define pCAN_MB11_TIMESTAMP ((volatile unsigned short *)CAN_MB11_TIMESTAMP) |
| 785 | #define pCAN_MB11_LENGTH ((volatile unsigned short *)CAN_MB11_LENGTH) |
| 786 | #define pCAN_MB11_DATA3 ((volatile unsigned short *)CAN_MB11_DATA3) |
| 787 | #define pCAN_MB11_DATA2 ((volatile unsigned short *)CAN_MB11_DATA2) |
| 788 | #define pCAN_MB11_DATA1 ((volatile unsigned short *)CAN_MB11_DATA1) |
| 789 | #define pCAN_MB11_DATA0 ((volatile unsigned short *)CAN_MB11_DATA0) |
| 790 | |
| 791 | #define pCAN_MB12_ID1 ((volatile unsigned short *)CAN_MB12_ID1) |
| 792 | #define pCAN_MB12_ID0 ((volatile unsigned short *)CAN_MB12_ID0) |
| 793 | #define pCAN_MB12_TIMESTAMP ((volatile unsigned short *)CAN_MB12_TIMESTAMP) |
| 794 | #define pCAN_MB12_LENGTH ((volatile unsigned short *)CAN_MB12_LENGTH) |
| 795 | #define pCAN_MB12_DATA3 ((volatile unsigned short *)CAN_MB12_DATA3) |
| 796 | #define pCAN_MB12_DATA2 ((volatile unsigned short *)CAN_MB12_DATA2) |
| 797 | #define pCAN_MB12_DATA1 ((volatile unsigned short *)CAN_MB12_DATA1) |
| 798 | #define pCAN_MB12_DATA0 ((volatile unsigned short *)CAN_MB12_DATA0) |
| 799 | |
| 800 | #define pCAN_MB13_ID1 ((volatile unsigned short *)CAN_MB13_ID1) |
| 801 | #define pCAN_MB13_ID0 ((volatile unsigned short *)CAN_MB13_ID0) |
| 802 | #define pCAN_MB13_TIMESTAMP ((volatile unsigned short *)CAN_MB13_TIMESTAMP) |
| 803 | #define pCAN_MB13_LENGTH ((volatile unsigned short *)CAN_MB13_LENGTH) |
| 804 | #define pCAN_MB13_DATA3 ((volatile unsigned short *)CAN_MB13_DATA3) |
| 805 | #define pCAN_MB13_DATA2 ((volatile unsigned short *)CAN_MB13_DATA2) |
| 806 | #define pCAN_MB13_DATA1 ((volatile unsigned short *)CAN_MB13_DATA1) |
| 807 | #define pCAN_MB13_DATA0 ((volatile unsigned short *)CAN_MB13_DATA0) |
| 808 | |
| 809 | #define pCAN_MB14_ID1 ((volatile unsigned short *)CAN_MB14_ID1) |
| 810 | #define pCAN_MB14_ID0 ((volatile unsigned short *)CAN_MB14_ID0) |
| 811 | #define pCAN_MB14_TIMESTAMP ((volatile unsigned short *)CAN_MB14_TIMESTAMP) |
| 812 | #define pCAN_MB14_LENGTH ((volatile unsigned short *)CAN_MB14_LENGTH) |
| 813 | #define pCAN_MB14_DATA3 ((volatile unsigned short *)CAN_MB14_DATA3) |
| 814 | #define pCAN_MB14_DATA2 ((volatile unsigned short *)CAN_MB14_DATA2) |
| 815 | #define pCAN_MB14_DATA1 ((volatile unsigned short *)CAN_MB14_DATA1) |
| 816 | #define pCAN_MB14_DATA0 ((volatile unsigned short *)CAN_MB14_DATA0) |
| 817 | |
| 818 | #define pCAN_MB15_ID1 ((volatile unsigned short *)CAN_MB15_ID1) |
| 819 | #define pCAN_MB15_ID0 ((volatile unsigned short *)CAN_MB15_ID0) |
| 820 | #define pCAN_MB15_TIMESTAMP ((volatile unsigned short *)CAN_MB15_TIMESTAMP) |
| 821 | #define pCAN_MB15_LENGTH ((volatile unsigned short *)CAN_MB15_LENGTH) |
| 822 | #define pCAN_MB15_DATA3 ((volatile unsigned short *)CAN_MB15_DATA3) |
| 823 | #define pCAN_MB15_DATA2 ((volatile unsigned short *)CAN_MB15_DATA2) |
| 824 | #define pCAN_MB15_DATA1 ((volatile unsigned short *)CAN_MB15_DATA1) |
| 825 | #define pCAN_MB15_DATA0 ((volatile unsigned short *)CAN_MB15_DATA0) |
| 826 | |
| 827 | #define pCAN_MB16_ID1 ((volatile unsigned short *)CAN_MB16_ID1) |
| 828 | #define pCAN_MB16_ID0 ((volatile unsigned short *)CAN_MB16_ID0) |
| 829 | #define pCAN_MB16_TIMESTAMP ((volatile unsigned short *)CAN_MB16_TIMESTAMP) |
| 830 | #define pCAN_MB16_LENGTH ((volatile unsigned short *)CAN_MB16_LENGTH) |
| 831 | #define pCAN_MB16_DATA3 ((volatile unsigned short *)CAN_MB16_DATA3) |
| 832 | #define pCAN_MB16_DATA2 ((volatile unsigned short *)CAN_MB16_DATA2) |
| 833 | #define pCAN_MB16_DATA1 ((volatile unsigned short *)CAN_MB16_DATA1) |
| 834 | #define pCAN_MB16_DATA0 ((volatile unsigned short *)CAN_MB16_DATA0) |
| 835 | |
| 836 | #define pCAN_MB17_ID1 ((volatile unsigned short *)CAN_MB17_ID1) |
| 837 | #define pCAN_MB17_ID0 ((volatile unsigned short *)CAN_MB17_ID0) |
| 838 | #define pCAN_MB17_TIMESTAMP ((volatile unsigned short *)CAN_MB17_TIMESTAMP) |
| 839 | #define pCAN_MB17_LENGTH ((volatile unsigned short *)CAN_MB17_LENGTH) |
| 840 | #define pCAN_MB17_DATA3 ((volatile unsigned short *)CAN_MB17_DATA3) |
| 841 | #define pCAN_MB17_DATA2 ((volatile unsigned short *)CAN_MB17_DATA2) |
| 842 | #define pCAN_MB17_DATA1 ((volatile unsigned short *)CAN_MB17_DATA1) |
| 843 | #define pCAN_MB17_DATA0 ((volatile unsigned short *)CAN_MB17_DATA0) |
| 844 | |
| 845 | #define pCAN_MB18_ID1 ((volatile unsigned short *)CAN_MB18_ID1) |
| 846 | #define pCAN_MB18_ID0 ((volatile unsigned short *)CAN_MB18_ID0) |
| 847 | #define pCAN_MB18_TIMESTAMP ((volatile unsigned short *)CAN_MB18_TIMESTAMP) |
| 848 | #define pCAN_MB18_LENGTH ((volatile unsigned short *)CAN_MB18_LENGTH) |
| 849 | #define pCAN_MB18_DATA3 ((volatile unsigned short *)CAN_MB18_DATA3) |
| 850 | #define pCAN_MB18_DATA2 ((volatile unsigned short *)CAN_MB18_DATA2) |
| 851 | #define pCAN_MB18_DATA1 ((volatile unsigned short *)CAN_MB18_DATA1) |
| 852 | #define pCAN_MB18_DATA0 ((volatile unsigned short *)CAN_MB18_DATA0) |
| 853 | |
| 854 | #define pCAN_MB19_ID1 ((volatile unsigned short *)CAN_MB19_ID1) |
| 855 | #define pCAN_MB19_ID0 ((volatile unsigned short *)CAN_MB19_ID0) |
| 856 | #define pCAN_MB19_TIMESTAMP ((volatile unsigned short *)CAN_MB19_TIMESTAMP) |
| 857 | #define pCAN_MB19_LENGTH ((volatile unsigned short *)CAN_MB19_LENGTH) |
| 858 | #define pCAN_MB19_DATA3 ((volatile unsigned short *)CAN_MB19_DATA3) |
| 859 | #define pCAN_MB19_DATA2 ((volatile unsigned short *)CAN_MB19_DATA2) |
| 860 | #define pCAN_MB19_DATA1 ((volatile unsigned short *)CAN_MB19_DATA1) |
| 861 | #define pCAN_MB19_DATA0 ((volatile unsigned short *)CAN_MB19_DATA0) |
| 862 | |
| 863 | #define pCAN_MB20_ID1 ((volatile unsigned short *)CAN_MB20_ID1) |
| 864 | #define pCAN_MB20_ID0 ((volatile unsigned short *)CAN_MB20_ID0) |
| 865 | #define pCAN_MB20_TIMESTAMP ((volatile unsigned short *)CAN_MB20_TIMESTAMP) |
| 866 | #define pCAN_MB20_LENGTH ((volatile unsigned short *)CAN_MB20_LENGTH) |
| 867 | #define pCAN_MB20_DATA3 ((volatile unsigned short *)CAN_MB20_DATA3) |
| 868 | #define pCAN_MB20_DATA2 ((volatile unsigned short *)CAN_MB20_DATA2) |
| 869 | #define pCAN_MB20_DATA1 ((volatile unsigned short *)CAN_MB20_DATA1) |
| 870 | #define pCAN_MB20_DATA0 ((volatile unsigned short *)CAN_MB20_DATA0) |
| 871 | |
| 872 | #define pCAN_MB21_ID1 ((volatile unsigned short *)CAN_MB21_ID1) |
| 873 | #define pCAN_MB21_ID0 ((volatile unsigned short *)CAN_MB21_ID0) |
| 874 | #define pCAN_MB21_TIMESTAMP ((volatile unsigned short *)CAN_MB21_TIMESTAMP) |
| 875 | #define pCAN_MB21_LENGTH ((volatile unsigned short *)CAN_MB21_LENGTH) |
| 876 | #define pCAN_MB21_DATA3 ((volatile unsigned short *)CAN_MB21_DATA3) |
| 877 | #define pCAN_MB21_DATA2 ((volatile unsigned short *)CAN_MB21_DATA2) |
| 878 | #define pCAN_MB21_DATA1 ((volatile unsigned short *)CAN_MB21_DATA1) |
| 879 | #define pCAN_MB21_DATA0 ((volatile unsigned short *)CAN_MB21_DATA0) |
| 880 | |
| 881 | #define pCAN_MB22_ID1 ((volatile unsigned short *)CAN_MB22_ID1) |
| 882 | #define pCAN_MB22_ID0 ((volatile unsigned short *)CAN_MB22_ID0) |
| 883 | #define pCAN_MB22_TIMESTAMP ((volatile unsigned short *)CAN_MB22_TIMESTAMP) |
| 884 | #define pCAN_MB22_LENGTH ((volatile unsigned short *)CAN_MB22_LENGTH) |
| 885 | #define pCAN_MB22_DATA3 ((volatile unsigned short *)CAN_MB22_DATA3) |
| 886 | #define pCAN_MB22_DATA2 ((volatile unsigned short *)CAN_MB22_DATA2) |
| 887 | #define pCAN_MB22_DATA1 ((volatile unsigned short *)CAN_MB22_DATA1) |
| 888 | #define pCAN_MB22_DATA0 ((volatile unsigned short *)CAN_MB22_DATA0) |
| 889 | |
| 890 | #define pCAN_MB23_ID1 ((volatile unsigned short *)CAN_MB23_ID1) |
| 891 | #define pCAN_MB23_ID0 ((volatile unsigned short *)CAN_MB23_ID0) |
| 892 | #define pCAN_MB23_TIMESTAMP ((volatile unsigned short *)CAN_MB23_TIMESTAMP) |
| 893 | #define pCAN_MB23_LENGTH ((volatile unsigned short *)CAN_MB23_LENGTH) |
| 894 | #define pCAN_MB23_DATA3 ((volatile unsigned short *)CAN_MB23_DATA3) |
| 895 | #define pCAN_MB23_DATA2 ((volatile unsigned short *)CAN_MB23_DATA2) |
| 896 | #define pCAN_MB23_DATA1 ((volatile unsigned short *)CAN_MB23_DATA1) |
| 897 | #define pCAN_MB23_DATA0 ((volatile unsigned short *)CAN_MB23_DATA0) |
| 898 | |
| 899 | #define pCAN_MB24_ID1 ((volatile unsigned short *)CAN_MB24_ID1) |
| 900 | #define pCAN_MB24_ID0 ((volatile unsigned short *)CAN_MB24_ID0) |
| 901 | #define pCAN_MB24_TIMESTAMP ((volatile unsigned short *)CAN_MB24_TIMESTAMP) |
| 902 | #define pCAN_MB24_LENGTH ((volatile unsigned short *)CAN_MB24_LENGTH) |
| 903 | #define pCAN_MB24_DATA3 ((volatile unsigned short *)CAN_MB24_DATA3) |
| 904 | #define pCAN_MB24_DATA2 ((volatile unsigned short *)CAN_MB24_DATA2) |
| 905 | #define pCAN_MB24_DATA1 ((volatile unsigned short *)CAN_MB24_DATA1) |
| 906 | #define pCAN_MB24_DATA0 ((volatile unsigned short *)CAN_MB24_DATA0) |
| 907 | |
| 908 | #define pCAN_MB25_ID1 ((volatile unsigned short *)CAN_MB25_ID1) |
| 909 | #define pCAN_MB25_ID0 ((volatile unsigned short *)CAN_MB25_ID0) |
| 910 | #define pCAN_MB25_TIMESTAMP ((volatile unsigned short *)CAN_MB25_TIMESTAMP) |
| 911 | #define pCAN_MB25_LENGTH ((volatile unsigned short *)CAN_MB25_LENGTH) |
| 912 | #define pCAN_MB25_DATA3 ((volatile unsigned short *)CAN_MB25_DATA3) |
| 913 | #define pCAN_MB25_DATA2 ((volatile unsigned short *)CAN_MB25_DATA2) |
| 914 | #define pCAN_MB25_DATA1 ((volatile unsigned short *)CAN_MB25_DATA1) |
| 915 | #define pCAN_MB25_DATA0 ((volatile unsigned short *)CAN_MB25_DATA0) |
| 916 | |
| 917 | #define pCAN_MB26_ID1 ((volatile unsigned short *)CAN_MB26_ID1) |
| 918 | #define pCAN_MB26_ID0 ((volatile unsigned short *)CAN_MB26_ID0) |
| 919 | #define pCAN_MB26_TIMESTAMP ((volatile unsigned short *)CAN_MB26_TIMESTAMP) |
| 920 | #define pCAN_MB26_LENGTH ((volatile unsigned short *)CAN_MB26_LENGTH) |
| 921 | #define pCAN_MB26_DATA3 ((volatile unsigned short *)CAN_MB26_DATA3) |
| 922 | #define pCAN_MB26_DATA2 ((volatile unsigned short *)CAN_MB26_DATA2) |
| 923 | #define pCAN_MB26_DATA1 ((volatile unsigned short *)CAN_MB26_DATA1) |
| 924 | #define pCAN_MB26_DATA0 ((volatile unsigned short *)CAN_MB26_DATA0) |
| 925 | |
| 926 | #define pCAN_MB27_ID1 ((volatile unsigned short *)CAN_MB27_ID1) |
| 927 | #define pCAN_MB27_ID0 ((volatile unsigned short *)CAN_MB27_ID0) |
| 928 | #define pCAN_MB27_TIMESTAMP ((volatile unsigned short *)CAN_MB27_TIMESTAMP) |
| 929 | #define pCAN_MB27_LENGTH ((volatile unsigned short *)CAN_MB27_LENGTH) |
| 930 | #define pCAN_MB27_DATA3 ((volatile unsigned short *)CAN_MB27_DATA3) |
| 931 | #define pCAN_MB27_DATA2 ((volatile unsigned short *)CAN_MB27_DATA2) |
| 932 | #define pCAN_MB27_DATA1 ((volatile unsigned short *)CAN_MB27_DATA1) |
| 933 | #define pCAN_MB27_DATA0 ((volatile unsigned short *)CAN_MB27_DATA0) |
| 934 | |
| 935 | #define pCAN_MB28_ID1 ((volatile unsigned short *)CAN_MB28_ID1) |
| 936 | #define pCAN_MB28_ID0 ((volatile unsigned short *)CAN_MB28_ID0) |
| 937 | #define pCAN_MB28_TIMESTAMP ((volatile unsigned short *)CAN_MB28_TIMESTAMP) |
| 938 | #define pCAN_MB28_LENGTH ((volatile unsigned short *)CAN_MB28_LENGTH) |
| 939 | #define pCAN_MB28_DATA3 ((volatile unsigned short *)CAN_MB28_DATA3) |
| 940 | #define pCAN_MB28_DATA2 ((volatile unsigned short *)CAN_MB28_DATA2) |
| 941 | #define pCAN_MB28_DATA1 ((volatile unsigned short *)CAN_MB28_DATA1) |
| 942 | #define pCAN_MB28_DATA0 ((volatile unsigned short *)CAN_MB28_DATA0) |
| 943 | |
| 944 | #define pCAN_MB29_ID1 ((volatile unsigned short *)CAN_MB29_ID1) |
| 945 | #define pCAN_MB29_ID0 ((volatile unsigned short *)CAN_MB29_ID0) |
| 946 | #define pCAN_MB29_TIMESTAMP ((volatile unsigned short *)CAN_MB29_TIMESTAMP) |
| 947 | #define pCAN_MB29_LENGTH ((volatile unsigned short *)CAN_MB29_LENGTH) |
| 948 | #define pCAN_MB29_DATA3 ((volatile unsigned short *)CAN_MB29_DATA3) |
| 949 | #define pCAN_MB29_DATA2 ((volatile unsigned short *)CAN_MB29_DATA2) |
| 950 | #define pCAN_MB29_DATA1 ((volatile unsigned short *)CAN_MB29_DATA1) |
| 951 | #define pCAN_MB29_DATA0 ((volatile unsigned short *)CAN_MB29_DATA0) |
| 952 | |
| 953 | #define pCAN_MB30_ID1 ((volatile unsigned short *)CAN_MB30_ID1) |
| 954 | #define pCAN_MB30_ID0 ((volatile unsigned short *)CAN_MB30_ID0) |
| 955 | #define pCAN_MB30_TIMESTAMP ((volatile unsigned short *)CAN_MB30_TIMESTAMP) |
| 956 | #define pCAN_MB30_LENGTH ((volatile unsigned short *)CAN_MB30_LENGTH) |
| 957 | #define pCAN_MB30_DATA3 ((volatile unsigned short *)CAN_MB30_DATA3) |
| 958 | #define pCAN_MB30_DATA2 ((volatile unsigned short *)CAN_MB30_DATA2) |
| 959 | #define pCAN_MB30_DATA1 ((volatile unsigned short *)CAN_MB30_DATA1) |
| 960 | #define pCAN_MB30_DATA0 ((volatile unsigned short *)CAN_MB30_DATA0) |
| 961 | |
| 962 | #define pCAN_MB31_ID1 ((volatile unsigned short *)CAN_MB31_ID1) |
| 963 | #define pCAN_MB31_ID0 ((volatile unsigned short *)CAN_MB31_ID0) |
| 964 | #define pCAN_MB31_TIMESTAMP ((volatile unsigned short *)CAN_MB31_TIMESTAMP) |
| 965 | #define pCAN_MB31_LENGTH ((volatile unsigned short *)CAN_MB31_LENGTH) |
| 966 | #define pCAN_MB31_DATA3 ((volatile unsigned short *)CAN_MB31_DATA3) |
| 967 | #define pCAN_MB31_DATA2 ((volatile unsigned short *)CAN_MB31_DATA2) |
| 968 | #define pCAN_MB31_DATA1 ((volatile unsigned short *)CAN_MB31_DATA1) |
| 969 | #define pCAN_MB31_DATA0 ((volatile unsigned short *)CAN_MB31_DATA0) |
| 970 | |
| 971 | /* CAN Mailbox Area Macros */ |
| 972 | #define pCAN_MB_ID1(x) ((volatile unsigned short *)CAN_MB_ID1(x)) |
| 973 | #define pCAN_MB_ID0(x) ((volatile unsigned short *)CAN_MB_ID0(x)) |
| 974 | #define pCAN_MB_TIMESTAMP(x) ((volatile unsigned short *)CAN_MB_TIMESTAMP(x)) |
| 975 | #define pCAN_MB_LENGTH(x) ((volatile unsigned short *)CAN_MB_LENGTH(x)) |
| 976 | #define pCAN_MB_DATA3(x) ((volatile unsigned short *)CAN_MB_DATA3(x)) |
| 977 | #define pCAN_MB_DATA2(x) ((volatile unsigned short *)CAN_MB_DATA2(x)) |
| 978 | #define pCAN_MB_DATA1(x) ((volatile unsigned short *)CAN_MB_DATA1(x)) |
| 979 | #define pCAN_MB_DATA0(x) ((volatile unsigned short *)CAN_MB_DATA0(x)) |
| 980 | |
| 981 | /* Pin Control Registers (0xFFC03200 - 0xFFC032FF) */ |
| 982 | #define pPORTF_FER ((volatile unsigned short *)PORTF_FER) |
| 983 | #define pPORTG_FER ((volatile unsigned short *)PORTG_FER) |
| 984 | #define pPORTH_FER ((volatile unsigned short *)PORTH_FER) |
| 985 | #define pPORT_MUX ((volatile unsigned short *)PORT_MUX) |
| 986 | |
| 987 | #define PORTF_UART0_TX 0x0001 |
| 988 | #define PORTF_UART0_RX 0x0002 |
| 989 | |
| 990 | #define PORT_MUX_PFDE 0x0040 /* 0: Enable UART0 RX, UART0 TX; 1: Enable DMAR0, DMAr1 */ |
| 991 | |
| 992 | /* Handshake MDMA Registers (0xFFC03300 - 0xFFC033FF) */ |
| 993 | #define pHMDMA0_CONTROL ((volatile unsigned short *)HMDMA0_CONTROL) |
| 994 | #define pHMDMA0_ECINIT ((volatile unsigned short *)HMDMA0_ECINIT) |
| 995 | #define pHMDMA0_BCINIT ((volatile unsigned short *)HMDMA0_BCINIT) |
| 996 | #define pHMDMA0_ECURGENT ((volatile unsigned short *)HMDMA0_ECURGENT) |
| 997 | #define pHMDMA0_ECOVERFLOW ((volatile unsigned short *)HMDMA0_ECOVERFLOW) |
| 998 | #define pHMDMA0_ECOUNT ((volatile unsigned short *)HMDMA0_ECOUNT) |
| 999 | #define pHMDMA0_BCOUNT ((volatile unsigned short *)HMDMA0_BCOUNT) |
| 1000 | |
| 1001 | #define pHMDMA1_CONTROL ((volatile unsigned short *)HMDMA1_CONTROL) |
| 1002 | #define pHMDMA1_ECINIT ((volatile unsigned short *)HMDMA1_ECINIT) |
| 1003 | #define pHMDMA1_BCINIT ((volatile unsigned short *)HMDMA1_BCINIT) |
| 1004 | #define pHMDMA1_ECURGENT ((volatile unsigned short *)HMDMA1_ECURGENT) |
| 1005 | #define pHMDMA1_ECOVERFLOW ((volatile unsigned short *)HMDMA1_ECOVERFLOW) |
| 1006 | #define pHMDMA1_ECOUNT ((volatile unsigned short *)HMDMA1_ECOUNT) |
| 1007 | #define pHMDMA1_BCOUNT ((volatile unsigned short *)HMDMA1_BCOUNT) |
| 1008 | |
| 1009 | #endif /* _CDEF_BF534_H */ |