basicAlgorithmEncapsulation.h 101 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239
  1. /*
  2. * Copyright 2007-2010 Analog Devices Inc.
  3. *
  4. * Licensed under the Clear BSD license or the GPL-2 (or later)
  5. */
  6. #ifndef _DEF_BF54X_H
  7. #define _DEF_BF54X_H
  8. /* ************************************************************** */
  9. /* SYSTEM & MMR ADDRESS DEFINITIONS COMMON TO ALL ADSP-BF54x */
  10. /* ************************************************************** */
  11. /* PLL Registers */
  12. #define PLL_CTL 0xffc00000 /* PLL Control Register */
  13. #define PLL_DIV 0xffc00004 /* PLL Divisor Register */
  14. #define VR_CTL 0xffc00008 /* Voltage Regulator Control Register */
  15. #define PLL_STAT 0xffc0000c /* PLL Status Register */
  16. #define PLL_LOCKCNT 0xffc00010 /* PLL Lock Count Register */
  17. /* Debug/MP/Emulation Registers (0xFFC00014 - 0xFFC00014) */
  18. #define CHIPID 0xffc00014
  19. /* CHIPID Masks */
  20. #define CHIPID_VERSION 0xF0000000
  21. #define CHIPID_FAMILY 0x0FFFF000
  22. #define CHIPID_MANUFACTURE 0x00000FFE
  23. /* System Reset and Interrupt Controller (0xFFC00100 - 0xFFC00104) */
  24. #define SWRST 0xffc00100 /* Software Reset Register */
  25. #define SYSCR 0xffc00104 /* System Configuration register */
  26. /* SIC Registers */
  27. #define SIC_RVECT 0xffc00108
  28. #define SIC_IMASK0 0xffc0010c /* System Interrupt Mask Register 0 */
  29. #define SIC_IMASK1 0xffc00110 /* System Interrupt Mask Register 1 */
  30. #define SIC_IMASK2 0xffc00114 /* System Interrupt Mask Register 2 */
  31. #define SIC_ISR0 0xffc00118 /* System Interrupt Status Register 0 */
  32. #define SIC_ISR1 0xffc0011c /* System Interrupt Status Register 1 */
  33. #define SIC_ISR2 0xffc00120 /* System Interrupt Status Register 2 */
  34. #define SIC_IWR0 0xffc00124 /* System Interrupt Wakeup Register 0 */
  35. #define SIC_IWR1 0xffc00128 /* System Interrupt Wakeup Register 1 */
  36. #define SIC_IWR2 0xffc0012c /* System Interrupt Wakeup Register 2 */
  37. #define SIC_IAR0 0xffc00130 /* System Interrupt Assignment Register 0 */
  38. #define SIC_IAR1 0xffc00134 /* System Interrupt Assignment Register 1 */
  39. #define SIC_IAR2 0xffc00138 /* System Interrupt Assignment Register 2 */
  40. #define SIC_IAR3 0xffc0013c /* System Interrupt Assignment Register 3 */
  41. #define SIC_IAR4 0xffc00140 /* System Interrupt Assignment Register 4 */
  42. #define SIC_IAR5 0xffc00144 /* System Interrupt Assignment Register 5 */
  43. #define SIC_IAR6 0xffc00148 /* System Interrupt Assignment Register 6 */
  44. #define SIC_IAR7 0xffc0014c /* System Interrupt Assignment Register 7 */
  45. #define SIC_IAR8 0xffc00150 /* System Interrupt Assignment Register 8 */
  46. #define SIC_IAR9 0xffc00154 /* System Interrupt Assignment Register 9 */
  47. #define SIC_IAR10 0xffc00158 /* System Interrupt Assignment Register 10 */
  48. #define SIC_IAR11 0xffc0015c /* System Interrupt Assignment Register 11 */
  49. /* Watchdog Timer Registers */
  50. #define WDOG_CTL 0xffc00200 /* Watchdog Control Register */
  51. #define WDOG_CNT 0xffc00204 /* Watchdog Count Register */
  52. #define WDOG_STAT 0xffc00208 /* Watchdog Status Register */
  53. /* RTC Registers */
  54. #define RTC_STAT 0xffc00300 /* RTC Status Register */
  55. #define RTC_ICTL 0xffc00304 /* RTC Interrupt Control Register */
  56. #define RTC_ISTAT 0xffc00308 /* RTC Interrupt Status Register */
  57. #define RTC_SWCNT 0xffc0030c /* RTC Stopwatch Count Register */
  58. #define RTC_ALARM 0xffc00310 /* RTC Alarm Register */
  59. #define RTC_PREN 0xffc00314 /* RTC Prescaler Enable Register */
  60. /* UART0 Registers */
  61. #define UART0_DLL 0xffc00400 /* Divisor Latch Low Byte */
  62. #define UART0_DLH 0xffc00404 /* Divisor Latch High Byte */
  63. #define UART0_GCTL 0xffc00408 /* Global Control Register */
  64. #define UART0_LCR 0xffc0040c /* Line Control Register */
  65. #define UART0_MCR 0xffc00410 /* Modem Control Register */
  66. #define UART0_LSR 0xffc00414 /* Line Status Register */
  67. #define UART0_MSR 0xffc00418 /* Modem Status Register */
  68. #define UART0_SCR 0xffc0041c /* Scratch Register */
  69. #define UART0_IER_SET 0xffc00420 /* Interrupt Enable Register Set */
  70. #define UART0_IER_CLEAR 0xffc00424 /* Interrupt Enable Register Clear */
  71. #define UART0_THR 0xffc00428 /* Transmit Hold Register */
  72. #define UART0_RBR 0xffc0042c /* Receive Buffer Register */
  73. /* SPI0 Registers */
  74. #define SPI0_REGBASE 0xffc00500
  75. #define SPI0_CTL 0xffc00500 /* SPI0 Control Register */
  76. #define SPI0_FLG 0xffc00504 /* SPI0 Flag Register */
  77. #define SPI0_STAT 0xffc00508 /* SPI0 Status Register */
  78. #define SPI0_TDBR 0xffc0050c /* SPI0 Transmit Data Buffer Register */
  79. #define SPI0_RDBR 0xffc00510 /* SPI0 Receive Data Buffer Register */
  80. #define SPI0_BAUD 0xffc00514 /* SPI0 Baud Rate Register */
  81. #define SPI0_SHADOW 0xffc00518 /* SPI0 Receive Data Buffer Shadow Register */
  82. /* Timer Group of 3 registers are not defined in the shared file because they are not available on the ADSP-BF542 processor */
  83. /* Two Wire Interface Registers (TWI0) */
  84. #define TWI0_REGBASE 0xffc00700
  85. #define TWI0_CLKDIV 0xffc00700 /* Clock Divider Register */
  86. #define TWI0_CONTROL 0xffc00704 /* TWI Control Register */
  87. #define TWI0_SLAVE_CTL 0xffc00708 /* TWI Slave Mode Control Register */
  88. #define TWI0_SLAVE_STAT 0xffc0070c /* TWI Slave Mode Status Register */
  89. #define TWI0_SLAVE_ADDR 0xffc00710 /* TWI Slave Mode Address Register */
  90. #define TWI0_MASTER_CTL 0xffc00714 /* TWI Master Mode Control Register */
  91. #define TWI0_MASTER_STAT 0xffc00718 /* TWI Master Mode Status Register */
  92. #define TWI0_MASTER_ADDR 0xffc0071c /* TWI Master Mode Address Register */
  93. #define TWI0_INT_STAT 0xffc00720 /* TWI Interrupt Status Register */
  94. #define TWI0_INT_MASK 0xffc00724 /* TWI Interrupt Mask Register */
  95. #define TWI0_FIFO_CTL 0xffc00728 /* TWI FIFO Control Register */
  96. #define TWI0_FIFO_STAT 0xffc0072c /* TWI FIFO Status Register */
  97. #define TWI0_XMT_DATA8 0xffc00780 /* TWI FIFO Transmit Data Single Byte Register */
  98. #define TWI0_XMT_DATA16 0xffc00784 /* TWI FIFO Transmit Data Double Byte Register */
  99. #define TWI0_RCV_DATA8 0xffc00788 /* TWI FIFO Receive Data Single Byte Register */
  100. #define TWI0_RCV_DATA16 0xffc0078c /* TWI FIFO Receive Data Double Byte Register */
  101. /* SPORT0 is not defined in the shared file because it is not available on the ADSP-BF542 and ADSP-BF544 processors */
  102. /* SPORT1 Registers */
  103. #define SPORT1_TCR1 0xffc00900 /* SPORT1 Transmit Configuration 1 Register */
  104. #define SPORT1_TCR2 0xffc00904 /* SPORT1 Transmit Configuration 2 Register */
  105. #define SPORT1_TCLKDIV 0xffc00908 /* SPORT1 Transmit Serial Clock Divider Register */
  106. #define SPORT1_TFSDIV 0xffc0090c /* SPORT1 Transmit Frame Sync Divider Register */
  107. #define SPORT1_TX 0xffc00910 /* SPORT1 Transmit Data Register */
  108. #define SPORT1_RX 0xffc00918 /* SPORT1 Receive Data Register */
  109. #define SPORT1_RCR1 0xffc00920 /* SPORT1 Receive Configuration 1 Register */
  110. #define SPORT1_RCR2 0xffc00924 /* SPORT1 Receive Configuration 2 Register */
  111. #define SPORT1_RCLKDIV 0xffc00928 /* SPORT1 Receive Serial Clock Divider Register */
  112. #define SPORT1_RFSDIV 0xffc0092c /* SPORT1 Receive Frame Sync Divider Register */
  113. #define SPORT1_STAT 0xffc00930 /* SPORT1 Status Register */
  114. #define SPORT1_CHNL 0xffc00934 /* SPORT1 Current Channel Register */
  115. #define SPORT1_MCMC1 0xffc00938 /* SPORT1 Multi channel Configuration Register 1 */
  116. #define SPORT1_MCMC2 0xffc0093c /* SPORT1 Multi channel Configuration Register 2 */
  117. #define SPORT1_MTCS0 0xffc00940 /* SPORT1 Multi channel Transmit Select Register 0 */
  118. #define SPORT1_MTCS1 0xffc00944 /* SPORT1 Multi channel Transmit Select Register 1 */
  119. #define SPORT1_MTCS2 0xffc00948 /* SPORT1 Multi channel Transmit Select Register 2 */
  120. #define SPORT1_MTCS3 0xffc0094c /* SPORT1 Multi channel Transmit Select Register 3 */
  121. #define SPORT1_MRCS0 0xffc00950 /* SPORT1 Multi channel Receive Select Register 0 */
  122. #define SPORT1_MRCS1 0xffc00954 /* SPORT1 Multi channel Receive Select Register 1 */
  123. #define SPORT1_MRCS2 0xffc00958 /* SPORT1 Multi channel Receive Select Register 2 */
  124. #define SPORT1_MRCS3 0xffc0095c /* SPORT1 Multi channel Receive Select Register 3 */
  125. /* Asynchronous Memory Control Registers */
  126. #define EBIU_AMGCTL 0xffc00a00 /* Asynchronous Memory Global Control Register */
  127. #define EBIU_AMBCTL0 0xffc00a04 /* Asynchronous Memory Bank Control Register */
  128. #define EBIU_AMBCTL1 0xffc00a08 /* Asynchronous Memory Bank Control Register */
  129. #define EBIU_MBSCTL 0xffc00a0c /* Asynchronous Memory Bank Select Control Register */
  130. #define EBIU_ARBSTAT 0xffc00a10 /* Asynchronous Memory Arbiter Status Register */
  131. #define EBIU_MODE 0xffc00a14 /* Asynchronous Mode Control Register */
  132. #define EBIU_FCTL 0xffc00a18 /* Asynchronous Memory Flash Control Register */
  133. /* DDR Memory Control Registers */
  134. #define EBIU_DDRCTL0 0xffc00a20 /* DDR Memory Control 0 Register */
  135. #define EBIU_DDRCTL1 0xffc00a24 /* DDR Memory Control 1 Register */
  136. #define EBIU_DDRCTL2 0xffc00a28 /* DDR Memory Control 2 Register */
  137. #define EBIU_DDRCTL3 0xffc00a2c /* DDR Memory Control 3 Register */
  138. #define EBIU_DDRQUE 0xffc00a30 /* DDR Queue Configuration Register */
  139. #define EBIU_ERRADD 0xffc00a34 /* DDR Error Address Register */
  140. #define EBIU_ERRMST 0xffc00a38 /* DDR Error Master Register */
  141. #define EBIU_RSTCTL 0xffc00a3c /* DDR Reset Control Register */
  142. /* DDR BankRead and Write Count Registers */
  143. #define EBIU_DDRBRC0 0xffc00a60 /* DDR Bank0 Read Count Register */
  144. #define EBIU_DDRBRC1 0xffc00a64 /* DDR Bank1 Read Count Register */
  145. #define EBIU_DDRBRC2 0xffc00a68 /* DDR Bank2 Read Count Register */
  146. #define EBIU_DDRBRC3 0xffc00a6c /* DDR Bank3 Read Count Register */
  147. #define EBIU_DDRBRC4 0xffc00a70 /* DDR Bank4 Read Count Register */
  148. #define EBIU_DDRBRC5 0xffc00a74 /* DDR Bank5 Read Count Register */
  149. #define EBIU_DDRBRC6 0xffc00a78 /* DDR Bank6 Read Count Register */
  150. #define EBIU_DDRBRC7 0xffc00a7c /* DDR Bank7 Read Count Register */
  151. #define EBIU_DDRBWC0 0xffc00a80 /* DDR Bank0 Write Count Register */
  152. #define EBIU_DDRBWC1 0xffc00a84 /* DDR Bank1 Write Count Register */
  153. #define EBIU_DDRBWC2 0xffc00a88 /* DDR Bank2 Write Count Register */
  154. #define EBIU_DDRBWC3 0xffc00a8c /* DDR Bank3 Write Count Register */
  155. #define EBIU_DDRBWC4 0xffc00a90 /* DDR Bank4 Write Count Register */
  156. #define EBIU_DDRBWC5 0xffc00a94 /* DDR Bank5 Write Count Register */
  157. #define EBIU_DDRBWC6 0xffc00a98 /* DDR Bank6 Write Count Register */
  158. #define EBIU_DDRBWC7 0xffc00a9c /* DDR Bank7 Write Count Register */
  159. #define EBIU_DDRACCT 0xffc00aa0 /* DDR Activation Count Register */
  160. #define EBIU_DDRTACT 0xffc00aa8 /* DDR Turn Around Count Register */
  161. #define EBIU_DDRARCT 0xffc00aac /* DDR Auto-refresh Count Register */
  162. #define EBIU_DDRGC0 0xffc00ab0 /* DDR Grant Count 0 Register */
  163. #define EBIU_DDRGC1 0xffc00ab4 /* DDR Grant Count 1 Register */
  164. #define EBIU_DDRGC2 0xffc00ab8 /* DDR Grant Count 2 Register */
  165. #define EBIU_DDRGC3 0xffc00abc /* DDR Grant Count 3 Register */
  166. #define EBIU_DDRMCEN 0xffc00ac0 /* DDR Metrics Counter Enable Register */
  167. #define EBIU_DDRMCCL 0xffc00ac4 /* DDR Metrics Counter Clear Register */
  168. /* DMAC0 Registers */
  169. #define DMAC0_TC_PER 0xffc00b0c /* DMA Controller 0 Traffic Control Periods Register */
  170. #define DMAC0_TC_CNT 0xffc00b10 /* DMA Controller 0 Current Counts Register */
  171. /* DMA Channel 0 Registers */
  172. #define DMA0_NEXT_DESC_PTR 0xffc00c00 /* DMA Channel 0 Next Descriptor Pointer Register */
  173. #define DMA0_START_ADDR 0xffc00c04 /* DMA Channel 0 Start Address Register */
  174. #define DMA0_CONFIG 0xffc00c08 /* DMA Channel 0 Configuration Register */
  175. #define DMA0_X_COUNT 0xffc00c10 /* DMA Channel 0 X Count Register */
  176. #define DMA0_X_MODIFY 0xffc00c14 /* DMA Channel 0 X Modify Register */
  177. #define DMA0_Y_COUNT 0xffc00c18 /* DMA Channel 0 Y Count Register */
  178. #define DMA0_Y_MODIFY 0xffc00c1c /* DMA Channel 0 Y Modify Register */
  179. #define DMA0_CURR_DESC_PTR 0xffc00c20 /* DMA Channel 0 Current Descriptor Pointer Register */
  180. #define DMA0_CURR_ADDR 0xffc00c24 /* DMA Channel 0 Current Address Register */
  181. #define DMA0_IRQ_STATUS 0xffc00c28 /* DMA Channel 0 Interrupt/Status Register */
  182. #define DMA0_PERIPHERAL_MAP 0xffc00c2c /* DMA Channel 0 Peripheral Map Register */
  183. #define DMA0_CURR_X_COUNT 0xffc00c30 /* DMA Channel 0 Current X Count Register */
  184. #define DMA0_CURR_Y_COUNT 0xffc00c38 /* DMA Channel 0 Current Y Count Register */
  185. /* DMA Channel 1 Registers */
  186. #define DMA1_NEXT_DESC_PTR 0xffc00c40 /* DMA Channel 1 Next Descriptor Pointer Register */
  187. #define DMA1_START_ADDR 0xffc00c44 /* DMA Channel 1 Start Address Register */
  188. #define DMA1_CONFIG 0xffc00c48 /* DMA Channel 1 Configuration Register */
  189. #define DMA1_X_COUNT 0xffc00c50 /* DMA Channel 1 X Count Register */
  190. #define DMA1_X_MODIFY 0xffc00c54 /* DMA Channel 1 X Modify Register */
  191. #define DMA1_Y_COUNT 0xffc00c58 /* DMA Channel 1 Y Count Register */
  192. #define DMA1_Y_MODIFY 0xffc00c5c /* DMA Channel 1 Y Modify Register */
  193. #define DMA1_CURR_DESC_PTR 0xffc00c60 /* DMA Channel 1 Current Descriptor Pointer Register */
  194. #define DMA1_CURR_ADDR 0xffc00c64 /* DMA Channel 1 Current Address Register */
  195. #define DMA1_IRQ_STATUS 0xffc00c68 /* DMA Channel 1 Interrupt/Status Register */
  196. #define DMA1_PERIPHERAL_MAP 0xffc00c6c /* DMA Channel 1 Peripheral Map Register */
  197. #define DMA1_CURR_X_COUNT 0xffc00c70 /* DMA Channel 1 Current X Count Register */
  198. #define DMA1_CURR_Y_COUNT 0xffc00c78 /* DMA Channel 1 Current Y Count Register */
  199. /* DMA Channel 2 Registers */
  200. #define DMA2_NEXT_DESC_PTR 0xffc00c80 /* DMA Channel 2 Next Descriptor Pointer Register */
  201. #define DMA2_START_ADDR 0xffc00c84 /* DMA Channel 2 Start Address Register */
  202. #define DMA2_CONFIG 0xffc00c88 /* DMA Channel 2 Configuration Register */
  203. #define DMA2_X_COUNT 0xffc00c90 /* DMA Channel 2 X Count Register */
  204. #define DMA2_X_MODIFY 0xffc00c94 /* DMA Channel 2 X Modify Register */
  205. #define DMA2_Y_COUNT 0xffc00c98 /* DMA Channel 2 Y Count Register */
  206. #define DMA2_Y_MODIFY 0xffc00c9c /* DMA Channel 2 Y Modify Register */
  207. #define DMA2_CURR_DESC_PTR 0xffc00ca0 /* DMA Channel 2 Current Descriptor Pointer Register */
  208. #define DMA2_CURR_ADDR 0xffc00ca4 /* DMA Channel 2 Current Address Register */
  209. #define DMA2_IRQ_STATUS 0xffc00ca8 /* DMA Channel 2 Interrupt/Status Register */
  210. #define DMA2_PERIPHERAL_MAP 0xffc00cac /* DMA Channel 2 Peripheral Map Register */
  211. #define DMA2_CURR_X_COUNT 0xffc00cb0 /* DMA Channel 2 Current X Count Register */
  212. #define DMA2_CURR_Y_COUNT 0xffc00cb8 /* DMA Channel 2 Current Y Count Register */
  213. /* DMA Channel 3 Registers */
  214. #define DMA3_NEXT_DESC_PTR 0xffc00cc0 /* DMA Channel 3 Next Descriptor Pointer Register */
  215. #define DMA3_START_ADDR 0xffc00cc4 /* DMA Channel 3 Start Address Register */
  216. #define DMA3_CONFIG 0xffc00cc8 /* DMA Channel 3 Configuration Register */
  217. #define DMA3_X_COUNT 0xffc00cd0 /* DMA Channel 3 X Count Register */
  218. #define DMA3_X_MODIFY 0xffc00cd4 /* DMA Channel 3 X Modify Register */
  219. #define DMA3_Y_COUNT 0xffc00cd8 /* DMA Channel 3 Y Count Register */
  220. #define DMA3_Y_MODIFY 0xffc00cdc /* DMA Channel 3 Y Modify Register */
  221. #define DMA3_CURR_DESC_PTR 0xffc00ce0 /* DMA Channel 3 Current Descriptor Pointer Register */
  222. #define DMA3_CURR_ADDR 0xffc00ce4 /* DMA Channel 3 Current Address Register */
  223. #define DMA3_IRQ_STATUS 0xffc00ce8 /* DMA Channel 3 Interrupt/Status Register */
  224. #define DMA3_PERIPHERAL_MAP 0xffc00cec /* DMA Channel 3 Peripheral Map Register */
  225. #define DMA3_CURR_X_COUNT 0xffc00cf0 /* DMA Channel 3 Current X Count Register */
  226. #define DMA3_CURR_Y_COUNT 0xffc00cf8 /* DMA Channel 3 Current Y Count Register */
  227. /* DMA Channel 4 Registers */
  228. #define DMA4_NEXT_DESC_PTR 0xffc00d00 /* DMA Channel 4 Next Descriptor Pointer Register */
  229. #define DMA4_START_ADDR 0xffc00d04 /* DMA Channel 4 Start Address Register */
  230. #define DMA4_CONFIG 0xffc00d08 /* DMA Channel 4 Configuration Register */
  231. #define DMA4_X_COUNT 0xffc00d10 /* DMA Channel 4 X Count Register */
  232. #define DMA4_X_MODIFY 0xffc00d14 /* DMA Channel 4 X Modify Register */
  233. #define DMA4_Y_COUNT 0xffc00d18 /* DMA Channel 4 Y Count Register */
  234. #define DMA4_Y_MODIFY 0xffc00d1c /* DMA Channel 4 Y Modify Register */
  235. #define DMA4_CURR_DESC_PTR 0xffc00d20 /* DMA Channel 4 Current Descriptor Pointer Register */
  236. #define DMA4_CURR_ADDR 0xffc00d24 /* DMA Channel 4 Current Address Register */
  237. #define DMA4_IRQ_STATUS 0xffc00d28 /* DMA Channel 4 Interrupt/Status Register */
  238. #define DMA4_PERIPHERAL_MAP 0xffc00d2c /* DMA Channel 4 Peripheral Map Register */
  239. #define DMA4_CURR_X_COUNT 0xffc00d30 /* DMA Channel 4 Current X Count Register */
  240. #define DMA4_CURR_Y_COUNT 0xffc00d38 /* DMA Channel 4 Current Y Count Register */
  241. /* DMA Channel 5 Registers */
  242. #define DMA5_NEXT_DESC_PTR 0xffc00d40 /* DMA Channel 5 Next Descriptor Pointer Register */
  243. #define DMA5_START_ADDR 0xffc00d44 /* DMA Channel 5 Start Address Register */
  244. #define DMA5_CONFIG 0xffc00d48 /* DMA Channel 5 Configuration Register */
  245. #define DMA5_X_COUNT 0xffc00d50 /* DMA Channel 5 X Count Register */
  246. #define DMA5_X_MODIFY 0xffc00d54 /* DMA Channel 5 X Modify Register */
  247. #define DMA5_Y_COUNT 0xffc00d58 /* DMA Channel 5 Y Count Register */
  248. #define DMA5_Y_MODIFY 0xffc00d5c /* DMA Channel 5 Y Modify Register */
  249. #define DMA5_CURR_DESC_PTR 0xffc00d60 /* DMA Channel 5 Current Descriptor Pointer Register */
  250. #define DMA5_CURR_ADDR 0xffc00d64 /* DMA Channel 5 Current Address Register */
  251. #define DMA5_IRQ_STATUS 0xffc00d68 /* DMA Channel 5 Interrupt/Status Register */
  252. #define DMA5_PERIPHERAL_MAP 0xffc00d6c /* DMA Channel 5 Peripheral Map Register */
  253. #define DMA5_CURR_X_COUNT 0xffc00d70 /* DMA Channel 5 Current X Count Register */
  254. #define DMA5_CURR_Y_COUNT 0xffc00d78 /* DMA Channel 5 Current Y Count Register */
  255. /* DMA Channel 6 Registers */
  256. #define DMA6_NEXT_DESC_PTR 0xffc00d80 /* DMA Channel 6 Next Descriptor Pointer Register */
  257. #define DMA6_START_ADDR 0xffc00d84 /* DMA Channel 6 Start Address Register */
  258. #define DMA6_CONFIG 0xffc00d88 /* DMA Channel 6 Configuration Register */
  259. #define DMA6_X_COUNT 0xffc00d90 /* DMA Channel 6 X Count Register */
  260. #define DMA6_X_MODIFY 0xffc00d94 /* DMA Channel 6 X Modify Register */
  261. #define DMA6_Y_COUNT 0xffc00d98 /* DMA Channel 6 Y Count Register */
  262. #define DMA6_Y_MODIFY 0xffc00d9c /* DMA Channel 6 Y Modify Register */
  263. #define DMA6_CURR_DESC_PTR 0xffc00da0 /* DMA Channel 6 Current Descriptor Pointer Register */
  264. #define DMA6_CURR_ADDR 0xffc00da4 /* DMA Channel 6 Current Address Register */
  265. #define DMA6_IRQ_STATUS 0xffc00da8 /* DMA Channel 6 Interrupt/Status Register */
  266. #define DMA6_PERIPHERAL_MAP 0xffc00dac /* DMA Channel 6 Peripheral Map Register */
  267. #define DMA6_CURR_X_COUNT 0xffc00db0 /* DMA Channel 6 Current X Count Register */
  268. #define DMA6_CURR_Y_COUNT 0xffc00db8 /* DMA Channel 6 Current Y Count Register */
  269. /* DMA Channel 7 Registers */
  270. #define DMA7_NEXT_DESC_PTR 0xffc00dc0 /* DMA Channel 7 Next Descriptor Pointer Register */
  271. #define DMA7_START_ADDR 0xffc00dc4 /* DMA Channel 7 Start Address Register */
  272. #define DMA7_CONFIG 0xffc00dc8 /* DMA Channel 7 Configuration Register */
  273. #define DMA7_X_COUNT 0xffc00dd0 /* DMA Channel 7 X Count Register */
  274. #define DMA7_X_MODIFY 0xffc00dd4 /* DMA Channel 7 X Modify Register */
  275. #define DMA7_Y_COUNT 0xffc00dd8 /* DMA Channel 7 Y Count Register */
  276. #define DMA7_Y_MODIFY 0xffc00ddc /* DMA Channel 7 Y Modify Register */
  277. #define DMA7_CURR_DESC_PTR 0xffc00de0 /* DMA Channel 7 Current Descriptor Pointer Register */
  278. #define DMA7_CURR_ADDR 0xffc00de4 /* DMA Channel 7 Current Address Register */
  279. #define DMA7_IRQ_STATUS 0xffc00de8 /* DMA Channel 7 Interrupt/Status Register */
  280. #define DMA7_PERIPHERAL_MAP 0xffc00dec /* DMA Channel 7 Peripheral Map Register */
  281. #define DMA7_CURR_X_COUNT 0xffc00df0 /* DMA Channel 7 Current X Count Register */
  282. #define DMA7_CURR_Y_COUNT 0xffc00df8 /* DMA Channel 7 Current Y Count Register */
  283. /* DMA Channel 8 Registers */
  284. #define DMA8_NEXT_DESC_PTR 0xffc00e00 /* DMA Channel 8 Next Descriptor Pointer Register */
  285. #define DMA8_START_ADDR 0xffc00e04 /* DMA Channel 8 Start Address Register */
  286. #define DMA8_CONFIG 0xffc00e08 /* DMA Channel 8 Configuration Register */
  287. #define DMA8_X_COUNT 0xffc00e10 /* DMA Channel 8 X Count Register */
  288. #define DMA8_X_MODIFY 0xffc00e14 /* DMA Channel 8 X Modify Register */
  289. #define DMA8_Y_COUNT 0xffc00e18 /* DMA Channel 8 Y Count Register */
  290. #define DMA8_Y_MODIFY 0xffc00e1c /* DMA Channel 8 Y Modify Register */
  291. #define DMA8_CURR_DESC_PTR 0xffc00e20 /* DMA Channel 8 Current Descriptor Pointer Register */
  292. #define DMA8_CURR_ADDR 0xffc00e24 /* DMA Channel 8 Current Address Register */
  293. #define DMA8_IRQ_STATUS 0xffc00e28 /* DMA Channel 8 Interrupt/Status Register */
  294. #define DMA8_PERIPHERAL_MAP 0xffc00e2c /* DMA Channel 8 Peripheral Map Register */
  295. #define DMA8_CURR_X_COUNT 0xffc00e30 /* DMA Channel 8 Current X Count Register */
  296. #define DMA8_CURR_Y_COUNT 0xffc00e38 /* DMA Channel 8 Current Y Count Register */
  297. /* DMA Channel 9 Registers */
  298. #define DMA9_NEXT_DESC_PTR 0xffc00e40 /* DMA Channel 9 Next Descriptor Pointer Register */
  299. #define DMA9_START_ADDR 0xffc00e44 /* DMA Channel 9 Start Address Register */
  300. #define DMA9_CONFIG 0xffc00e48 /* DMA Channel 9 Configuration Register */
  301. #define DMA9_X_COUNT 0xffc00e50 /* DMA Channel 9 X Count Register */
  302. #define DMA9_X_MODIFY 0xffc00e54 /* DMA Channel 9 X Modify Register */
  303. #define DMA9_Y_COUNT 0xffc00e58 /* DMA Channel 9 Y Count Register */
  304. #define DMA9_Y_MODIFY 0xffc00e5c /* DMA Channel 9 Y Modify Register */
  305. #define DMA9_CURR_DESC_PTR 0xffc00e60 /* DMA Channel 9 Current Descriptor Pointer Register */
  306. #define DMA9_CURR_ADDR 0xffc00e64 /* DMA Channel 9 Current Address Register */
  307. #define DMA9_IRQ_STATUS 0xffc00e68 /* DMA Channel 9 Interrupt/Status Register */
  308. #define DMA9_PERIPHERAL_MAP 0xffc00e6c /* DMA Channel 9 Peripheral Map Register */
  309. #define DMA9_CURR_X_COUNT 0xffc00e70 /* DMA Channel 9 Current X Count Register */
  310. #define DMA9_CURR_Y_COUNT 0xffc00e78 /* DMA Channel 9 Current Y Count Register */
  311. /* DMA Channel 10 Registers */
  312. #define DMA10_NEXT_DESC_PTR 0xffc00e80 /* DMA Channel 10 Next Descriptor Pointer Register */
  313. #define DMA10_START_ADDR 0xffc00e84 /* DMA Channel 10 Start Address Register */
  314. #define DMA10_CONFIG 0xffc00e88 /* DMA Channel 10 Configuration Register */
  315. #define DMA10_X_COUNT 0xffc00e90 /* DMA Channel 10 X Count Register */
  316. #define DMA10_X_MODIFY 0xffc00e94 /* DMA Channel 10 X Modify Register */
  317. #define DMA10_Y_COUNT 0xffc00e98 /* DMA Channel 10 Y Count Register */
  318. #define DMA10_Y_MODIFY 0xffc00e9c /* DMA Channel 10 Y Modify Register */
  319. #define DMA10_CURR_DESC_PTR 0xffc00ea0 /* DMA Channel 10 Current Descriptor Pointer Register */
  320. #define DMA10_CURR_ADDR 0xffc00ea4 /* DMA Channel 10 Current Address Register */
  321. #define DMA10_IRQ_STATUS 0xffc00ea8 /* DMA Channel 10 Interrupt/Status Register */
  322. #define DMA10_PERIPHERAL_MAP 0xffc00eac /* DMA Channel 10 Peripheral Map Register */
  323. #define DMA10_CURR_X_COUNT 0xffc00eb0 /* DMA Channel 10 Current X Count Register */
  324. #define DMA10_CURR_Y_COUNT 0xffc00eb8 /* DMA Channel 10 Current Y Count Register */
  325. /* DMA Channel 11 Registers */
  326. #define DMA11_NEXT_DESC_PTR 0xffc00ec0 /* DMA Channel 11 Next Descriptor Pointer Register */
  327. #define DMA11_START_ADDR 0xffc00ec4 /* DMA Channel 11 Start Address Register */
  328. #define DMA11_CONFIG 0xffc00ec8 /* DMA Channel 11 Configuration Register */
  329. #define DMA11_X_COUNT 0xffc00ed0 /* DMA Channel 11 X Count Register */
  330. #define DMA11_X_MODIFY 0xffc00ed4 /* DMA Channel 11 X Modify Register */
  331. #define DMA11_Y_COUNT 0xffc00ed8 /* DMA Channel 11 Y Count Register */
  332. #define DMA11_Y_MODIFY 0xffc00edc /* DMA Channel 11 Y Modify Register */
  333. #define DMA11_CURR_DESC_PTR 0xffc00ee0 /* DMA Channel 11 Current Descriptor Pointer Register */
  334. #define DMA11_CURR_ADDR 0xffc00ee4 /* DMA Channel 11 Current Address Register */
  335. #define DMA11_IRQ_STATUS 0xffc00ee8 /* DMA Channel 11 Interrupt/Status Register */
  336. #define DMA11_PERIPHERAL_MAP 0xffc00eec /* DMA Channel 11 Peripheral Map Register */
  337. #define DMA11_CURR_X_COUNT 0xffc00ef0 /* DMA Channel 11 Current X Count Register */
  338. #define DMA11_CURR_Y_COUNT 0xffc00ef8 /* DMA Channel 11 Current Y Count Register */
  339. /* MDMA Stream 0 Registers */
  340. #define MDMA_D0_NEXT_DESC_PTR 0xffc00f00 /* Memory DMA Stream 0 Destination Next Descriptor Pointer Register */
  341. #define MDMA_D0_START_ADDR 0xffc00f04 /* Memory DMA Stream 0 Destination Start Address Register */
  342. #define MDMA_D0_CONFIG 0xffc00f08 /* Memory DMA Stream 0 Destination Configuration Register */
  343. #define MDMA_D0_X_COUNT 0xffc00f10 /* Memory DMA Stream 0 Destination X Count Register */
  344. #define MDMA_D0_X_MODIFY 0xffc00f14 /* Memory DMA Stream 0 Destination X Modify Register */
  345. #define MDMA_D0_Y_COUNT 0xffc00f18 /* Memory DMA Stream 0 Destination Y Count Register */
  346. #define MDMA_D0_Y_MODIFY 0xffc00f1c /* Memory DMA Stream 0 Destination Y Modify Register */
  347. #define MDMA_D0_CURR_DESC_PTR 0xffc00f20 /* Memory DMA Stream 0 Destination Current Descriptor Pointer Register */
  348. #define MDMA_D0_CURR_ADDR 0xffc00f24 /* Memory DMA Stream 0 Destination Current Address Register */
  349. #define MDMA_D0_IRQ_STATUS 0xffc00f28 /* Memory DMA Stream 0 Destination Interrupt/Status Register */
  350. #define MDMA_D0_PERIPHERAL_MAP 0xffc00f2c /* Memory DMA Stream 0 Destination Peripheral Map Register */
  351. #define MDMA_D0_CURR_X_COUNT 0xffc00f30 /* Memory DMA Stream 0 Destination Current X Count Register */
  352. #define MDMA_D0_CURR_Y_COUNT 0xffc00f38 /* Memory DMA Stream 0 Destination Current Y Count Register */
  353. #define MDMA_S0_NEXT_DESC_PTR 0xffc00f40 /* Memory DMA Stream 0 Source Next Descriptor Pointer Register */
  354. #define MDMA_S0_START_ADDR 0xffc00f44 /* Memory DMA Stream 0 Source Start Address Register */
  355. #define MDMA_S0_CONFIG 0xffc00f48 /* Memory DMA Stream 0 Source Configuration Register */
  356. #define MDMA_S0_X_COUNT 0xffc00f50 /* Memory DMA Stream 0 Source X Count Register */
  357. #define MDMA_S0_X_MODIFY 0xffc00f54 /* Memory DMA Stream 0 Source X Modify Register */
  358. #define MDMA_S0_Y_COUNT 0xffc00f58 /* Memory DMA Stream 0 Source Y Count Register */
  359. #define MDMA_S0_Y_MODIFY 0xffc00f5c /* Memory DMA Stream 0 Source Y Modify Register */
  360. #define MDMA_S0_CURR_DESC_PTR 0xffc00f60 /* Memory DMA Stream 0 Source Current Descriptor Pointer Register */
  361. #define MDMA_S0_CURR_ADDR 0xffc00f64 /* Memory DMA Stream 0 Source Current Address Register */
  362. #define MDMA_S0_IRQ_STATUS 0xffc00f68 /* Memory DMA Stream 0 Source Interrupt/Status Register */
  363. #define MDMA_S0_PERIPHERAL_MAP 0xffc00f6c /* Memory DMA Stream 0 Source Peripheral Map Register */
  364. #define MDMA_S0_CURR_X_COUNT 0xffc00f70 /* Memory DMA Stream 0 Source Current X Count Register */
  365. #define MDMA_S0_CURR_Y_COUNT 0xffc00f78 /* Memory DMA Stream 0 Source Current Y Count Register */
  366. /* MDMA Stream 1 Registers */
  367. #define MDMA_D1_NEXT_DESC_PTR 0xffc00f80 /* Memory DMA Stream 1 Destination Next Descriptor Pointer Register */
  368. #define MDMA_D1_START_ADDR 0xffc00f84 /* Memory DMA Stream 1 Destination Start Address Register */
  369. #define MDMA_D1_CONFIG 0xffc00f88 /* Memory DMA Stream 1 Destination Configuration Register */
  370. #define MDMA_D1_X_COUNT 0xffc00f90 /* Memory DMA Stream 1 Destination X Count Register */
  371. #define MDMA_D1_X_MODIFY 0xffc00f94 /* Memory DMA Stream 1 Destination X Modify Register */
  372. #define MDMA_D1_Y_COUNT 0xffc00f98 /* Memory DMA Stream 1 Destination Y Count Register */
  373. #define MDMA_D1_Y_MODIFY 0xffc00f9c /* Memory DMA Stream 1 Destination Y Modify Register */
  374. #define MDMA_D1_CURR_DESC_PTR 0xffc00fa0 /* Memory DMA Stream 1 Destination Current Descriptor Pointer Register */
  375. #define MDMA_D1_CURR_ADDR 0xffc00fa4 /* Memory DMA Stream 1 Destination Current Address Register */
  376. #define MDMA_D1_IRQ_STATUS 0xffc00fa8 /* Memory DMA Stream 1 Destination Interrupt/Status Register */
  377. #define MDMA_D1_PERIPHERAL_MAP 0xffc00fac /* Memory DMA Stream 1 Destination Peripheral Map Register */
  378. #define MDMA_D1_CURR_X_COUNT 0xffc00fb0 /* Memory DMA Stream 1 Destination Current X Count Register */
  379. #define MDMA_D1_CURR_Y_COUNT 0xffc00fb8 /* Memory DMA Stream 1 Destination Current Y Count Register */
  380. #define MDMA_S1_NEXT_DESC_PTR 0xffc00fc0 /* Memory DMA Stream 1 Source Next Descriptor Pointer Register */
  381. #define MDMA_S1_START_ADDR 0xffc00fc4 /* Memory DMA Stream 1 Source Start Address Register */
  382. #define MDMA_S1_CONFIG 0xffc00fc8 /* Memory DMA Stream 1 Source Configuration Register */
  383. #define MDMA_S1_X_COUNT 0xffc00fd0 /* Memory DMA Stream 1 Source X Count Register */
  384. #define MDMA_S1_X_MODIFY 0xffc00fd4 /* Memory DMA Stream 1 Source X Modify Register */
  385. #define MDMA_S1_Y_COUNT 0xffc00fd8 /* Memory DMA Stream 1 Source Y Count Register */
  386. #define MDMA_S1_Y_MODIFY 0xffc00fdc /* Memory DMA Stream 1 Source Y Modify Register */
  387. #define MDMA_S1_CURR_DESC_PTR 0xffc00fe0 /* Memory DMA Stream 1 Source Current Descriptor Pointer Register */
  388. #define MDMA_S1_CURR_ADDR 0xffc00fe4 /* Memory DMA Stream 1 Source Current Address Register */
  389. #define MDMA_S1_IRQ_STATUS 0xffc00fe8 /* Memory DMA Stream 1 Source Interrupt/Status Register */
  390. #define MDMA_S1_PERIPHERAL_MAP 0xffc00fec /* Memory DMA Stream 1 Source Peripheral Map Register */
  391. #define MDMA_S1_CURR_X_COUNT 0xffc00ff0 /* Memory DMA Stream 1 Source Current X Count Register */
  392. #define MDMA_S1_CURR_Y_COUNT 0xffc00ff8 /* Memory DMA Stream 1 Source Current Y Count Register */
  393. /* UART3 Registers */
  394. #define UART3_DLL 0xffc03100 /* Divisor Latch Low Byte */
  395. #define UART3_DLH 0xffc03104 /* Divisor Latch High Byte */
  396. #define UART3_GCTL 0xffc03108 /* Global Control Register */
  397. #define UART3_LCR 0xffc0310c /* Line Control Register */
  398. #define UART3_MCR 0xffc03110 /* Modem Control Register */
  399. #define UART3_LSR 0xffc03114 /* Line Status Register */
  400. #define UART3_MSR 0xffc03118 /* Modem Status Register */
  401. #define UART3_SCR 0xffc0311c /* Scratch Register */
  402. #define UART3_IER_SET 0xffc03120 /* Interrupt Enable Register Set */
  403. #define UART3_IER_CLEAR 0xffc03124 /* Interrupt Enable Register Clear */
  404. #define UART3_THR 0xffc03128 /* Transmit Hold Register */
  405. #define UART3_RBR 0xffc0312c /* Receive Buffer Register */
  406. /* EPPI1 Registers */
  407. #define EPPI1_STATUS 0xffc01300 /* EPPI1 Status Register */
  408. #define EPPI1_HCOUNT 0xffc01304 /* EPPI1 Horizontal Transfer Count Register */
  409. #define EPPI1_HDELAY 0xffc01308 /* EPPI1 Horizontal Delay Count Register */
  410. #define EPPI1_VCOUNT 0xffc0130c /* EPPI1 Vertical Transfer Count Register */
  411. #define EPPI1_VDELAY 0xffc01310 /* EPPI1 Vertical Delay Count Register */
  412. #define EPPI1_FRAME 0xffc01314 /* EPPI1 Lines per Frame Register */
  413. #define EPPI1_LINE 0xffc01318 /* EPPI1 Samples per Line Register */
  414. #define EPPI1_CLKDIV 0xffc0131c /* EPPI1 Clock Divide Register */
  415. #define EPPI1_CONTROL 0xffc01320 /* EPPI1 Control Register */
  416. #define EPPI1_FS1W_HBL 0xffc01324 /* EPPI1 FS1 Width Register / EPPI1 Horizontal Blanking Samples Per Line Register */
  417. #define EPPI1_FS1P_AVPL 0xffc01328 /* EPPI1 FS1 Period Register / EPPI1 Active Video Samples Per Line Register */
  418. #define EPPI1_FS2W_LVB 0xffc0132c /* EPPI1 FS2 Width Register / EPPI1 Lines of Vertical Blanking Register */
  419. #define EPPI1_FS2P_LAVF 0xffc01330 /* EPPI1 FS2 Period Register/ EPPI1 Lines of Active Video Per Field Register */
  420. #define EPPI1_CLIP 0xffc01334 /* EPPI1 Clipping Register */
  421. /* Port Interrupt 0 Registers (32-bit) */
  422. #define PINT0_MASK_SET 0xffc01400 /* Pin Interrupt 0 Mask Set Register */
  423. #define PINT0_MASK_CLEAR 0xffc01404 /* Pin Interrupt 0 Mask Clear Register */
  424. #define PINT0_REQUEST 0xffc01408 /* Pin Interrupt 0 Interrupt Request Register */
  425. #define PINT0_ASSIGN 0xffc0140c /* Pin Interrupt 0 Port Assign Register */
  426. #define PINT0_EDGE_SET 0xffc01410 /* Pin Interrupt 0 Edge-sensitivity Set Register */
  427. #define PINT0_EDGE_CLEAR 0xffc01414 /* Pin Interrupt 0 Edge-sensitivity Clear Register */
  428. #define PINT0_INVERT_SET 0xffc01418 /* Pin Interrupt 0 Inversion Set Register */
  429. #define PINT0_INVERT_CLEAR 0xffc0141c /* Pin Interrupt 0 Inversion Clear Register */
  430. #define PINT0_PINSTATE 0xffc01420 /* Pin Interrupt 0 Pin Status Register */
  431. #define PINT0_LATCH 0xffc01424 /* Pin Interrupt 0 Latch Register */
  432. /* Port Interrupt 1 Registers (32-bit) */
  433. #define PINT1_MASK_SET 0xffc01430 /* Pin Interrupt 1 Mask Set Register */
  434. #define PINT1_MASK_CLEAR 0xffc01434 /* Pin Interrupt 1 Mask Clear Register */
  435. #define PINT1_REQUEST 0xffc01438 /* Pin Interrupt 1 Interrupt Request Register */
  436. #define PINT1_ASSIGN 0xffc0143c /* Pin Interrupt 1 Port Assign Register */
  437. #define PINT1_EDGE_SET 0xffc01440 /* Pin Interrupt 1 Edge-sensitivity Set Register */
  438. #define PINT1_EDGE_CLEAR 0xffc01444 /* Pin Interrupt 1 Edge-sensitivity Clear Register */
  439. #define PINT1_INVERT_SET 0xffc01448 /* Pin Interrupt 1 Inversion Set Register */
  440. #define PINT1_INVERT_CLEAR 0xffc0144c /* Pin Interrupt 1 Inversion Clear Register */
  441. #define PINT1_PINSTATE 0xffc01450 /* Pin Interrupt 1 Pin Status Register */
  442. #define PINT1_LATCH 0xffc01454 /* Pin Interrupt 1 Latch Register */
  443. /* Port Interrupt 2 Registers (32-bit) */
  444. #define PINT2_MASK_SET 0xffc01460 /* Pin Interrupt 2 Mask Set Register */
  445. #define PINT2_MASK_CLEAR 0xffc01464 /* Pin Interrupt 2 Mask Clear Register */
  446. #define PINT2_REQUEST 0xffc01468 /* Pin Interrupt 2 Interrupt Request Register */
  447. #define PINT2_ASSIGN 0xffc0146c /* Pin Interrupt 2 Port Assign Register */
  448. #define PINT2_EDGE_SET 0xffc01470 /* Pin Interrupt 2 Edge-sensitivity Set Register */
  449. #define PINT2_EDGE_CLEAR 0xffc01474 /* Pin Interrupt 2 Edge-sensitivity Clear Register */
  450. #define PINT2_INVERT_SET 0xffc01478 /* Pin Interrupt 2 Inversion Set Register */
  451. #define PINT2_INVERT_CLEAR 0xffc0147c /* Pin Interrupt 2 Inversion Clear Register */
  452. #define PINT2_PINSTATE 0xffc01480 /* Pin Interrupt 2 Pin Status Register */
  453. #define PINT2_LATCH 0xffc01484 /* Pin Interrupt 2 Latch Register */
  454. /* Port Interrupt 3 Registers (32-bit) */
  455. #define PINT3_MASK_SET 0xffc01490 /* Pin Interrupt 3 Mask Set Register */
  456. #define PINT3_MASK_CLEAR 0xffc01494 /* Pin Interrupt 3 Mask Clear Register */
  457. #define PINT3_REQUEST 0xffc01498 /* Pin Interrupt 3 Interrupt Request Register */
  458. #define PINT3_ASSIGN 0xffc0149c /* Pin Interrupt 3 Port Assign Register */
  459. #define PINT3_EDGE_SET 0xffc014a0 /* Pin Interrupt 3 Edge-sensitivity Set Register */
  460. #define PINT3_EDGE_CLEAR 0xffc014a4 /* Pin Interrupt 3 Edge-sensitivity Clear Register */
  461. #define PINT3_INVERT_SET 0xffc014a8 /* Pin Interrupt 3 Inversion Set Register */
  462. #define PINT3_INVERT_CLEAR 0xffc014ac /* Pin Interrupt 3 Inversion Clear Register */
  463. #define PINT3_PINSTATE 0xffc014b0 /* Pin Interrupt 3 Pin Status Register */
  464. #define PINT3_LATCH 0xffc014b4 /* Pin Interrupt 3 Latch Register */
  465. /* Port A Registers */
  466. #define PORTA_FER 0xffc014c0 /* Function Enable Register */
  467. #define PORTA 0xffc014c4 /* GPIO Data Register */
  468. #define PORTA_SET 0xffc014c8 /* GPIO Data Set Register */
  469. #define PORTA_CLEAR 0xffc014cc /* GPIO Data Clear Register */
  470. #define PORTA_DIR_SET 0xffc014d0 /* GPIO Direction Set Register */
  471. #define PORTA_DIR_CLEAR 0xffc014d4 /* GPIO Direction Clear Register */
  472. #define PORTA_INEN 0xffc014d8 /* GPIO Input Enable Register */
  473. #define PORTA_MUX 0xffc014dc /* Multiplexer Control Register */
  474. /* Port B Registers */
  475. #define PORTB_FER 0xffc014e0 /* Function Enable Register */
  476. #define PORTB 0xffc014e4 /* GPIO Data Register */
  477. #define PORTB_SET 0xffc014e8 /* GPIO Data Set Register */
  478. #define PORTB_CLEAR 0xffc014ec /* GPIO Data Clear Register */
  479. #define PORTB_DIR_SET 0xffc014f0 /* GPIO Direction Set Register */
  480. #define PORTB_DIR_CLEAR 0xffc014f4 /* GPIO Direction Clear Register */
  481. #define PORTB_INEN 0xffc014f8 /* GPIO Input Enable Register */
  482. #define PORTB_MUX 0xffc014fc /* Multiplexer Control Register */
  483. /* Port C Registers */
  484. #define PORTC_FER 0xffc01500 /* Function Enable Register */
  485. #define PORTC 0xffc01504 /* GPIO Data Register */
  486. #define PORTC_SET 0xffc01508 /* GPIO Data Set Register */
  487. #define PORTC_CLEAR 0xffc0150c /* GPIO Data Clear Register */
  488. #define PORTC_DIR_SET 0xffc01510 /* GPIO Direction Set Register */
  489. #define PORTC_DIR_CLEAR 0xffc01514 /* GPIO Direction Clear Register */
  490. #define PORTC_INEN 0xffc01518 /* GPIO Input Enable Register */
  491. #define PORTC_MUX 0xffc0151c /* Multiplexer Control Register */
  492. /* Port D Registers */
  493. #define PORTD_FER 0xffc01520 /* Function Enable Register */
  494. #define PORTD 0xffc01524 /* GPIO Data Register */
  495. #define PORTD_SET 0xffc01528 /* GPIO Data Set Register */
  496. #define PORTD_CLEAR 0xffc0152c /* GPIO Data Clear Register */
  497. #define PORTD_DIR_SET 0xffc01530 /* GPIO Direction Set Register */
  498. #define PORTD_DIR_CLEAR 0xffc01534 /* GPIO Direction Clear Register */
  499. #define PORTD_INEN 0xffc01538 /* GPIO Input Enable Register */
  500. #define PORTD_MUX 0xffc0153c /* Multiplexer Control Register */
  501. /* Port E Registers */
  502. #define PORTE_FER 0xffc01540 /* Function Enable Register */
  503. #define PORTE 0xffc01544 /* GPIO Data Register */
  504. #define PORTE_SET 0xffc01548 /* GPIO Data Set Register */
  505. #define PORTE_CLEAR 0xffc0154c /* GPIO Data Clear Register */
  506. #define PORTE_DIR_SET 0xffc01550 /* GPIO Direction Set Register */
  507. #define PORTE_DIR_CLEAR 0xffc01554 /* GPIO Direction Clear Register */
  508. #define PORTE_INEN 0xffc01558 /* GPIO Input Enable Register */
  509. #define PORTE_MUX 0xffc0155c /* Multiplexer Control Register */
  510. /* Port F Registers */
  511. #define PORTF_FER 0xffc01560 /* Function Enable Register */
  512. #define PORTF 0xffc01564 /* GPIO Data Register */
  513. #define PORTF_SET 0xffc01568 /* GPIO Data Set Register */
  514. #define PORTF_CLEAR 0xffc0156c /* GPIO Data Clear Register */
  515. #define PORTF_DIR_SET 0xffc01570 /* GPIO Direction Set Register */
  516. #define PORTF_DIR_CLEAR 0xffc01574 /* GPIO Direction Clear Register */
  517. #define PORTF_INEN 0xffc01578 /* GPIO Input Enable Register */
  518. #define PORTF_MUX 0xffc0157c /* Multiplexer Control Register */
  519. /* Port G Registers */
  520. #define PORTG_FER 0xffc01580 /* Function Enable Register */
  521. #define PORTG 0xffc01584 /* GPIO Data Register */
  522. #define PORTG_SET 0xffc01588 /* GPIO Data Set Register */
  523. #define PORTG_CLEAR 0xffc0158c /* GPIO Data Clear Register */
  524. #define PORTG_DIR_SET 0xffc01590 /* GPIO Direction Set Register */
  525. #define PORTG_DIR_CLEAR 0xffc01594 /* GPIO Direction Clear Register */
  526. #define PORTG_INEN 0xffc01598 /* GPIO Input Enable Register */
  527. #define PORTG_MUX 0xffc0159c /* Multiplexer Control Register */
  528. /* Port H Registers */
  529. #define PORTH_FER 0xffc015a0 /* Function Enable Register */
  530. #define PORTH 0xffc015a4 /* GPIO Data Register */
  531. #define PORTH_SET 0xffc015a8 /* GPIO Data Set Register */
  532. #define PORTH_CLEAR 0xffc015ac /* GPIO Data Clear Register */
  533. #define PORTH_DIR_SET 0xffc015b0 /* GPIO Direction Set Register */
  534. #define PORTH_DIR_CLEAR 0xffc015b4 /* GPIO Direction Clear Register */
  535. #define PORTH_INEN 0xffc015b8 /* GPIO Input Enable Register */
  536. #define PORTH_MUX 0xffc015bc /* Multiplexer Control Register */
  537. /* Port I Registers */
  538. #define PORTI_FER 0xffc015c0 /* Function Enable Register */
  539. #define PORTI 0xffc015c4 /* GPIO Data Register */
  540. #define PORTI_SET 0xffc015c8 /* GPIO Data Set Register */
  541. #define PORTI_CLEAR 0xffc015cc /* GPIO Data Clear Register */
  542. #define PORTI_DIR_SET 0xffc015d0 /* GPIO Direction Set Register */
  543. #define PORTI_DIR_CLEAR 0xffc015d4 /* GPIO Direction Clear Register */
  544. #define PORTI_INEN 0xffc015d8 /* GPIO Input Enable Register */
  545. #define PORTI_MUX 0xffc015dc /* Multiplexer Control Register */
  546. /* Port J Registers */
  547. #define PORTJ_FER 0xffc015e0 /* Function Enable Register */
  548. #define PORTJ 0xffc015e4 /* GPIO Data Register */
  549. #define PORTJ_SET 0xffc015e8 /* GPIO Data Set Register */
  550. #define PORTJ_CLEAR 0xffc015ec /* GPIO Data Clear Register */
  551. #define PORTJ_DIR_SET 0xffc015f0 /* GPIO Direction Set Register */
  552. #define PORTJ_DIR_CLEAR 0xffc015f4 /* GPIO Direction Clear Register */
  553. #define PORTJ_INEN 0xffc015f8 /* GPIO Input Enable Register */
  554. #define PORTJ_MUX 0xffc015fc /* Multiplexer Control Register */
  555. /* PWM Timer Registers */
  556. #define TIMER0_CONFIG 0xffc01600 /* Timer 0 Configuration Register */
  557. #define TIMER0_COUNTER 0xffc01604 /* Timer 0 Counter Register */
  558. #define TIMER0_PERIOD 0xffc01608 /* Timer 0 Period Register */
  559. #define TIMER0_WIDTH 0xffc0160c /* Timer 0 Width Register */
  560. #define TIMER1_CONFIG 0xffc01610 /* Timer 1 Configuration Register */
  561. #define TIMER1_COUNTER 0xffc01614 /* Timer 1 Counter Register */
  562. #define TIMER1_PERIOD 0xffc01618 /* Timer 1 Period Register */
  563. #define TIMER1_WIDTH 0xffc0161c /* Timer 1 Width Register */
  564. #define TIMER2_CONFIG 0xffc01620 /* Timer 2 Configuration Register */
  565. #define TIMER2_COUNTER 0xffc01624 /* Timer 2 Counter Register */
  566. #define TIMER2_PERIOD 0xffc01628 /* Timer 2 Period Register */
  567. #define TIMER2_WIDTH 0xffc0162c /* Timer 2 Width Register */
  568. #define TIMER3_CONFIG 0xffc01630 /* Timer 3 Configuration Register */
  569. #define TIMER3_COUNTER 0xffc01634 /* Timer 3 Counter Register */
  570. #define TIMER3_PERIOD 0xffc01638 /* Timer 3 Period Register */
  571. #define TIMER3_WIDTH 0xffc0163c /* Timer 3 Width Register */
  572. #define TIMER4_CONFIG 0xffc01640 /* Timer 4 Configuration Register */
  573. #define TIMER4_COUNTER 0xffc01644 /* Timer 4 Counter Register */
  574. #define TIMER4_PERIOD 0xffc01648 /* Timer 4 Period Register */
  575. #define TIMER4_WIDTH 0xffc0164c /* Timer 4 Width Register */
  576. #define TIMER5_CONFIG 0xffc01650 /* Timer 5 Configuration Register */
  577. #define TIMER5_COUNTER 0xffc01654 /* Timer 5 Counter Register */
  578. #define TIMER5_PERIOD 0xffc01658 /* Timer 5 Period Register */
  579. #define TIMER5_WIDTH 0xffc0165c /* Timer 5 Width Register */
  580. #define TIMER6_CONFIG 0xffc01660 /* Timer 6 Configuration Register */
  581. #define TIMER6_COUNTER 0xffc01664 /* Timer 6 Counter Register */
  582. #define TIMER6_PERIOD 0xffc01668 /* Timer 6 Period Register */
  583. #define TIMER6_WIDTH 0xffc0166c /* Timer 6 Width Register */
  584. #define TIMER7_CONFIG 0xffc01670 /* Timer 7 Configuration Register */
  585. #define TIMER7_COUNTER 0xffc01674 /* Timer 7 Counter Register */
  586. #define TIMER7_PERIOD 0xffc01678 /* Timer 7 Period Register */
  587. #define TIMER7_WIDTH 0xffc0167c /* Timer 7 Width Register */
  588. /* Timer Group of 8 */
  589. #define TIMER_ENABLE0 0xffc01680 /* Timer Group of 8 Enable Register */
  590. #define TIMER_DISABLE0 0xffc01684 /* Timer Group of 8 Disable Register */
  591. #define TIMER_STATUS0 0xffc01688 /* Timer Group of 8 Status Register */
  592. /* DMAC1 Registers */
  593. #define DMAC1_TC_PER 0xffc01b0c /* DMA Controller 1 Traffic Control Periods Register */
  594. #define DMAC1_TC_CNT 0xffc01b10 /* DMA Controller 1 Current Counts Register */
  595. /* DMA Channel 12 Registers */
  596. #define DMA12_NEXT_DESC_PTR 0xffc01c00 /* DMA Channel 12 Next Descriptor Pointer Register */
  597. #define DMA12_START_ADDR 0xffc01c04 /* DMA Channel 12 Start Address Register */
  598. #define DMA12_CONFIG 0xffc01c08 /* DMA Channel 12 Configuration Register */
  599. #define DMA12_X_COUNT 0xffc01c10 /* DMA Channel 12 X Count Register */
  600. #define DMA12_X_MODIFY 0xffc01c14 /* DMA Channel 12 X Modify Register */
  601. #define DMA12_Y_COUNT 0xffc01c18 /* DMA Channel 12 Y Count Register */
  602. #define DMA12_Y_MODIFY 0xffc01c1c /* DMA Channel 12 Y Modify Register */
  603. #define DMA12_CURR_DESC_PTR 0xffc01c20 /* DMA Channel 12 Current Descriptor Pointer Register */
  604. #define DMA12_CURR_ADDR 0xffc01c24 /* DMA Channel 12 Current Address Register */
  605. #define DMA12_IRQ_STATUS 0xffc01c28 /* DMA Channel 12 Interrupt/Status Register */
  606. #define DMA12_PERIPHERAL_MAP 0xffc01c2c /* DMA Channel 12 Peripheral Map Register */
  607. #define DMA12_CURR_X_COUNT 0xffc01c30 /* DMA Channel 12 Current X Count Register */
  608. #define DMA12_CURR_Y_COUNT 0xffc01c38 /* DMA Channel 12 Current Y Count Register */
  609. /* DMA Channel 13 Registers */
  610. #define DMA13_NEXT_DESC_PTR 0xffc01c40 /* DMA Channel 13 Next Descriptor Pointer Register */
  611. #define DMA13_START_ADDR 0xffc01c44 /* DMA Channel 13 Start Address Register */
  612. #define DMA13_CONFIG 0xffc01c48 /* DMA Channel 13 Configuration Register */
  613. #define DMA13_X_COUNT 0xffc01c50 /* DMA Channel 13 X Count Register */
  614. #define DMA13_X_MODIFY 0xffc01c54 /* DMA Channel 13 X Modify Register */
  615. #define DMA13_Y_COUNT 0xffc01c58 /* DMA Channel 13 Y Count Register */
  616. #define DMA13_Y_MODIFY 0xffc01c5c /* DMA Channel 13 Y Modify Register */
  617. #define DMA13_CURR_DESC_PTR 0xffc01c60 /* DMA Channel 13 Current Descriptor Pointer Register */
  618. #define DMA13_CURR_ADDR 0xffc01c64 /* DMA Channel 13 Current Address Register */
  619. #define DMA13_IRQ_STATUS 0xffc01c68 /* DMA Channel 13 Interrupt/Status Register */
  620. #define DMA13_PERIPHERAL_MAP 0xffc01c6c /* DMA Channel 13 Peripheral Map Register */
  621. #define DMA13_CURR_X_COUNT 0xffc01c70 /* DMA Channel 13 Current X Count Register */
  622. #define DMA13_CURR_Y_COUNT 0xffc01c78 /* DMA Channel 13 Current Y Count Register */
  623. /* DMA Channel 14 Registers */
  624. #define DMA14_NEXT_DESC_PTR 0xffc01c80 /* DMA Channel 14 Next Descriptor Pointer Register */
  625. #define DMA14_START_ADDR 0xffc01c84 /* DMA Channel 14 Start Address Register */
  626. #define DMA14_CONFIG 0xffc01c88 /* DMA Channel 14 Configuration Register */
  627. #define DMA14_X_COUNT 0xffc01c90 /* DMA Channel 14 X Count Register */
  628. #define DMA14_X_MODIFY 0xffc01c94 /* DMA Channel 14 X Modify Register */
  629. #define DMA14_Y_COUNT 0xffc01c98 /* DMA Channel 14 Y Count Register */
  630. #define DMA14_Y_MODIFY 0xffc01c9c /* DMA Channel 14 Y Modify Register */
  631. #define DMA14_CURR_DESC_PTR 0xffc01ca0 /* DMA Channel 14 Current Descriptor Pointer Register */
  632. #define DMA14_CURR_ADDR 0xffc01ca4 /* DMA Channel 14 Current Address Register */
  633. #define DMA14_IRQ_STATUS 0xffc01ca8 /* DMA Channel 14 Interrupt/Status Register */
  634. #define DMA14_PERIPHERAL_MAP 0xffc01cac /* DMA Channel 14 Peripheral Map Register */
  635. #define DMA14_CURR_X_COUNT 0xffc01cb0 /* DMA Channel 14 Current X Count Register */
  636. #define DMA14_CURR_Y_COUNT 0xffc01cb8 /* DMA Channel 14 Current Y Count Register */
  637. /* DMA Channel 15 Registers */
  638. #define DMA15_NEXT_DESC_PTR 0xffc01cc0 /* DMA Channel 15 Next Descriptor Pointer Register */
  639. #define DMA15_START_ADDR 0xffc01cc4 /* DMA Channel 15 Start Address Register */
  640. #define DMA15_CONFIG 0xffc01cc8 /* DMA Channel 15 Configuration Register */
  641. #define DMA15_X_COUNT 0xffc01cd0 /* DMA Channel 15 X Count Register */
  642. #define DMA15_X_MODIFY 0xffc01cd4 /* DMA Channel 15 X Modify Register */
  643. #define DMA15_Y_COUNT 0xffc01cd8 /* DMA Channel 15 Y Count Register */
  644. #define DMA15_Y_MODIFY 0xffc01cdc /* DMA Channel 15 Y Modify Register */
  645. #define DMA15_CURR_DESC_PTR 0xffc01ce0 /* DMA Channel 15 Current Descriptor Pointer Register */
  646. #define DMA15_CURR_ADDR 0xffc01ce4 /* DMA Channel 15 Current Address Register */
  647. #define DMA15_IRQ_STATUS 0xffc01ce8 /* DMA Channel 15 Interrupt/Status Register */
  648. #define DMA15_PERIPHERAL_MAP 0xffc01cec /* DMA Channel 15 Peripheral Map Register */
  649. #define DMA15_CURR_X_COUNT 0xffc01cf0 /* DMA Channel 15 Current X Count Register */
  650. #define DMA15_CURR_Y_COUNT 0xffc01cf8 /* DMA Channel 15 Current Y Count Register */
  651. /* DMA Channel 16 Registers */
  652. #define DMA16_NEXT_DESC_PTR 0xffc01d00 /* DMA Channel 16 Next Descriptor Pointer Register */
  653. #define DMA16_START_ADDR 0xffc01d04 /* DMA Channel 16 Start Address Register */
  654. #define DMA16_CONFIG 0xffc01d08 /* DMA Channel 16 Configuration Register */
  655. #define DMA16_X_COUNT 0xffc01d10 /* DMA Channel 16 X Count Register */
  656. #define DMA16_X_MODIFY 0xffc01d14 /* DMA Channel 16 X Modify Register */
  657. #define DMA16_Y_COUNT 0xffc01d18 /* DMA Channel 16 Y Count Register */
  658. #define DMA16_Y_MODIFY 0xffc01d1c /* DMA Channel 16 Y Modify Register */
  659. #define DMA16_CURR_DESC_PTR 0xffc01d20 /* DMA Channel 16 Current Descriptor Pointer Register */
  660. #define DMA16_CURR_ADDR 0xffc01d24 /* DMA Channel 16 Current Address Register */
  661. #define DMA16_IRQ_STATUS 0xffc01d28 /* DMA Channel 16 Interrupt/Status Register */
  662. #define DMA16_PERIPHERAL_MAP 0xffc01d2c /* DMA Channel 16 Peripheral Map Register */
  663. #define DMA16_CURR_X_COUNT 0xffc01d30 /* DMA Channel 16 Current X Count Register */
  664. #define DMA16_CURR_Y_COUNT 0xffc01d38 /* DMA Channel 16 Current Y Count Register */
  665. /* DMA Channel 17 Registers */
  666. #define DMA17_NEXT_DESC_PTR 0xffc01d40 /* DMA Channel 17 Next Descriptor Pointer Register */
  667. #define DMA17_START_ADDR 0xffc01d44 /* DMA Channel 17 Start Address Register */
  668. #define DMA17_CONFIG 0xffc01d48 /* DMA Channel 17 Configuration Register */
  669. #define DMA17_X_COUNT 0xffc01d50 /* DMA Channel 17 X Count Register */
  670. #define DMA17_X_MODIFY 0xffc01d54 /* DMA Channel 17 X Modify Register */
  671. #define DMA17_Y_COUNT 0xffc01d58 /* DMA Channel 17 Y Count Register */
  672. #define DMA17_Y_MODIFY 0xffc01d5c /* DMA Channel 17 Y Modify Register */
  673. #define DMA17_CURR_DESC_PTR 0xffc01d60 /* DMA Channel 17 Current Descriptor Pointer Register */
  674. #define DMA17_CURR_ADDR 0xffc01d64 /* DMA Channel 17 Current Address Register */
  675. #define DMA17_IRQ_STATUS 0xffc01d68 /* DMA Channel 17 Interrupt/Status Register */
  676. #define DMA17_PERIPHERAL_MAP 0xffc01d6c /* DMA Channel 17 Peripheral Map Register */
  677. #define DMA17_CURR_X_COUNT 0xffc01d70 /* DMA Channel 17 Current X Count Register */
  678. #define DMA17_CURR_Y_COUNT 0xffc01d78 /* DMA Channel 17 Current Y Count Register */
  679. /* DMA Channel 18 Registers */
  680. #define DMA18_NEXT_DESC_PTR 0xffc01d80 /* DMA Channel 18 Next Descriptor Pointer Register */
  681. #define DMA18_START_ADDR 0xffc01d84 /* DMA Channel 18 Start Address Register */
  682. #define DMA18_CONFIG 0xffc01d88 /* DMA Channel 18 Configuration Register */
  683. #define DMA18_X_COUNT 0xffc01d90 /* DMA Channel 18 X Count Register */
  684. #define DMA18_X_MODIFY 0xffc01d94 /* DMA Channel 18 X Modify Register */
  685. #define DMA18_Y_COUNT 0xffc01d98 /* DMA Channel 18 Y Count Register */
  686. #define DMA18_Y_MODIFY 0xffc01d9c /* DMA Channel 18 Y Modify Register */
  687. #define DMA18_CURR_DESC_PTR 0xffc01da0 /* DMA Channel 18 Current Descriptor Pointer Register */
  688. #define DMA18_CURR_ADDR 0xffc01da4 /* DMA Channel 18 Current Address Register */
  689. #define DMA18_IRQ_STATUS 0xffc01da8 /* DMA Channel 18 Interrupt/Status Register */
  690. #define DMA18_PERIPHERAL_MAP 0xffc01dac /* DMA Channel 18 Peripheral Map Register */
  691. #define DMA18_CURR_X_COUNT 0xffc01db0 /* DMA Channel 18 Current X Count Register */
  692. #define DMA18_CURR_Y_COUNT 0xffc01db8 /* DMA Channel 18 Current Y Count Register */
  693. /* DMA Channel 19 Registers */
  694. #define DMA19_NEXT_DESC_PTR 0xffc01dc0 /* DMA Channel 19 Next Descriptor Pointer Register */
  695. #define DMA19_START_ADDR 0xffc01dc4 /* DMA Channel 19 Start Address Register */
  696. #define DMA19_CONFIG 0xffc01dc8 /* DMA Channel 19 Configuration Register */
  697. #define DMA19_X_COUNT 0xffc01dd0 /* DMA Channel 19 X Count Register */
  698. #define DMA19_X_MODIFY 0xffc01dd4 /* DMA Channel 19 X Modify Register */
  699. #define DMA19_Y_COUNT 0xffc01dd8 /* DMA Channel 19 Y Count Register */
  700. #define DMA19_Y_MODIFY 0xffc01ddc /* DMA Channel 19 Y Modify Register */
  701. #define DMA19_CURR_DESC_PTR 0xffc01de0 /* DMA Channel 19 Current Descriptor Pointer Register */
  702. #define DMA19_CURR_ADDR 0xffc01de4 /* DMA Channel 19 Current Address Register */
  703. #define DMA19_IRQ_STATUS 0xffc01de8 /* DMA Channel 19 Interrupt/Status Register */
  704. #define DMA19_PERIPHERAL_MAP 0xffc01dec /* DMA Channel 19 Peripheral Map Register */
  705. #define DMA19_CURR_X_COUNT 0xffc01df0 /* DMA Channel 19 Current X Count Register */
  706. #define DMA19_CURR_Y_COUNT 0xffc01df8 /* DMA Channel 19 Current Y Count Register */
  707. /* DMA Channel 20 Registers */
  708. #define DMA20_NEXT_DESC_PTR 0xffc01e00 /* DMA Channel 20 Next Descriptor Pointer Register */
  709. #define DMA20_START_ADDR 0xffc01e04 /* DMA Channel 20 Start Address Register */
  710. #define DMA20_CONFIG 0xffc01e08 /* DMA Channel 20 Configuration Register */
  711. #define DMA20_X_COUNT 0xffc01e10 /* DMA Channel 20 X Count Register */
  712. #define DMA20_X_MODIFY 0xffc01e14 /* DMA Channel 20 X Modify Register */
  713. #define DMA20_Y_COUNT 0xffc01e18 /* DMA Channel 20 Y Count Register */
  714. #define DMA20_Y_MODIFY 0xffc01e1c /* DMA Channel 20 Y Modify Register */
  715. #define DMA20_CURR_DESC_PTR 0xffc01e20 /* DMA Channel 20 Current Descriptor Pointer Register */
  716. #define DMA20_CURR_ADDR 0xffc01e24 /* DMA Channel 20 Current Address Register */
  717. #define DMA20_IRQ_STATUS 0xffc01e28 /* DMA Channel 20 Interrupt/Status Register */
  718. #define DMA20_PERIPHERAL_MAP 0xffc01e2c /* DMA Channel 20 Peripheral Map Register */
  719. #define DMA20_CURR_X_COUNT 0xffc01e30 /* DMA Channel 20 Current X Count Register */
  720. #define DMA20_CURR_Y_COUNT 0xffc01e38 /* DMA Channel 20 Current Y Count Register */
  721. /* DMA Channel 21 Registers */
  722. #define DMA21_NEXT_DESC_PTR 0xffc01e40 /* DMA Channel 21 Next Descriptor Pointer Register */
  723. #define DMA21_START_ADDR 0xffc01e44 /* DMA Channel 21 Start Address Register */
  724. #define DMA21_CONFIG 0xffc01e48 /* DMA Channel 21 Configuration Register */
  725. #define DMA21_X_COUNT 0xffc01e50 /* DMA Channel 21 X Count Register */
  726. #define DMA21_X_MODIFY 0xffc01e54 /* DMA Channel 21 X Modify Register */
  727. #define DMA21_Y_COUNT 0xffc01e58 /* DMA Channel 21 Y Count Register */
  728. #define DMA21_Y_MODIFY 0xffc01e5c /* DMA Channel 21 Y Modify Register */
  729. #define DMA21_CURR_DESC_PTR 0xffc01e60 /* DMA Channel 21 Current Descriptor Pointer Register */
  730. #define DMA21_CURR_ADDR 0xffc01e64 /* DMA Channel 21 Current Address Register */
  731. #define DMA21_IRQ_STATUS 0xffc01e68 /* DMA Channel 21 Interrupt/Status Register */
  732. #define DMA21_PERIPHERAL_MAP 0xffc01e6c /* DMA Channel 21 Peripheral Map Register */
  733. #define DMA21_CURR_X_COUNT 0xffc01e70 /* DMA Channel 21 Current X Count Register */
  734. #define DMA21_CURR_Y_COUNT 0xffc01e78 /* DMA Channel 21 Current Y Count Register */
  735. /* DMA Channel 22 Registers */
  736. #define DMA22_NEXT_DESC_PTR 0xffc01e80 /* DMA Channel 22 Next Descriptor Pointer Register */
  737. #define DMA22_START_ADDR 0xffc01e84 /* DMA Channel 22 Start Address Register */
  738. #define DMA22_CONFIG 0xffc01e88 /* DMA Channel 22 Configuration Register */
  739. #define DMA22_X_COUNT 0xffc01e90 /* DMA Channel 22 X Count Register */
  740. #define DMA22_X_MODIFY 0xffc01e94 /* DMA Channel 22 X Modify Register */
  741. #define DMA22_Y_COUNT 0xffc01e98 /* DMA Channel 22 Y Count Register */
  742. #define DMA22_Y_MODIFY 0xffc01e9c /* DMA Channel 22 Y Modify Register */
  743. #define DMA22_CURR_DESC_PTR 0xffc01ea0 /* DMA Channel 22 Current Descriptor Pointer Register */
  744. #define DMA22_CURR_ADDR 0xffc01ea4 /* DMA Channel 22 Current Address Register */
  745. #define DMA22_IRQ_STATUS 0xffc01ea8 /* DMA Channel 22 Interrupt/Status Register */
  746. #define DMA22_PERIPHERAL_MAP 0xffc01eac /* DMA Channel 22 Peripheral Map Register */
  747. #define DMA22_CURR_X_COUNT 0xffc01eb0 /* DMA Channel 22 Current X Count Register */
  748. #define DMA22_CURR_Y_COUNT 0xffc01eb8 /* DMA Channel 22 Current Y Count Register */
  749. /* DMA Channel 23 Registers */
  750. #define DMA23_NEXT_DESC_PTR 0xffc01ec0 /* DMA Channel 23 Next Descriptor Pointer Register */
  751. #define DMA23_START_ADDR 0xffc01ec4 /* DMA Channel 23 Start Address Register */
  752. #define DMA23_CONFIG 0xffc01ec8 /* DMA Channel 23 Configuration Register */
  753. #define DMA23_X_COUNT 0xffc01ed0 /* DMA Channel 23 X Count Register */
  754. #define DMA23_X_MODIFY 0xffc01ed4 /* DMA Channel 23 X Modify Register */
  755. #define DMA23_Y_COUNT 0xffc01ed8 /* DMA Channel 23 Y Count Register */
  756. #define DMA23_Y_MODIFY 0xffc01edc /* DMA Channel 23 Y Modify Register */
  757. #define DMA23_CURR_DESC_PTR 0xffc01ee0 /* DMA Channel 23 Current Descriptor Pointer Register */
  758. #define DMA23_CURR_ADDR 0xffc01ee4 /* DMA Channel 23 Current Address Register */
  759. #define DMA23_IRQ_STATUS 0xffc01ee8 /* DMA Channel 23 Interrupt/Status Register */
  760. #define DMA23_PERIPHERAL_MAP 0xffc01eec /* DMA Channel 23 Peripheral Map Register */
  761. #define DMA23_CURR_X_COUNT 0xffc01ef0 /* DMA Channel 23 Current X Count Register */
  762. #define DMA23_CURR_Y_COUNT 0xffc01ef8 /* DMA Channel 23 Current Y Count Register */
  763. /* MDMA Stream 2 Registers */
  764. #define MDMA_D2_NEXT_DESC_PTR 0xffc01f00 /* Memory DMA Stream 2 Destination Next Descriptor Pointer Register */
  765. #define MDMA_D2_START_ADDR 0xffc01f04 /* Memory DMA Stream 2 Destination Start Address Register */
  766. #define MDMA_D2_CONFIG 0xffc01f08 /* Memory DMA Stream 2 Destination Configuration Register */
  767. #define MDMA_D2_X_COUNT 0xffc01f10 /* Memory DMA Stream 2 Destination X Count Register */
  768. #define MDMA_D2_X_MODIFY 0xffc01f14 /* Memory DMA Stream 2 Destination X Modify Register */
  769. #define MDMA_D2_Y_COUNT 0xffc01f18 /* Memory DMA Stream 2 Destination Y Count Register */
  770. #define MDMA_D2_Y_MODIFY 0xffc01f1c /* Memory DMA Stream 2 Destination Y Modify Register */
  771. #define MDMA_D2_CURR_DESC_PTR 0xffc01f20 /* Memory DMA Stream 2 Destination Current Descriptor Pointer Register */
  772. #define MDMA_D2_CURR_ADDR 0xffc01f24 /* Memory DMA Stream 2 Destination Current Address Register */
  773. #define MDMA_D2_IRQ_STATUS 0xffc01f28 /* Memory DMA Stream 2 Destination Interrupt/Status Register */
  774. #define MDMA_D2_PERIPHERAL_MAP 0xffc01f2c /* Memory DMA Stream 2 Destination Peripheral Map Register */
  775. #define MDMA_D2_CURR_X_COUNT 0xffc01f30 /* Memory DMA Stream 2 Destination Current X Count Register */
  776. #define MDMA_D2_CURR_Y_COUNT 0xffc01f38 /* Memory DMA Stream 2 Destination Current Y Count Register */
  777. #define MDMA_S2_NEXT_DESC_PTR 0xffc01f40 /* Memory DMA Stream 2 Source Next Descriptor Pointer Register */
  778. #define MDMA_S2_START_ADDR 0xffc01f44 /* Memory DMA Stream 2 Source Start Address Register */
  779. #define MDMA_S2_CONFIG 0xffc01f48 /* Memory DMA Stream 2 Source Configuration Register */
  780. #define MDMA_S2_X_COUNT 0xffc01f50 /* Memory DMA Stream 2 Source X Count Register */
  781. #define MDMA_S2_X_MODIFY 0xffc01f54 /* Memory DMA Stream 2 Source X Modify Register */
  782. #define MDMA_S2_Y_COUNT 0xffc01f58 /* Memory DMA Stream 2 Source Y Count Register */
  783. #define MDMA_S2_Y_MODIFY 0xffc01f5c /* Memory DMA Stream 2 Source Y Modify Register */
  784. #define MDMA_S2_CURR_DESC_PTR 0xffc01f60 /* Memory DMA Stream 2 Source Current Descriptor Pointer Register */
  785. #define MDMA_S2_CURR_ADDR 0xffc01f64 /* Memory DMA Stream 2 Source Current Address Register */
  786. #define MDMA_S2_IRQ_STATUS 0xffc01f68 /* Memory DMA Stream 2 Source Interrupt/Status Register */
  787. #define MDMA_S2_PERIPHERAL_MAP 0xffc01f6c /* Memory DMA Stream 2 Source Peripheral Map Register */
  788. #define MDMA_S2_CURR_X_COUNT 0xffc01f70 /* Memory DMA Stream 2 Source Current X Count Register */
  789. #define MDMA_S2_CURR_Y_COUNT 0xffc01f78 /* Memory DMA Stream 2 Source Current Y Count Register */
  790. /* MDMA Stream 3 Registers */
  791. #define MDMA_D3_NEXT_DESC_PTR 0xffc01f80 /* Memory DMA Stream 3 Destination Next Descriptor Pointer Register */
  792. #define MDMA_D3_START_ADDR 0xffc01f84 /* Memory DMA Stream 3 Destination Start Address Register */
  793. #define MDMA_D3_CONFIG 0xffc01f88 /* Memory DMA Stream 3 Destination Configuration Register */
  794. #define MDMA_D3_X_COUNT 0xffc01f90 /* Memory DMA Stream 3 Destination X Count Register */
  795. #define MDMA_D3_X_MODIFY 0xffc01f94 /* Memory DMA Stream 3 Destination X Modify Register */
  796. #define MDMA_D3_Y_COUNT 0xffc01f98 /* Memory DMA Stream 3 Destination Y Count Register */
  797. #define MDMA_D3_Y_MODIFY 0xffc01f9c /* Memory DMA Stream 3 Destination Y Modify Register */
  798. #define MDMA_D3_CURR_DESC_PTR 0xffc01fa0 /* Memory DMA Stream 3 Destination Current Descriptor Pointer Register */
  799. #define MDMA_D3_CURR_ADDR 0xffc01fa4 /* Memory DMA Stream 3 Destination Current Address Register */
  800. #define MDMA_D3_IRQ_STATUS 0xffc01fa8 /* Memory DMA Stream 3 Destination Interrupt/Status Register */
  801. #define MDMA_D3_PERIPHERAL_MAP 0xffc01fac /* Memory DMA Stream 3 Destination Peripheral Map Register */
  802. #define MDMA_D3_CURR_X_COUNT 0xffc01fb0 /* Memory DMA Stream 3 Destination Current X Count Register */
  803. #define MDMA_D3_CURR_Y_COUNT 0xffc01fb8 /* Memory DMA Stream 3 Destination Current Y Count Register */
  804. #define MDMA_S3_NEXT_DESC_PTR 0xffc01fc0 /* Memory DMA Stream 3 Source Next Descriptor Pointer Register */
  805. #define MDMA_S3_START_ADDR 0xffc01fc4 /* Memory DMA Stream 3 Source Start Address Register */
  806. #define MDMA_S3_CONFIG 0xffc01fc8 /* Memory DMA Stream 3 Source Configuration Register */
  807. #define MDMA_S3_X_COUNT 0xffc01fd0 /* Memory DMA Stream 3 Source X Count Register */
  808. #define MDMA_S3_X_MODIFY 0xffc01fd4 /* Memory DMA Stream 3 Source X Modify Register */
  809. #define MDMA_S3_Y_COUNT 0xffc01fd8 /* Memory DMA Stream 3 Source Y Count Register */
  810. #define MDMA_S3_Y_MODIFY 0xffc01fdc /* Memory DMA Stream 3 Source Y Modify Register */
  811. #define MDMA_S3_CURR_DESC_PTR 0xffc01fe0 /* Memory DMA Stream 3 Source Current Descriptor Pointer Register */
  812. #define MDMA_S3_CURR_ADDR 0xffc01fe4 /* Memory DMA Stream 3 Source Current Address Register */
  813. #define MDMA_S3_IRQ_STATUS 0xffc01fe8 /* Memory DMA Stream 3 Source Interrupt/Status Register */
  814. #define MDMA_S3_PERIPHERAL_MAP 0xffc01fec /* Memory DMA Stream 3 Source Peripheral Map Register */
  815. #define MDMA_S3_CURR_X_COUNT 0xffc01ff0 /* Memory DMA Stream 3 Source Current X Count Register */
  816. #define MDMA_S3_CURR_Y_COUNT 0xffc01ff8 /* Memory DMA Stream 3 Source Current Y Count Register */
  817. /* UART1 Registers */
  818. #define UART1_DLL 0xffc02000 /* Divisor Latch Low Byte */
  819. #define UART1_DLH 0xffc02004 /* Divisor Latch High Byte */
  820. #define UART1_GCTL 0xffc02008 /* Global Control Register */
  821. #define UART1_LCR 0xffc0200c /* Line Control Register */
  822. #define UART1_MCR 0xffc02010 /* Modem Control Register */
  823. #define UART1_LSR 0xffc02014 /* Line Status Register */
  824. #define UART1_MSR 0xffc02018 /* Modem Status Register */
  825. #define UART1_SCR 0xffc0201c /* Scratch Register */
  826. #define UART1_IER_SET 0xffc02020 /* Interrupt Enable Register Set */
  827. #define UART1_IER_CLEAR 0xffc02024 /* Interrupt Enable Register Clear */
  828. #define UART1_THR 0xffc02028 /* Transmit Hold Register */
  829. #define UART1_RBR 0xffc0202c /* Receive Buffer Register */
  830. /* UART2 is not defined in the shared file because it is not available on the ADSP-BF542 and ADSP-BF544 processors */
  831. /* SPI1 Registers */
  832. #define SPI1_REGBASE 0xffc02300
  833. #define SPI1_CTL 0xffc02300 /* SPI1 Control Register */
  834. #define SPI1_FLG 0xffc02304 /* SPI1 Flag Register */
  835. #define SPI1_STAT 0xffc02308 /* SPI1 Status Register */
  836. #define SPI1_TDBR 0xffc0230c /* SPI1 Transmit Data Buffer Register */
  837. #define SPI1_RDBR 0xffc02310 /* SPI1 Receive Data Buffer Register */
  838. #define SPI1_BAUD 0xffc02314 /* SPI1 Baud Rate Register */
  839. #define SPI1_SHADOW 0xffc02318 /* SPI1 Receive Data Buffer Shadow Register */
  840. /* SPORT2 Registers */
  841. #define SPORT2_TCR1 0xffc02500 /* SPORT2 Transmit Configuration 1 Register */
  842. #define SPORT2_TCR2 0xffc02504 /* SPORT2 Transmit Configuration 2 Register */
  843. #define SPORT2_TCLKDIV 0xffc02508 /* SPORT2 Transmit Serial Clock Divider Register */
  844. #define SPORT2_TFSDIV 0xffc0250c /* SPORT2 Transmit Frame Sync Divider Register */
  845. #define SPORT2_TX 0xffc02510 /* SPORT2 Transmit Data Register */
  846. #define SPORT2_RX 0xffc02518 /* SPORT2 Receive Data Register */
  847. #define SPORT2_RCR1 0xffc02520 /* SPORT2 Receive Configuration 1 Register */
  848. #define SPORT2_RCR2 0xffc02524 /* SPORT2 Receive Configuration 2 Register */
  849. #define SPORT2_RCLKDIV 0xffc02528 /* SPORT2 Receive Serial Clock Divider Register */
  850. #define SPORT2_RFSDIV 0xffc0252c /* SPORT2 Receive Frame Sync Divider Register */
  851. #define SPORT2_STAT 0xffc02530 /* SPORT2 Status Register */
  852. #define SPORT2_CHNL 0xffc02534 /* SPORT2 Current Channel Register */
  853. #define SPORT2_MCMC1 0xffc02538 /* SPORT2 Multi channel Configuration Register 1 */
  854. #define SPORT2_MCMC2 0xffc0253c /* SPORT2 Multi channel Configuration Register 2 */
  855. #define SPORT2_MTCS0 0xffc02540 /* SPORT2 Multi channel Transmit Select Register 0 */
  856. #define SPORT2_MTCS1 0xffc02544 /* SPORT2 Multi channel Transmit Select Register 1 */
  857. #define SPORT2_MTCS2 0xffc02548 /* SPORT2 Multi channel Transmit Select Register 2 */
  858. #define SPORT2_MTCS3 0xffc0254c /* SPORT2 Multi channel Transmit Select Register 3 */
  859. #define SPORT2_MRCS0 0xffc02550 /* SPORT2 Multi channel Receive Select Register 0 */
  860. #define SPORT2_MRCS1 0xffc02554 /* SPORT2 Multi channel Receive Select Register 1 */
  861. #define SPORT2_MRCS2 0xffc02558 /* SPORT2 Multi channel Receive Select Register 2 */
  862. #define SPORT2_MRCS3 0xffc0255c /* SPORT2 Multi channel Receive Select Register 3 */
  863. /* SPORT3 Registers */
  864. #define SPORT3_TCR1 0xffc02600 /* SPORT3 Transmit Configuration 1 Register */
  865. #define SPORT3_TCR2 0xffc02604 /* SPORT3 Transmit Configuration 2 Register */
  866. #define SPORT3_TCLKDIV 0xffc02608 /* SPORT3 Transmit Serial Clock Divider Register */
  867. #define SPORT3_TFSDIV 0xffc0260c /* SPORT3 Transmit Frame Sync Divider Register */
  868. #define SPORT3_TX 0xffc02610 /* SPORT3 Transmit Data Register */
  869. #define SPORT3_RX 0xffc02618 /* SPORT3 Receive Data Register */
  870. #define SPORT3_RCR1 0xffc02620 /* SPORT3 Receive Configuration 1 Register */
  871. #define SPORT3_RCR2 0xffc02624 /* SPORT3 Receive Configuration 2 Register */
  872. #define SPORT3_RCLKDIV 0xffc02628 /* SPORT3 Receive Serial Clock Divider Register */
  873. #define SPORT3_RFSDIV 0xffc0262c /* SPORT3 Receive Frame Sync Divider Register */
  874. #define SPORT3_STAT 0xffc02630 /* SPORT3 Status Register */
  875. #define SPORT3_CHNL 0xffc02634 /* SPORT3 Current Channel Register */
  876. #define SPORT3_MCMC1 0xffc02638 /* SPORT3 Multi channel Configuration Register 1 */
  877. #define SPORT3_MCMC2 0xffc0263c /* SPORT3 Multi channel Configuration Register 2 */
  878. #define SPORT3_MTCS0 0xffc02640 /* SPORT3 Multi channel Transmit Select Register 0 */
  879. #define SPORT3_MTCS1 0xffc02644 /* SPORT3 Multi channel Transmit Select Register 1 */
  880. #define SPORT3_MTCS2 0xffc02648 /* SPORT3 Multi channel Transmit Select Register 2 */
  881. #define SPORT3_MTCS3 0xffc0264c /* SPORT3 Multi channel Transmit Select Register 3 */
  882. #define SPORT3_MRCS0 0xffc02650 /* SPORT3 Multi channel Receive Select Register 0 */
  883. #define SPORT3_MRCS1 0xffc02654 /* SPORT3 Multi channel Receive Select Register 1 */
  884. #define SPORT3_MRCS2 0xffc02658 /* SPORT3 Multi channel Receive Select Register 2 */
  885. #define SPORT3_MRCS3 0xffc0265c /* SPORT3 Multi channel Receive Select Register 3 */
  886. /* EPPI2 Registers */
  887. #define EPPI2_STATUS 0xffc02900 /* EPPI2 Status Register */
  888. #define EPPI2_HCOUNT 0xffc02904 /* EPPI2 Horizontal Transfer Count Register */
  889. #define EPPI2_HDELAY 0xffc02908 /* EPPI2 Horizontal Delay Count Register */
  890. #define EPPI2_VCOUNT 0xffc0290c /* EPPI2 Vertical Transfer Count Register */
  891. #define EPPI2_VDELAY 0xffc02910 /* EPPI2 Vertical Delay Count Register */
  892. #define EPPI2_FRAME 0xffc02914 /* EPPI2 Lines per Frame Register */
  893. #define EPPI2_LINE 0xffc02918 /* EPPI2 Samples per Line Register */
  894. #define EPPI2_CLKDIV 0xffc0291c /* EPPI2 Clock Divide Register */
  895. #define EPPI2_CONTROL 0xffc02920 /* EPPI2 Control Register */
  896. #define EPPI2_FS1W_HBL 0xffc02924 /* EPPI2 FS1 Width Register / EPPI2 Horizontal Blanking Samples Per Line Register */
  897. #define EPPI2_FS1P_AVPL 0xffc02928 /* EPPI2 FS1 Period Register / EPPI2 Active Video Samples Per Line Register */
  898. #define EPPI2_FS2W_LVB 0xffc0292c /* EPPI2 FS2 Width Register / EPPI2 Lines of Vertical Blanking Register */
  899. #define EPPI2_FS2P_LAVF 0xffc02930 /* EPPI2 FS2 Period Register/ EPPI2 Lines of Active Video Per Field Register */
  900. #define EPPI2_CLIP 0xffc02934 /* EPPI2 Clipping Register */
  901. /* CAN Controller 0 Config 1 Registers */
  902. #define CAN0_MC1 0xffc02a00 /* CAN Controller 0 Mailbox Configuration Register 1 */
  903. #define CAN0_MD1 0xffc02a04 /* CAN Controller 0 Mailbox Direction Register 1 */
  904. #define CAN0_TRS1 0xffc02a08 /* CAN Controller 0 Transmit Request Set Register 1 */
  905. #define CAN0_TRR1 0xffc02a0c /* CAN Controller 0 Transmit Request Reset Register 1 */
  906. #define CAN0_TA1 0xffc02a10 /* CAN Controller 0 Transmit Acknowledge Register 1 */
  907. #define CAN0_AA1 0xffc02a14 /* CAN Controller 0 Abort Acknowledge Register 1 */
  908. #define CAN0_RMP1 0xffc02a18 /* CAN Controller 0 Receive Message Pending Register 1 */
  909. #define CAN0_RML1 0xffc02a1c /* CAN Controller 0 Receive Message Lost Register 1 */
  910. #define CAN0_MBTIF1 0xffc02a20 /* CAN Controller 0 Mailbox Transmit Interrupt Flag Register 1 */
  911. #define CAN0_MBRIF1 0xffc02a24 /* CAN Controller 0 Mailbox Receive Interrupt Flag Register 1 */
  912. #define CAN0_MBIM1 0xffc02a28 /* CAN Controller 0 Mailbox Interrupt Mask Register 1 */
  913. #define CAN0_RFH1 0xffc02a2c /* CAN Controller 0 Remote Frame Handling Enable Register 1 */
  914. #define CAN0_OPSS1 0xffc02a30 /* CAN Controller 0 Overwrite Protection Single Shot Transmit Register 1 */
  915. /* CAN Controller 0 Config 2 Registers */
  916. #define CAN0_MC2 0xffc02a40 /* CAN Controller 0 Mailbox Configuration Register 2 */
  917. #define CAN0_MD2 0xffc02a44 /* CAN Controller 0 Mailbox Direction Register 2 */
  918. #define CAN0_TRS2 0xffc02a48 /* CAN Controller 0 Transmit Request Set Register 2 */
  919. #define CAN0_TRR2 0xffc02a4c /* CAN Controller 0 Transmit Request Reset Register 2 */
  920. #define CAN0_TA2 0xffc02a50 /* CAN Controller 0 Transmit Acknowledge Register 2 */
  921. #define CAN0_AA2 0xffc02a54 /* CAN Controller 0 Abort Acknowledge Register 2 */
  922. #define CAN0_RMP2 0xffc02a58 /* CAN Controller 0 Receive Message Pending Register 2 */
  923. #define CAN0_RML2 0xffc02a5c /* CAN Controller 0 Receive Message Lost Register 2 */
  924. #define CAN0_MBTIF2 0xffc02a60 /* CAN Controller 0 Mailbox Transmit Interrupt Flag Register 2 */
  925. #define CAN0_MBRIF2 0xffc02a64 /* CAN Controller 0 Mailbox Receive Interrupt Flag Register 2 */
  926. #define CAN0_MBIM2 0xffc02a68 /* CAN Controller 0 Mailbox Interrupt Mask Register 2 */
  927. #define CAN0_RFH2 0xffc02a6c /* CAN Controller 0 Remote Frame Handling Enable Register 2 */
  928. #define CAN0_OPSS2 0xffc02a70 /* CAN Controller 0 Overwrite Protection Single Shot Transmit Register 2 */
  929. /* CAN Controller 0 Clock/Interrupt/Counter Registers */
  930. #define CAN0_CLOCK 0xffc02a80 /* CAN Controller 0 Clock Register */
  931. #define CAN0_TIMING 0xffc02a84 /* CAN Controller 0 Timing Register */
  932. #define CAN0_DEBUG 0xffc02a88 /* CAN Controller 0 Debug Register */
  933. #define CAN0_STATUS 0xffc02a8c /* CAN Controller 0 Global Status Register */
  934. #define CAN0_CEC 0xffc02a90 /* CAN Controller 0 Error Counter Register */
  935. #define CAN0_GIS 0xffc02a94 /* CAN Controller 0 Global Interrupt Status Register */
  936. #define CAN0_GIM 0xffc02a98 /* CAN Controller 0 Global Interrupt Mask Register */
  937. #define CAN0_GIF 0xffc02a9c /* CAN Controller 0 Global Interrupt Flag Register */
  938. #define CAN0_CONTROL 0xffc02aa0 /* CAN Controller 0 Master Control Register */
  939. #define CAN0_INTR 0xffc02aa4 /* CAN Controller 0 Interrupt Pending Register */
  940. #define CAN0_MBTD 0xffc02aac /* CAN Controller 0 Mailbox Temporary Disable Register */
  941. #define CAN0_EWR 0xffc02ab0 /* CAN Controller 0 Programmable Warning Level Register */
  942. #define CAN0_ESR 0xffc02ab4 /* CAN Controller 0 Error Status Register */
  943. #define CAN0_UCCNT 0xffc02ac4 /* CAN Controller 0 Universal Counter Register */
  944. #define CAN0_UCRC 0xffc02ac8 /* CAN Controller 0 Universal Counter Force Reload Register */
  945. #define CAN0_UCCNF 0xffc02acc /* CAN Controller 0 Universal Counter Configuration Register */
  946. /* CAN Controller 0 Acceptance Registers */
  947. #define CAN0_AM00L 0xffc02b00 /* CAN Controller 0 Mailbox 0 Acceptance Mask High Register */
  948. #define CAN0_AM00H 0xffc02b04 /* CAN Controller 0 Mailbox 0 Acceptance Mask Low Register */
  949. #define CAN0_AM01L 0xffc02b08 /* CAN Controller 0 Mailbox 1 Acceptance Mask High Register */
  950. #define CAN0_AM01H 0xffc02b0c /* CAN Controller 0 Mailbox 1 Acceptance Mask Low Register */
  951. #define CAN0_AM02L 0xffc02b10 /* CAN Controller 0 Mailbox 2 Acceptance Mask High Register */
  952. #define CAN0_AM02H 0xffc02b14 /* CAN Controller 0 Mailbox 2 Acceptance Mask Low Register */
  953. #define CAN0_AM03L 0xffc02b18 /* CAN Controller 0 Mailbox 3 Acceptance Mask High Register */
  954. #define CAN0_AM03H 0xffc02b1c /* CAN Controller 0 Mailbox 3 Acceptance Mask Low Register */
  955. #define CAN0_AM04L 0xffc02b20 /* CAN Controller 0 Mailbox 4 Acceptance Mask High Register */
  956. #define CAN0_AM04H 0xffc02b24 /* CAN Controller 0 Mailbox 4 Acceptance Mask Low Register */
  957. #define CAN0_AM05L 0xffc02b28 /* CAN Controller 0 Mailbox 5 Acceptance Mask High Register */
  958. #define CAN0_AM05H 0xffc02b2c /* CAN Controller 0 Mailbox 5 Acceptance Mask Low Register */
  959. #define CAN0_AM06L 0xffc02b30 /* CAN Controller 0 Mailbox 6 Acceptance Mask High Register */
  960. #define CAN0_AM06H 0xffc02b34 /* CAN Controller 0 Mailbox 6 Acceptance Mask Low Register */
  961. #define CAN0_AM07L 0xffc02b38 /* CAN Controller 0 Mailbox 7 Acceptance Mask High Register */
  962. #define CAN0_AM07H 0xffc02b3c /* CAN Controller 0 Mailbox 7 Acceptance Mask Low Register */
  963. #define CAN0_AM08L 0xffc02b40 /* CAN Controller 0 Mailbox 8 Acceptance Mask High Register */
  964. #define CAN0_AM08H 0xffc02b44 /* CAN Controller 0 Mailbox 8 Acceptance Mask Low Register */
  965. #define CAN0_AM09L 0xffc02b48 /* CAN Controller 0 Mailbox 9 Acceptance Mask High Register */
  966. #define CAN0_AM09H 0xffc02b4c /* CAN Controller 0 Mailbox 9 Acceptance Mask Low Register */
  967. #define CAN0_AM10L 0xffc02b50 /* CAN Controller 0 Mailbox 10 Acceptance Mask High Register */
  968. #define CAN0_AM10H 0xffc02b54 /* CAN Controller 0 Mailbox 10 Acceptance Mask Low Register */
  969. #define CAN0_AM11L 0xffc02b58 /* CAN Controller 0 Mailbox 11 Acceptance Mask High Register */
  970. #define CAN0_AM11H 0xffc02b5c /* CAN Controller 0 Mailbox 11 Acceptance Mask Low Register */
  971. #define CAN0_AM12L 0xffc02b60 /* CAN Controller 0 Mailbox 12 Acceptance Mask High Register */
  972. #define CAN0_AM12H 0xffc02b64 /* CAN Controller 0 Mailbox 12 Acceptance Mask Low Register */
  973. #define CAN0_AM13L 0xffc02b68 /* CAN Controller 0 Mailbox 13 Acceptance Mask High Register */
  974. #define CAN0_AM13H 0xffc02b6c /* CAN Controller 0 Mailbox 13 Acceptance Mask Low Register */
  975. #define CAN0_AM14L 0xffc02b70 /* CAN Controller 0 Mailbox 14 Acceptance Mask High Register */
  976. #define CAN0_AM14H 0xffc02b74 /* CAN Controller 0 Mailbox 14 Acceptance Mask Low Register */
  977. #define CAN0_AM15L 0xffc02b78 /* CAN Controller 0 Mailbox 15 Acceptance Mask High Register */
  978. #define CAN0_AM15H 0xffc02b7c /* CAN Controller 0 Mailbox 15 Acceptance Mask Low Register */
  979. /* CAN Controller 0 Acceptance Registers */
  980. #define CAN0_AM16L 0xffc02b80 /* CAN Controller 0 Mailbox 16 Acceptance Mask High Register */
  981. #define CAN0_AM16H 0xffc02b84 /* CAN Controller 0 Mailbox 16 Acceptance Mask Low Register */
  982. #define CAN0_AM17L 0xffc02b88 /* CAN Controller 0 Mailbox 17 Acceptance Mask High Register */
  983. #define CAN0_AM17H 0xffc02b8c /* CAN Controller 0 Mailbox 17 Acceptance Mask Low Register */
  984. #define CAN0_AM18L 0xffc02b90 /* CAN Controller 0 Mailbox 18 Acceptance Mask High Register */
  985. #define CAN0_AM18H 0xffc02b94 /* CAN Controller 0 Mailbox 18 Acceptance Mask Low Register */
  986. #define CAN0_AM19L 0xffc02b98 /* CAN Controller 0 Mailbox 19 Acceptance Mask High Register */
  987. #define CAN0_AM19H 0xffc02b9c /* CAN Controller 0 Mailbox 19 Acceptance Mask Low Register */
  988. #define CAN0_AM20L 0xffc02ba0 /* CAN Controller 0 Mailbox 20 Acceptance Mask High Register */
  989. #define CAN0_AM20H 0xffc02ba4 /* CAN Controller 0 Mailbox 20 Acceptance Mask Low Register */
  990. #define CAN0_AM21L 0xffc02ba8 /* CAN Controller 0 Mailbox 21 Acceptance Mask High Register */
  991. #define CAN0_AM21H 0xffc02bac /* CAN Controller 0 Mailbox 21 Acceptance Mask Low Register */
  992. #define CAN0_AM22L 0xffc02bb0 /* CAN Controller 0 Mailbox 22 Acceptance Mask High Register */
  993. #define CAN0_AM22H 0xffc02bb4 /* CAN Controller 0 Mailbox 22 Acceptance Mask Low Register */
  994. #define CAN0_AM23L 0xffc02bb8 /* CAN Controller 0 Mailbox 23 Acceptance Mask High Register */
  995. #define CAN0_AM23H 0xffc02bbc /* CAN Controller 0 Mailbox 23 Acceptance Mask Low Register */
  996. #define CAN0_AM24L 0xffc02bc0 /* CAN Controller 0 Mailbox 24 Acceptance Mask High Register */
  997. #define CAN0_AM24H 0xffc02bc4 /* CAN Controller 0 Mailbox 24 Acceptance Mask Low Register */
  998. #define CAN0_AM25L 0xffc02bc8 /* CAN Controller 0 Mailbox 25 Acceptance Mask High Register */
  999. #define CAN0_AM25H 0xffc02bcc /* CAN Controller 0 Mailbox 25 Acceptance Mask Low Register */
  1000. #define CAN0_AM26L 0xffc02bd0 /* CAN Controller 0 Mailbox 26 Acceptance Mask High Register */
  1001. #define CAN0_AM26H 0xffc02bd4 /* CAN Controller 0 Mailbox 26 Acceptance Mask Low Register */
  1002. #define CAN0_AM27L 0xffc02bd8 /* CAN Controller 0 Mailbox 27 Acceptance Mask High Register */
  1003. #define CAN0_AM27H 0xffc02bdc /* CAN Controller 0 Mailbox 27 Acceptance Mask Low Register */
  1004. #define CAN0_AM28L 0xffc02be0 /* CAN Controller 0 Mailbox 28 Acceptance Mask High Register */
  1005. #define CAN0_AM28H 0xffc02be4 /* CAN Controller 0 Mailbox 28 Acceptance Mask Low Register */
  1006. #define CAN0_AM29L 0xffc02be8 /* CAN Controller 0 Mailbox 29 Acceptance Mask High Register */
  1007. #define CAN0_AM29H 0xffc02bec /* CAN Controller 0 Mailbox 29 Acceptance Mask Low Register */
  1008. #define CAN0_AM30L 0xffc02bf0 /* CAN Controller 0 Mailbox 30 Acceptance Mask High Register */
  1009. #define CAN0_AM30H 0xffc02bf4 /* CAN Controller 0 Mailbox 30 Acceptance Mask Low Register */
  1010. #define CAN0_AM31L 0xffc02bf8 /* CAN Controller 0 Mailbox 31 Acceptance Mask High Register */
  1011. #define CAN0_AM31H 0xffc02bfc /* CAN Controller 0 Mailbox 31 Acceptance Mask Low Register */
  1012. /* CAN Controller 0 Mailbox Data Registers */
  1013. #define CAN0_MB00_DATA0 0xffc02c00 /* CAN Controller 0 Mailbox 0 Data 0 Register */
  1014. #define CAN0_MB00_DATA1 0xffc02c04 /* CAN Controller 0 Mailbox 0 Data 1 Register */
  1015. #define CAN0_MB00_DATA2 0xffc02c08 /* CAN Controller 0 Mailbox 0 Data 2 Register */
  1016. #define CAN0_MB00_DATA3 0xffc02c0c /* CAN Controller 0 Mailbox 0 Data 3 Register */
  1017. #define CAN0_MB00_LENGTH 0xffc02c10 /* CAN Controller 0 Mailbox 0 Length Register */
  1018. #define CAN0_MB00_TIMESTAMP 0xffc02c14 /* CAN Controller 0 Mailbox 0 Timestamp Register */
  1019. #define CAN0_MB00_ID0 0xffc02c18 /* CAN Controller 0 Mailbox 0 ID0 Register */
  1020. #define CAN0_MB00_ID1 0xffc02c1c /* CAN Controller 0 Mailbox 0 ID1 Register */
  1021. #define CAN0_MB01_DATA0 0xffc02c20 /* CAN Controller 0 Mailbox 1 Data 0 Register */
  1022. #define CAN0_MB01_DATA1 0xffc02c24 /* CAN Controller 0 Mailbox 1 Data 1 Register */
  1023. #define CAN0_MB01_DATA2 0xffc02c28 /* CAN Controller 0 Mailbox 1 Data 2 Register */
  1024. #define CAN0_MB01_DATA3 0xffc02c2c /* CAN Controller 0 Mailbox 1 Data 3 Register */
  1025. #define CAN0_MB01_LENGTH 0xffc02c30 /* CAN Controller 0 Mailbox 1 Length Register */
  1026. #define CAN0_MB01_TIMESTAMP 0xffc02c34 /* CAN Controller 0 Mailbox 1 Timestamp Register */
  1027. #define CAN0_MB01_ID0 0xffc02c38 /* CAN Controller 0 Mailbox 1 ID0 Register */
  1028. #define CAN0_MB01_ID1 0xffc02c3c /* CAN Controller 0 Mailbox 1 ID1 Register */
  1029. #define CAN0_MB02_DATA0 0xffc02c40 /* CAN Controller 0 Mailbox 2 Data 0 Register */
  1030. #define CAN0_MB02_DATA1 0xffc02c44 /* CAN Controller 0 Mailbox 2 Data 1 Register */
  1031. #define CAN0_MB02_DATA2 0xffc02c48 /* CAN Controller 0 Mailbox 2 Data 2 Register */
  1032. #define CAN0_MB02_DATA3 0xffc02c4c /* CAN Controller 0 Mailbox 2 Data 3 Register */
  1033. #define CAN0_MB02_LENGTH 0xffc02c50 /* CAN Controller 0 Mailbox 2 Length Register */
  1034. #define CAN0_MB02_TIMESTAMP 0xffc02c54 /* CAN Controller 0 Mailbox 2 Timestamp Register */
  1035. #define CAN0_MB02_ID0 0xffc02c58 /* CAN Controller 0 Mailbox 2 ID0 Register */
  1036. #define CAN0_MB02_ID1 0xffc02c5c /* CAN Controller 0 Mailbox 2 ID1 Register */
  1037. #define CAN0_MB03_DATA0 0xffc02c60 /* CAN Controller 0 Mailbox 3 Data 0 Register */
  1038. #define CAN0_MB03_DATA1 0xffc02c64 /* CAN Controller 0 Mailbox 3 Data 1 Register */
  1039. #define CAN0_MB03_DATA2 0xffc02c68 /* CAN Controller 0 Mailbox 3 Data 2 Register */
  1040. #define CAN0_MB03_DATA3 0xffc02c6c /* CAN Controller 0 Mailbox 3 Data 3 Register */
  1041. #define CAN0_MB03_LENGTH 0xffc02c70 /* CAN Controller 0 Mailbox 3 Length Register */
  1042. #define CAN0_MB03_TIMESTAMP 0xffc02c74 /* CAN Controller 0 Mailbox 3 Timestamp Register */
  1043. #define CAN0_MB03_ID0 0xffc02c78 /* CAN Controller 0 Mailbox 3 ID0 Register */
  1044. #define CAN0_MB03_ID1 0xffc02c7c /* CAN Controller 0 Mailbox 3 ID1 Register */
  1045. #define CAN0_MB04_DATA0 0xffc02c80 /* CAN Controller 0 Mailbox 4 Data 0 Register */
  1046. #define CAN0_MB04_DATA1 0xffc02c84 /* CAN Controller 0 Mailbox 4 Data 1 Register */
  1047. #define CAN0_MB04_DATA2 0xffc02c88 /* CAN Controller 0 Mailbox 4 Data 2 Register */
  1048. #define CAN0_MB04_DATA3 0xffc02c8c /* CAN Controller 0 Mailbox 4 Data 3 Register */
  1049. #define CAN0_MB04_LENGTH 0xffc02c90 /* CAN Controller 0 Mailbox 4 Length Register */
  1050. #define CAN0_MB04_TIMESTAMP 0xffc02c94 /* CAN Controller 0 Mailbox 4 Timestamp Register */
  1051. #define CAN0_MB04_ID0 0xffc02c98 /* CAN Controller 0 Mailbox 4 ID0 Register */
  1052. #define CAN0_MB04_ID1 0xffc02c9c /* CAN Controller 0 Mailbox 4 ID1 Register */
  1053. #define CAN0_MB05_DATA0 0xffc02ca0 /* CAN Controller 0 Mailbox 5 Data 0 Register */
  1054. #define CAN0_MB05_DATA1 0xffc02ca4 /* CAN Controller 0 Mailbox 5 Data 1 Register */
  1055. #define CAN0_MB05_DATA2 0xffc02ca8 /* CAN Controller 0 Mailbox 5 Data 2 Register */
  1056. #define CAN0_MB05_DATA3 0xffc02cac /* CAN Controller 0 Mailbox 5 Data 3 Register */
  1057. #define CAN0_MB05_LENGTH 0xffc02cb0 /* CAN Controller 0 Mailbox 5 Length Register */
  1058. #define CAN0_MB05_TIMESTAMP 0xffc02cb4 /* CAN Controller 0 Mailbox 5 Timestamp Register */
  1059. #define CAN0_MB05_ID0 0xffc02cb8 /* CAN Controller 0 Mailbox 5 ID0 Register */
  1060. #define CAN0_MB05_ID1 0xffc02cbc /* CAN Controller 0 Mailbox 5 ID1 Register */
  1061. #define CAN0_MB06_DATA0 0xffc02cc0 /* CAN Controller 0 Mailbox 6 Data 0 Register */
  1062. #define CAN0_MB06_DATA1 0xffc02cc4 /* CAN Controller 0 Mailbox 6 Data 1 Register */
  1063. #define CAN0_MB06_DATA2 0xffc02cc8 /* CAN Controller 0 Mailbox 6 Data 2 Register */
  1064. #define CAN0_MB06_DATA3 0xffc02ccc /* CAN Controller 0 Mailbox 6 Data 3 Register */
  1065. #define CAN0_MB06_LENGTH 0xffc02cd0 /* CAN Controller 0 Mailbox 6 Length Register */
  1066. #define CAN0_MB06_TIMESTAMP 0xffc02cd4 /* CAN Controller 0 Mailbox 6 Timestamp Register */
  1067. #define CAN0_MB06_ID0 0xffc02cd8 /* CAN Controller 0 Mailbox 6 ID0 Register */
  1068. #define CAN0_MB06_ID1 0xffc02cdc /* CAN Controller 0 Mailbox 6 ID1 Register */
  1069. #define CAN0_MB07_DATA0 0xffc02ce0 /* CAN Controller 0 Mailbox 7 Data 0 Register */
  1070. #define CAN0_MB07_DATA1 0xffc02ce4 /* CAN Controller 0 Mailbox 7 Data 1 Register */
  1071. #define CAN0_MB07_DATA2 0xffc02ce8 /* CAN Controller 0 Mailbox 7 Data 2 Register */
  1072. #define CAN0_MB07_DATA3 0xffc02cec /* CAN Controller 0 Mailbox 7 Data 3 Register */
  1073. #define CAN0_MB07_LENGTH 0xffc02cf0 /* CAN Controller 0 Mailbox 7 Length Register */
  1074. #define CAN0_MB07_TIMESTAMP 0xffc02cf4 /* CAN Controller 0 Mailbox 7 Timestamp Register */
  1075. #define CAN0_MB07_ID0 0xffc02cf8 /* CAN Controller 0 Mailbox 7 ID0 Register */
  1076. #define CAN0_MB07_ID1 0xffc02cfc /* CAN Controller 0 Mailbox 7 ID1 Register */
  1077. #define CAN0_MB08_DATA0 0xffc02d00 /* CAN Controller 0 Mailbox 8 Data 0 Register */
  1078. #define CAN0_MB08_DATA1 0xffc02d04 /* CAN Controller 0 Mailbox 8 Data 1 Register */
  1079. #define CAN0_MB08_DATA2 0xffc02d08 /* CAN Controller 0 Mailbox 8 Data 2 Register */
  1080. #define CAN0_MB08_DATA3 0xffc02d0c /* CAN Controller 0 Mailbox 8 Data 3 Register */
  1081. #define CAN0_MB08_LENGTH 0xffc02d10 /* CAN Controller 0 Mailbox 8 Length Register */
  1082. #define CAN0_MB08_TIMESTAMP 0xffc02d14 /* CAN Controller 0 Mailbox 8 Timestamp Register */
  1083. #define CAN0_MB08_ID0 0xffc02d18 /* CAN Controller 0 Mailbox 8 ID0 Register */
  1084. #define CAN0_MB08_ID1 0xffc02d1c /* CAN Controller 0 Mailbox 8 ID1 Register */
  1085. #define CAN0_MB09_DATA0 0xffc02d20 /* CAN Controller 0 Mailbox 9 Data 0 Register */
  1086. #define CAN0_MB09_DATA1 0xffc02d24 /* CAN Controller 0 Mailbox 9 Data 1 Register */
  1087. #define CAN0_MB09_DATA2 0xffc02d28 /* CAN Controller 0 Mailbox 9 Data 2 Register */
  1088. #define CAN0_MB09_DATA3 0xffc02d2c /* CAN Controller 0 Mailbox 9 Data 3 Register */
  1089. #define CAN0_MB09_LENGTH 0xffc02d30 /* CAN Controller 0 Mailbox 9 Length Register */