123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975 |
- /*
- * Copyright 2007-2010 Analog Devices Inc.
- *
- * Licensed under the Clear BSD license or the GPL-2 (or later)
- */
- #ifndef _DEF_BF54X_H
- #define _DEF_BF54X_H
- /* ************************************************************** */
- /* SYSTEM & MMR ADDRESS DEFINITIONS COMMON TO ALL ADSP-BF54x */
- /* ************************************************************** */
- /* PLL Registers */
- #define PLL_CTL 0xffc00000 /* PLL Control Register */
- #define PLL_DIV 0xffc00004 /* PLL Divisor Register */
- #define VR_CTL 0xffc00008 /* Voltage Regulator Control Register */
- #define PLL_STAT 0xffc0000c /* PLL Status Register */
- #define PLL_LOCKCNT 0xffc00010 /* PLL Lock Count Register */
- /* Debug/MP/Emulation Registers (0xFFC00014 - 0xFFC00014) */
- #define CHIPID 0xffc00014
- /* CHIPID Masks */
- #define CHIPID_VERSION 0xF0000000
- #define CHIPID_FAMILY 0x0FFFF000
- #define CHIPID_MANUFACTURE 0x00000FFE
- /* System Reset and Interrupt Controller (0xFFC00100 - 0xFFC00104) */
- #define SWRST 0xffc00100 /* Software Reset Register */
- #define SYSCR 0xffc00104 /* System Configuration register */
- /* SIC Registers */
- #define SIC_RVECT 0xffc00108
- #define SIC_IMASK0 0xffc0010c /* System Interrupt Mask Register 0 */
- #define SIC_IMASK1 0xffc00110 /* System Interrupt Mask Register 1 */
- #define SIC_IMASK2 0xffc00114 /* System Interrupt Mask Register 2 */
- #define SIC_ISR0 0xffc00118 /* System Interrupt Status Register 0 */
- #define SIC_ISR1 0xffc0011c /* System Interrupt Status Register 1 */
- #define SIC_ISR2 0xffc00120 /* System Interrupt Status Register 2 */
- #define SIC_IWR0 0xffc00124 /* System Interrupt Wakeup Register 0 */
- #define SIC_IWR1 0xffc00128 /* System Interrupt Wakeup Register 1 */
- #define SIC_IWR2 0xffc0012c /* System Interrupt Wakeup Register 2 */
- #define SIC_IAR0 0xffc00130 /* System Interrupt Assignment Register 0 */
- #define SIC_IAR1 0xffc00134 /* System Interrupt Assignment Register 1 */
- #define SIC_IAR2 0xffc00138 /* System Interrupt Assignment Register 2 */
- #define SIC_IAR3 0xffc0013c /* System Interrupt Assignment Register 3 */
- #define SIC_IAR4 0xffc00140 /* System Interrupt Assignment Register 4 */
- #define SIC_IAR5 0xffc00144 /* System Interrupt Assignment Register 5 */
- #define SIC_IAR6 0xffc00148 /* System Interrupt Assignment Register 6 */
- #define SIC_IAR7 0xffc0014c /* System Interrupt Assignment Register 7 */
- #define SIC_IAR8 0xffc00150 /* System Interrupt Assignment Register 8 */
- #define SIC_IAR9 0xffc00154 /* System Interrupt Assignment Register 9 */
- #define SIC_IAR10 0xffc00158 /* System Interrupt Assignment Register 10 */
- #define SIC_IAR11 0xffc0015c /* System Interrupt Assignment Register 11 */
- /* Watchdog Timer Registers */
- #define WDOG_CTL 0xffc00200 /* Watchdog Control Register */
- #define WDOG_CNT 0xffc00204 /* Watchdog Count Register */
- #define WDOG_STAT 0xffc00208 /* Watchdog Status Register */
- /* RTC Registers */
- #define RTC_STAT 0xffc00300 /* RTC Status Register */
- #define RTC_ICTL 0xffc00304 /* RTC Interrupt Control Register */
- #define RTC_ISTAT 0xffc00308 /* RTC Interrupt Status Register */
- #define RTC_SWCNT 0xffc0030c /* RTC Stopwatch Count Register */
- #define RTC_ALARM 0xffc00310 /* RTC Alarm Register */
- #define RTC_PREN 0xffc00314 /* RTC Prescaler Enable Register */
- /* UART0 Registers */
- #define UART0_DLL 0xffc00400 /* Divisor Latch Low Byte */
- #define UART0_DLH 0xffc00404 /* Divisor Latch High Byte */
- #define UART0_GCTL 0xffc00408 /* Global Control Register */
- #define UART0_LCR 0xffc0040c /* Line Control Register */
- #define UART0_MCR 0xffc00410 /* Modem Control Register */
- #define UART0_LSR 0xffc00414 /* Line Status Register */
- #define UART0_MSR 0xffc00418 /* Modem Status Register */
- #define UART0_SCR 0xffc0041c /* Scratch Register */
- #define UART0_IER_SET 0xffc00420 /* Interrupt Enable Register Set */
- #define UART0_IER_CLEAR 0xffc00424 /* Interrupt Enable Register Clear */
- #define UART0_THR 0xffc00428 /* Transmit Hold Register */
- #define UART0_RBR 0xffc0042c /* Receive Buffer Register */
- /* SPI0 Registers */
- #define SPI0_REGBASE 0xffc00500
- #define SPI0_CTL 0xffc00500 /* SPI0 Control Register */
- #define SPI0_FLG 0xffc00504 /* SPI0 Flag Register */
- #define SPI0_STAT 0xffc00508 /* SPI0 Status Register */
- #define SPI0_TDBR 0xffc0050c /* SPI0 Transmit Data Buffer Register */
- #define SPI0_RDBR 0xffc00510 /* SPI0 Receive Data Buffer Register */
- #define SPI0_BAUD 0xffc00514 /* SPI0 Baud Rate Register */
- #define SPI0_SHADOW 0xffc00518 /* SPI0 Receive Data Buffer Shadow Register */
- /* Timer Group of 3 registers are not defined in the shared file because they are not available on the ADSP-BF542 processor */
- /* Two Wire Interface Registers (TWI0) */
- #define TWI0_REGBASE 0xffc00700
- #define TWI0_CLKDIV 0xffc00700 /* Clock Divider Register */
- #define TWI0_CONTROL 0xffc00704 /* TWI Control Register */
- #define TWI0_SLAVE_CTL 0xffc00708 /* TWI Slave Mode Control Register */
- #define TWI0_SLAVE_STAT 0xffc0070c /* TWI Slave Mode Status Register */
- #define TWI0_SLAVE_ADDR 0xffc00710 /* TWI Slave Mode Address Register */
- #define TWI0_MASTER_CTL 0xffc00714 /* TWI Master Mode Control Register */
- #define TWI0_MASTER_STAT 0xffc00718 /* TWI Master Mode Status Register */
- #define TWI0_MASTER_ADDR 0xffc0071c /* TWI Master Mode Address Register */
- #define TWI0_INT_STAT 0xffc00720 /* TWI Interrupt Status Register */
- #define TWI0_INT_MASK 0xffc00724 /* TWI Interrupt Mask Register */
- #define TWI0_FIFO_CTL 0xffc00728 /* TWI FIFO Control Register */
- #define TWI0_FIFO_STAT 0xffc0072c /* TWI FIFO Status Register */
- #define TWI0_XMT_DATA8 0xffc00780 /* TWI FIFO Transmit Data Single Byte Register */
- #define TWI0_XMT_DATA16 0xffc00784 /* TWI FIFO Transmit Data Double Byte Register */
- #define TWI0_RCV_DATA8 0xffc00788 /* TWI FIFO Receive Data Single Byte Register */
- #define TWI0_RCV_DATA16 0xffc0078c /* TWI FIFO Receive Data Double Byte Register */
- /* SPORT0 is not defined in the shared file because it is not available on the ADSP-BF542 and ADSP-BF544 processors */
- /* SPORT1 Registers */
- #define SPORT1_TCR1 0xffc00900 /* SPORT1 Transmit Configuration 1 Register */
- #define SPORT1_TCR2 0xffc00904 /* SPORT1 Transmit Configuration 2 Register */
- #define SPORT1_TCLKDIV 0xffc00908 /* SPORT1 Transmit Serial Clock Divider Register */
- #define SPORT1_TFSDIV 0xffc0090c /* SPORT1 Transmit Frame Sync Divider Register */
- #define SPORT1_TX 0xffc00910 /* SPORT1 Transmit Data Register */
- #define SPORT1_RX 0xffc00918 /* SPORT1 Receive Data Register */
- #define SPORT1_RCR1 0xffc00920 /* SPORT1 Receive Configuration 1 Register */
- #define SPORT1_RCR2 0xffc00924 /* SPORT1 Receive Configuration 2 Register */
- #define SPORT1_RCLKDIV 0xffc00928 /* SPORT1 Receive Serial Clock Divider Register */
- #define SPORT1_RFSDIV 0xffc0092c /* SPORT1 Receive Frame Sync Divider Register */
- #define SPORT1_STAT 0xffc00930 /* SPORT1 Status Register */
- #define SPORT1_CHNL 0xffc00934 /* SPORT1 Current Channel Register */
- #define SPORT1_MCMC1 0xffc00938 /* SPORT1 Multi channel Configuration Register 1 */
- #define SPORT1_MCMC2 0xffc0093c /* SPORT1 Multi channel Configuration Register 2 */
- #define SPORT1_MTCS0 0xffc00940 /* SPORT1 Multi channel Transmit Select Register 0 */
- #define SPORT1_MTCS1 0xffc00944 /* SPORT1 Multi channel Transmit Select Register 1 */
- #define SPORT1_MTCS2 0xffc00948 /* SPORT1 Multi channel Transmit Select Register 2 */
- #define SPORT1_MTCS3 0xffc0094c /* SPORT1 Multi channel Transmit Select Register 3 */
- #define SPORT1_MRCS0 0xffc00950 /* SPORT1 Multi channel Receive Select Register 0 */
- #define SPORT1_MRCS1 0xffc00954 /* SPORT1 Multi channel Receive Select Register 1 */
- #define SPORT1_MRCS2 0xffc00958 /* SPORT1 Multi channel Receive Select Register 2 */
- #define SPORT1_MRCS3 0xffc0095c /* SPORT1 Multi channel Receive Select Register 3 */
- /* Asynchronous Memory Control Registers */
- #define EBIU_AMGCTL 0xffc00a00 /* Asynchronous Memory Global Control Register */
- #define EBIU_AMBCTL0 0xffc00a04 /* Asynchronous Memory Bank Control Register */
- #define EBIU_AMBCTL1 0xffc00a08 /* Asynchronous Memory Bank Control Register */
- #define EBIU_MBSCTL 0xffc00a0c /* Asynchronous Memory Bank Select Control Register */
- #define EBIU_ARBSTAT 0xffc00a10 /* Asynchronous Memory Arbiter Status Register */
- #define EBIU_MODE 0xffc00a14 /* Asynchronous Mode Control Register */
- #define EBIU_FCTL 0xffc00a18 /* Asynchronous Memory Flash Control Register */
- /* DDR Memory Control Registers */
- #define EBIU_DDRCTL0 0xffc00a20 /* DDR Memory Control 0 Register */
- #define EBIU_DDRCTL1 0xffc00a24 /* DDR Memory Control 1 Register */
- #define EBIU_DDRCTL2 0xffc00a28 /* DDR Memory Control 2 Register */
- #define EBIU_DDRCTL3 0xffc00a2c /* DDR Memory Control 3 Register */
- #define EBIU_DDRQUE 0xffc00a30 /* DDR Queue Configuration Register */
- #define EBIU_ERRADD 0xffc00a34 /* DDR Error Address Register */
- #define EBIU_ERRMST 0xffc00a38 /* DDR Error Master Register */
- #define EBIU_RSTCTL 0xffc00a3c /* DDR Reset Control Register */
- /* DDR BankRead and Write Count Registers */
- #define EBIU_DDRBRC0 0xffc00a60 /* DDR Bank0 Read Count Register */
- #define EBIU_DDRBRC1 0xffc00a64 /* DDR Bank1 Read Count Register */
- #define EBIU_DDRBRC2 0xffc00a68 /* DDR Bank2 Read Count Register */
- #define EBIU_DDRBRC3 0xffc00a6c /* DDR Bank3 Read Count Register */
- #define EBIU_DDRBRC4 0xffc00a70 /* DDR Bank4 Read Count Register */
- #define EBIU_DDRBRC5 0xffc00a74 /* DDR Bank5 Read Count Register */
- #define EBIU_DDRBRC6 0xffc00a78 /* DDR Bank6 Read Count Register */
- #define EBIU_DDRBRC7 0xffc00a7c /* DDR Bank7 Read Count Register */
- #define EBIU_DDRBWC0 0xffc00a80 /* DDR Bank0 Write Count Register */
- #define EBIU_DDRBWC1 0xffc00a84 /* DDR Bank1 Write Count Register */
- #define EBIU_DDRBWC2 0xffc00a88 /* DDR Bank2 Write Count Register */
- #define EBIU_DDRBWC3 0xffc00a8c /* DDR Bank3 Write Count Register */
- #define EBIU_DDRBWC4 0xffc00a90 /* DDR Bank4 Write Count Register */
- #define EBIU_DDRBWC5 0xffc00a94 /* DDR Bank5 Write Count Register */
- #define EBIU_DDRBWC6 0xffc00a98 /* DDR Bank6 Write Count Register */
- #define EBIU_DDRBWC7 0xffc00a9c /* DDR Bank7 Write Count Register */
- #define EBIU_DDRACCT 0xffc00aa0 /* DDR Activation Count Register */
- #define EBIU_DDRTACT 0xffc00aa8 /* DDR Turn Around Count Register */
- #define EBIU_DDRARCT 0xffc00aac /* DDR Auto-refresh Count Register */
- #define EBIU_DDRGC0 0xffc00ab0 /* DDR Grant Count 0 Register */
- #define EBIU_DDRGC1 0xffc00ab4 /* DDR Grant Count 1 Register */
- #define EBIU_DDRGC2 0xffc00ab8 /* DDR Grant Count 2 Register */
- #define EBIU_DDRGC3 0xffc00abc /* DDR Grant Count 3 Register */
- #define EBIU_DDRMCEN 0xffc00ac0 /* DDR Metrics Counter Enable Register */
- #define EBIU_DDRMCCL 0xffc00ac4 /* DDR Metrics Counter Clear Register */
- /* DMAC0 Registers */
- #define DMAC0_TC_PER 0xffc00b0c /* DMA Controller 0 Traffic Control Periods Register */
- #define DMAC0_TC_CNT 0xffc00b10 /* DMA Controller 0 Current Counts Register */
- /* DMA Channel 0 Registers */
- #define DMA0_NEXT_DESC_PTR 0xffc00c00 /* DMA Channel 0 Next Descriptor Pointer Register */
- #define DMA0_START_ADDR 0xffc00c04 /* DMA Channel 0 Start Address Register */
- #define DMA0_CONFIG 0xffc00c08 /* DMA Channel 0 Configuration Register */
- #define DMA0_X_COUNT 0xffc00c10 /* DMA Channel 0 X Count Register */
- #define DMA0_X_MODIFY 0xffc00c14 /* DMA Channel 0 X Modify Register */
- #define DMA0_Y_COUNT 0xffc00c18 /* DMA Channel 0 Y Count Register */
- #define DMA0_Y_MODIFY 0xffc00c1c /* DMA Channel 0 Y Modify Register */
- #define DMA0_CURR_DESC_PTR 0xffc00c20 /* DMA Channel 0 Current Descriptor Pointer Register */
- #define DMA0_CURR_ADDR 0xffc00c24 /* DMA Channel 0 Current Address Register */
- #define DMA0_IRQ_STATUS 0xffc00c28 /* DMA Channel 0 Interrupt/Status Register */
- #define DMA0_PERIPHERAL_MAP 0xffc00c2c /* DMA Channel 0 Peripheral Map Register */
- #define DMA0_CURR_X_COUNT 0xffc00c30 /* DMA Channel 0 Current X Count Register */
- #define DMA0_CURR_Y_COUNT 0xffc00c38 /* DMA Channel 0 Current Y Count Register */
- /* DMA Channel 1 Registers */
- #define DMA1_NEXT_DESC_PTR 0xffc00c40 /* DMA Channel 1 Next Descriptor Pointer Register */
- #define DMA1_START_ADDR 0xffc00c44 /* DMA Channel 1 Start Address Register */
- #define DMA1_CONFIG 0xffc00c48 /* DMA Channel 1 Configuration Register */
- #define DMA1_X_COUNT 0xffc00c50 /* DMA Channel 1 X Count Register */
- #define DMA1_X_MODIFY 0xffc00c54 /* DMA Channel 1 X Modify Register */
- #define DMA1_Y_COUNT 0xffc00c58 /* DMA Channel 1 Y Count Register */
- #define DMA1_Y_MODIFY 0xffc00c5c /* DMA Channel 1 Y Modify Register */
- #define DMA1_CURR_DESC_PTR 0xffc00c60 /* DMA Channel 1 Current Descriptor Pointer Register */
- #define DMA1_CURR_ADDR 0xffc00c64 /* DMA Channel 1 Current Address Register */
- #define DMA1_IRQ_STATUS 0xffc00c68 /* DMA Channel 1 Interrupt/Status Register */
- #define DMA1_PERIPHERAL_MAP 0xffc00c6c /* DMA Channel 1 Peripheral Map Register */
- #define DMA1_CURR_X_COUNT 0xffc00c70 /* DMA Channel 1 Current X Count Register */
- #define DMA1_CURR_Y_COUNT 0xffc00c78 /* DMA Channel 1 Current Y Count Register */
- /* DMA Channel 2 Registers */
- #define DMA2_NEXT_DESC_PTR 0xffc00c80 /* DMA Channel 2 Next Descriptor Pointer Register */
- #define DMA2_START_ADDR 0xffc00c84 /* DMA Channel 2 Start Address Register */
- #define DMA2_CONFIG 0xffc00c88 /* DMA Channel 2 Configuration Register */
- #define DMA2_X_COUNT 0xffc00c90 /* DMA Channel 2 X Count Register */
- #define DMA2_X_MODIFY 0xffc00c94 /* DMA Channel 2 X Modify Register */
- #define DMA2_Y_COUNT 0xffc00c98 /* DMA Channel 2 Y Count Register */
- #define DMA2_Y_MODIFY 0xffc00c9c /* DMA Channel 2 Y Modify Register */
- #define DMA2_CURR_DESC_PTR 0xffc00ca0 /* DMA Channel 2 Current Descriptor Pointer Register */
- #define DMA2_CURR_ADDR 0xffc00ca4 /* DMA Channel 2 Current Address Register */
- #define DMA2_IRQ_STATUS 0xffc00ca8 /* DMA Channel 2 Interrupt/Status Register */
- #define DMA2_PERIPHERAL_MAP 0xffc00cac /* DMA Channel 2 Peripheral Map Register */
- #define DMA2_CURR_X_COUNT 0xffc00cb0 /* DMA Channel 2 Current X Count Register */
- #define DMA2_CURR_Y_COUNT 0xffc00cb8 /* DMA Channel 2 Current Y Count Register */
- /* DMA Channel 3 Registers */
- #define DMA3_NEXT_DESC_PTR 0xffc00cc0 /* DMA Channel 3 Next Descriptor Pointer Register */
- #define DMA3_START_ADDR 0xffc00cc4 /* DMA Channel 3 Start Address Register */
- #define DMA3_CONFIG 0xffc00cc8 /* DMA Channel 3 Configuration Register */
- #define DMA3_X_COUNT 0xffc00cd0 /* DMA Channel 3 X Count Register */
- #define DMA3_X_MODIFY 0xffc00cd4 /* DMA Channel 3 X Modify Register */
- #define DMA3_Y_COUNT 0xffc00cd8 /* DMA Channel 3 Y Count Register */
- #define DMA3_Y_MODIFY 0xffc00cdc /* DMA Channel 3 Y Modify Register */
- #define DMA3_CURR_DESC_PTR 0xffc00ce0 /* DMA Channel 3 Current Descriptor Pointer Register */
- #define DMA3_CURR_ADDR 0xffc00ce4 /* DMA Channel 3 Current Address Register */
- #define DMA3_IRQ_STATUS 0xffc00ce8 /* DMA Channel 3 Interrupt/Status Register */
- #define DMA3_PERIPHERAL_MAP 0xffc00cec /* DMA Channel 3 Peripheral Map Register */
- #define DMA3_CURR_X_COUNT 0xffc00cf0 /* DMA Channel 3 Current X Count Register */
- #define DMA3_CURR_Y_COUNT 0xffc00cf8 /* DMA Channel 3 Current Y Count Register */
- /* DMA Channel 4 Registers */
- #define DMA4_NEXT_DESC_PTR 0xffc00d00 /* DMA Channel 4 Next Descriptor Pointer Register */
- #define DMA4_START_ADDR 0xffc00d04 /* DMA Channel 4 Start Address Register */
- #define DMA4_CONFIG 0xffc00d08 /* DMA Channel 4 Configuration Register */
- #define DMA4_X_COUNT 0xffc00d10 /* DMA Channel 4 X Count Register */
- #define DMA4_X_MODIFY 0xffc00d14 /* DMA Channel 4 X Modify Register */
- #define DMA4_Y_COUNT 0xffc00d18 /* DMA Channel 4 Y Count Register */
- #define DMA4_Y_MODIFY 0xffc00d1c /* DMA Channel 4 Y Modify Register */
- #define DMA4_CURR_DESC_PTR 0xffc00d20 /* DMA Channel 4 Current Descriptor Pointer Register */
- #define DMA4_CURR_ADDR 0xffc00d24 /* DMA Channel 4 Current Address Register */
- #define DMA4_IRQ_STATUS 0xffc00d28 /* DMA Channel 4 Interrupt/Status Register */
- #define DMA4_PERIPHERAL_MAP 0xffc00d2c /* DMA Channel 4 Peripheral Map Register */
- #define DMA4_CURR_X_COUNT 0xffc00d30 /* DMA Channel 4 Current X Count Register */
- #define DMA4_CURR_Y_COUNT 0xffc00d38 /* DMA Channel 4 Current Y Count Register */
- /* DMA Channel 5 Registers */
- #define DMA5_NEXT_DESC_PTR 0xffc00d40 /* DMA Channel 5 Next Descriptor Pointer Register */
- #define DMA5_START_ADDR 0xffc00d44 /* DMA Channel 5 Start Address Register */
- #define DMA5_CONFIG 0xffc00d48 /* DMA Channel 5 Configuration Register */
- #define DMA5_X_COUNT 0xffc00d50 /* DMA Channel 5 X Count Register */
- #define DMA5_X_MODIFY 0xffc00d54 /* DMA Channel 5 X Modify Register */
- #define DMA5_Y_COUNT 0xffc00d58 /* DMA Channel 5 Y Count Register */
- #define DMA5_Y_MODIFY 0xffc00d5c /* DMA Channel 5 Y Modify Register */
- #define DMA5_CURR_DESC_PTR 0xffc00d60 /* DMA Channel 5 Current Descriptor Pointer Register */
- #define DMA5_CURR_ADDR 0xffc00d64 /* DMA Channel 5 Current Address Register */
- #define DMA5_IRQ_STATUS 0xffc00d68 /* DMA Channel 5 Interrupt/Status Register */
- #define DMA5_PERIPHERAL_MAP 0xffc00d6c /* DMA Channel 5 Peripheral Map Register */
- #define DMA5_CURR_X_COUNT 0xffc00d70 /* DMA Channel 5 Current X Count Register */
- #define DMA5_CURR_Y_COUNT 0xffc00d78 /* DMA Channel 5 Current Y Count Register */
- /* DMA Channel 6 Registers */
- #define DMA6_NEXT_DESC_PTR 0xffc00d80 /* DMA Channel 6 Next Descriptor Pointer Register */
- #define DMA6_START_ADDR 0xffc00d84 /* DMA Channel 6 Start Address Register */
- #define DMA6_CONFIG 0xffc00d88 /* DMA Channel 6 Configuration Register */
- #define DMA6_X_COUNT 0xffc00d90 /* DMA Channel 6 X Count Register */
- #define DMA6_X_MODIFY 0xffc00d94 /* DMA Channel 6 X Modify Register */
- #define DMA6_Y_COUNT 0xffc00d98 /* DMA Channel 6 Y Count Register */
- #define DMA6_Y_MODIFY 0xffc00d9c /* DMA Channel 6 Y Modify Register */
- #define DMA6_CURR_DESC_PTR 0xffc00da0 /* DMA Channel 6 Current Descriptor Pointer Register */
- #define DMA6_CURR_ADDR 0xffc00da4 /* DMA Channel 6 Current Address Register */
- #define DMA6_IRQ_STATUS 0xffc00da8 /* DMA Channel 6 Interrupt/Status Register */
- #define DMA6_PERIPHERAL_MAP 0xffc00dac /* DMA Channel 6 Peripheral Map Register */
- #define DMA6_CURR_X_COUNT 0xffc00db0 /* DMA Channel 6 Current X Count Register */
- #define DMA6_CURR_Y_COUNT 0xffc00db8 /* DMA Channel 6 Current Y Count Register */
- /* DMA Channel 7 Registers */
- #define DMA7_NEXT_DESC_PTR 0xffc00dc0 /* DMA Channel 7 Next Descriptor Pointer Register */
- #define DMA7_START_ADDR 0xffc00dc4 /* DMA Channel 7 Start Address Register */
- #define DMA7_CONFIG 0xffc00dc8 /* DMA Channel 7 Configuration Register */
- #define DMA7_X_COUNT 0xffc00dd0 /* DMA Channel 7 X Count Register */
- #define DMA7_X_MODIFY 0xffc00dd4 /* DMA Channel 7 X Modify Register */
- #define DMA7_Y_COUNT 0xffc00dd8 /* DMA Channel 7 Y Count Register */
- #define DMA7_Y_MODIFY 0xffc00ddc /* DMA Channel 7 Y Modify Register */
- #define DMA7_CURR_DESC_PTR 0xffc00de0 /* DMA Channel 7 Current Descriptor Pointer Register */
- #define DMA7_CURR_ADDR 0xffc00de4 /* DMA Channel 7 Current Address Register */
- #define DMA7_IRQ_STATUS 0xffc00de8 /* DMA Channel 7 Interrupt/Status Register */
- #define DMA7_PERIPHERAL_MAP 0xffc00dec /* DMA Channel 7 Peripheral Map Register */
- #define DMA7_CURR_X_COUNT 0xffc00df0 /* DMA Channel 7 Current X Count Register */
- #define DMA7_CURR_Y_COUNT 0xffc00df8 /* DMA Channel 7 Current Y Count Register */
- /* DMA Channel 8 Registers */
- #define DMA8_NEXT_DESC_PTR 0xffc00e00 /* DMA Channel 8 Next Descriptor Pointer Register */
- #define DMA8_START_ADDR 0xffc00e04 /* DMA Channel 8 Start Address Register */
- #define DMA8_CONFIG 0xffc00e08 /* DMA Channel 8 Configuration Register */
- #define DMA8_X_COUNT 0xffc00e10 /* DMA Channel 8 X Count Register */
- #define DMA8_X_MODIFY 0xffc00e14 /* DMA Channel 8 X Modify Register */
- #define DMA8_Y_COUNT 0xffc00e18 /* DMA Channel 8 Y Count Register */
- #define DMA8_Y_MODIFY 0xffc00e1c /* DMA Channel 8 Y Modify Register */
- #define DMA8_CURR_DESC_PTR 0xffc00e20 /* DMA Channel 8 Current Descriptor Pointer Register */
- #define DMA8_CURR_ADDR 0xffc00e24 /* DMA Channel 8 Current Address Register */
- #define DMA8_IRQ_STATUS 0xffc00e28 /* DMA Channel 8 Interrupt/Status Register */
- #define DMA8_PERIPHERAL_MAP 0xffc00e2c /* DMA Channel 8 Peripheral Map Register */
- #define DMA8_CURR_X_COUNT 0xffc00e30 /* DMA Channel 8 Current X Count Register */
- #define DMA8_CURR_Y_COUNT 0xffc00e38 /* DMA Channel 8 Current Y Count Register */
- /* DMA Channel 9 Registers */
- #define DMA9_NEXT_DESC_PTR 0xffc00e40 /* DMA Channel 9 Next Descriptor Pointer Register */
- #define DMA9_START_ADDR 0xffc00e44 /* DMA Channel 9 Start Address Register */
- #define DMA9_CONFIG 0xffc00e48 /* DMA Channel 9 Configuration Register */
- #define DMA9_X_COUNT 0xffc00e50 /* DMA Channel 9 X Count Register */
- #define DMA9_X_MODIFY 0xffc00e54 /* DMA Channel 9 X Modify Register */
- #define DMA9_Y_COUNT 0xffc00e58 /* DMA Channel 9 Y Count Register */
- #define DMA9_Y_MODIFY 0xffc00e5c /* DMA Channel 9 Y Modify Register */
- #define DMA9_CURR_DESC_PTR 0xffc00e60 /* DMA Channel 9 Current Descriptor Pointer Register */
- #define DMA9_CURR_ADDR 0xffc00e64 /* DMA Channel 9 Current Address Register */
- #define DMA9_IRQ_STATUS 0xffc00e68 /* DMA Channel 9 Interrupt/Status Register */
- #define DMA9_PERIPHERAL_MAP 0xffc00e6c /* DMA Channel 9 Peripheral Map Register */
- #define DMA9_CURR_X_COUNT 0xffc00e70 /* DMA Channel 9 Current X Count Register */
- #define DMA9_CURR_Y_COUNT 0xffc00e78 /* DMA Channel 9 Current Y Count Register */
- /* DMA Channel 10 Registers */
- #define DMA10_NEXT_DESC_PTR 0xffc00e80 /* DMA Channel 10 Next Descriptor Pointer Register */
- #define DMA10_START_ADDR 0xffc00e84 /* DMA Channel 10 Start Address Register */
- #define DMA10_CONFIG 0xffc00e88 /* DMA Channel 10 Configuration Register */
- #define DMA10_X_COUNT 0xffc00e90 /* DMA Channel 10 X Count Register */
- #define DMA10_X_MODIFY 0xffc00e94 /* DMA Channel 10 X Modify Register */
- #define DMA10_Y_COUNT 0xffc00e98 /* DMA Channel 10 Y Count Register */
- #define DMA10_Y_MODIFY 0xffc00e9c /* DMA Channel 10 Y Modify Register */
- #define DMA10_CURR_DESC_PTR 0xffc00ea0 /* DMA Channel 10 Current Descriptor Pointer Register */
- #define DMA10_CURR_ADDR 0xffc00ea4 /* DMA Channel 10 Current Address Register */
- #define DMA10_IRQ_STATUS 0xffc00ea8 /* DMA Channel 10 Interrupt/Status Register */
- #define DMA10_PERIPHERAL_MAP 0xffc00eac /* DMA Channel 10 Peripheral Map Register */
- #define DMA10_CURR_X_COUNT 0xffc00eb0 /* DMA Channel 10 Current X Count Register */
- #define DMA10_CURR_Y_COUNT 0xffc00eb8 /* DMA Channel 10 Current Y Count Register */
- /* DMA Channel 11 Registers */
- #define DMA11_NEXT_DESC_PTR 0xffc00ec0 /* DMA Channel 11 Next Descriptor Pointer Register */
- #define DMA11_START_ADDR 0xffc00ec4 /* DMA Channel 11 Start Address Register */
- #define DMA11_CONFIG 0xffc00ec8 /* DMA Channel 11 Configuration Register */
- #define DMA11_X_COUNT 0xffc00ed0 /* DMA Channel 11 X Count Register */
- #define DMA11_X_MODIFY 0xffc00ed4 /* DMA Channel 11 X Modify Register */
- #define DMA11_Y_COUNT 0xffc00ed8 /* DMA Channel 11 Y Count Register */
- #define DMA11_Y_MODIFY 0xffc00edc /* DMA Channel 11 Y Modify Register */
- #define DMA11_CURR_DESC_PTR 0xffc00ee0 /* DMA Channel 11 Current Descriptor Pointer Register */
- #define DMA11_CURR_ADDR 0xffc00ee4 /* DMA Channel 11 Current Address Register */
- #define DMA11_IRQ_STATUS 0xffc00ee8 /* DMA Channel 11 Interrupt/Status Register */
- #define DMA11_PERIPHERAL_MAP 0xffc00eec /* DMA Channel 11 Peripheral Map Register */
- #define DMA11_CURR_X_COUNT 0xffc00ef0 /* DMA Channel 11 Current X Count Register */
- #define DMA11_CURR_Y_COUNT 0xffc00ef8 /* DMA Channel 11 Current Y Count Register */
- /* MDMA Stream 0 Registers */
- #define MDMA_D0_NEXT_DESC_PTR 0xffc00f00 /* Memory DMA Stream 0 Destination Next Descriptor Pointer Register */
- #define MDMA_D0_START_ADDR 0xffc00f04 /* Memory DMA Stream 0 Destination Start Address Register */
- #define MDMA_D0_CONFIG 0xffc00f08 /* Memory DMA Stream 0 Destination Configuration Register */
- #define MDMA_D0_X_COUNT 0xffc00f10 /* Memory DMA Stream 0 Destination X Count Register */
- #define MDMA_D0_X_MODIFY 0xffc00f14 /* Memory DMA Stream 0 Destination X Modify Register */
- #define MDMA_D0_Y_COUNT 0xffc00f18 /* Memory DMA Stream 0 Destination Y Count Register */
- #define MDMA_D0_Y_MODIFY 0xffc00f1c /* Memory DMA Stream 0 Destination Y Modify Register */
- #define MDMA_D0_CURR_DESC_PTR 0xffc00f20 /* Memory DMA Stream 0 Destination Current Descriptor Pointer Register */
- #define MDMA_D0_CURR_ADDR 0xffc00f24 /* Memory DMA Stream 0 Destination Current Address Register */
- #define MDMA_D0_IRQ_STATUS 0xffc00f28 /* Memory DMA Stream 0 Destination Interrupt/Status Register */
- #define MDMA_D0_PERIPHERAL_MAP 0xffc00f2c /* Memory DMA Stream 0 Destination Peripheral Map Register */
- #define MDMA_D0_CURR_X_COUNT 0xffc00f30 /* Memory DMA Stream 0 Destination Current X Count Register */
- #define MDMA_D0_CURR_Y_COUNT 0xffc00f38 /* Memory DMA Stream 0 Destination Current Y Count Register */
- #define MDMA_S0_NEXT_DESC_PTR 0xffc00f40 /* Memory DMA Stream 0 Source Next Descriptor Pointer Register */
- #define MDMA_S0_START_ADDR 0xffc00f44 /* Memory DMA Stream 0 Source Start Address Register */
- #define MDMA_S0_CONFIG 0xffc00f48 /* Memory DMA Stream 0 Source Configuration Register */
- #define MDMA_S0_X_COUNT 0xffc00f50 /* Memory DMA Stream 0 Source X Count Register */
- #define MDMA_S0_X_MODIFY 0xffc00f54 /* Memory DMA Stream 0 Source X Modify Register */
- #define MDMA_S0_Y_COUNT 0xffc00f58 /* Memory DMA Stream 0 Source Y Count Register */
- #define MDMA_S0_Y_MODIFY 0xffc00f5c /* Memory DMA Stream 0 Source Y Modify Register */
- #define MDMA_S0_CURR_DESC_PTR 0xffc00f60 /* Memory DMA Stream 0 Source Current Descriptor Pointer Register */
- #define MDMA_S0_CURR_ADDR 0xffc00f64 /* Memory DMA Stream 0 Source Current Address Register */
- #define MDMA_S0_IRQ_STATUS 0xffc00f68 /* Memory DMA Stream 0 Source Interrupt/Status Register */
- #define MDMA_S0_PERIPHERAL_MAP 0xffc00f6c /* Memory DMA Stream 0 Source Peripheral Map Register */
- #define MDMA_S0_CURR_X_COUNT 0xffc00f70 /* Memory DMA Stream 0 Source Current X Count Register */
- #define MDMA_S0_CURR_Y_COUNT 0xffc00f78 /* Memory DMA Stream 0 Source Current Y Count Register */
- /* MDMA Stream 1 Registers */
- #define MDMA_D1_NEXT_DESC_PTR 0xffc00f80 /* Memory DMA Stream 1 Destination Next Descriptor Pointer Register */
- #define MDMA_D1_START_ADDR 0xffc00f84 /* Memory DMA Stream 1 Destination Start Address Register */
- #define MDMA_D1_CONFIG 0xffc00f88 /* Memory DMA Stream 1 Destination Configuration Register */
- #define MDMA_D1_X_COUNT 0xffc00f90 /* Memory DMA Stream 1 Destination X Count Register */
- #define MDMA_D1_X_MODIFY 0xffc00f94 /* Memory DMA Stream 1 Destination X Modify Register */
- #define MDMA_D1_Y_COUNT 0xffc00f98 /* Memory DMA Stream 1 Destination Y Count Register */
- #define MDMA_D1_Y_MODIFY 0xffc00f9c /* Memory DMA Stream 1 Destination Y Modify Register */
- #define MDMA_D1_CURR_DESC_PTR 0xffc00fa0 /* Memory DMA Stream 1 Destination Current Descriptor Pointer Register */
- #define MDMA_D1_CURR_ADDR 0xffc00fa4 /* Memory DMA Stream 1 Destination Current Address Register */
- #define MDMA_D1_IRQ_STATUS 0xffc00fa8 /* Memory DMA Stream 1 Destination Interrupt/Status Register */
- #define MDMA_D1_PERIPHERAL_MAP 0xffc00fac /* Memory DMA Stream 1 Destination Peripheral Map Register */
- #define MDMA_D1_CURR_X_COUNT 0xffc00fb0 /* Memory DMA Stream 1 Destination Current X Count Register */
- #define MDMA_D1_CURR_Y_COUNT 0xffc00fb8 /* Memory DMA Stream 1 Destination Current Y Count Register */
- #define MDMA_S1_NEXT_DESC_PTR 0xffc00fc0 /* Memory DMA Stream 1 Source Next Descriptor Pointer Register */
- #define MDMA_S1_START_ADDR 0xffc00fc4 /* Memory DMA Stream 1 Source Start Address Register */
- #define MDMA_S1_CONFIG 0xffc00fc8 /* Memory DMA Stream 1 Source Configuration Register */
- #define MDMA_S1_X_COUNT 0xffc00fd0 /* Memory DMA Stream 1 Source X Count Register */
- #define MDMA_S1_X_MODIFY 0xffc00fd4 /* Memory DMA Stream 1 Source X Modify Register */
- #define MDMA_S1_Y_COUNT 0xffc00fd8 /* Memory DMA Stream 1 Source Y Count Register */
- #define MDMA_S1_Y_MODIFY 0xffc00fdc /* Memory DMA Stream 1 Source Y Modify Register */
- #define MDMA_S1_CURR_DESC_PTR 0xffc00fe0 /* Memory DMA Stream 1 Source Current Descriptor Pointer Register */
- #define MDMA_S1_CURR_ADDR 0xffc00fe4 /* Memory DMA Stream 1 Source Current Address Register */
- #define MDMA_S1_IRQ_STATUS 0xffc00fe8 /* Memory DMA Stream 1 Source Interrupt/Status Register */
- #define MDMA_S1_PERIPHERAL_MAP 0xffc00fec /* Memory DMA Stream 1 Source Peripheral Map Register */
- #define MDMA_S1_CURR_X_COUNT 0xffc00ff0 /* Memory DMA Stream 1 Source Current X Count Register */
- #define MDMA_S1_CURR_Y_COUNT 0xffc00ff8 /* Memory DMA Stream 1 Source Current Y Count Register */
- /* UART3 Registers */
- #define UART3_DLL 0xffc03100 /* Divisor Latch Low Byte */
- #define UART3_DLH 0xffc03104 /* Divisor Latch High Byte */
- #define UART3_GCTL 0xffc03108 /* Global Control Register */
- #define UART3_LCR 0xffc0310c /* Line Control Register */
- #define UART3_MCR 0xffc03110 /* Modem Control Register */
- #define UART3_LSR 0xffc03114 /* Line Status Register */
- #define UART3_MSR 0xffc03118 /* Modem Status Register */
- #define UART3_SCR 0xffc0311c /* Scratch Register */
- #define UART3_IER_SET 0xffc03120 /* Interrupt Enable Register Set */
- #define UART3_IER_CLEAR 0xffc03124 /* Interrupt Enable Register Clear */
- #define UART3_THR 0xffc03128 /* Transmit Hold Register */
- #define UART3_RBR 0xffc0312c /* Receive Buffer Register */
- /* EPPI1 Registers */
- #define EPPI1_STATUS 0xffc01300 /* EPPI1 Status Register */
- #define EPPI1_HCOUNT 0xffc01304 /* EPPI1 Horizontal Transfer Count Register */
- #define EPPI1_HDELAY 0xffc01308 /* EPPI1 Horizontal Delay Count Register */
- #define EPPI1_VCOUNT 0xffc0130c /* EPPI1 Vertical Transfer Count Register */
- #define EPPI1_VDELAY 0xffc01310 /* EPPI1 Vertical Delay Count Register */
- #define EPPI1_FRAME 0xffc01314 /* EPPI1 Lines per Frame Register */
- #define EPPI1_LINE 0xffc01318 /* EPPI1 Samples per Line Register */
- #define EPPI1_CLKDIV 0xffc0131c /* EPPI1 Clock Divide Register */
- #define EPPI1_CONTROL 0xffc01320 /* EPPI1 Control Register */
- #define EPPI1_FS1W_HBL 0xffc01324 /* EPPI1 FS1 Width Register / EPPI1 Horizontal Blanking Samples Per Line Register */
- #define EPPI1_FS1P_AVPL 0xffc01328 /* EPPI1 FS1 Period Register / EPPI1 Active Video Samples Per Line Register */
- #define EPPI1_FS2W_LVB 0xffc0132c /* EPPI1 FS2 Width Register / EPPI1 Lines of Vertical Blanking Register */
- #define EPPI1_FS2P_LAVF 0xffc01330 /* EPPI1 FS2 Period Register/ EPPI1 Lines of Active Video Per Field Register */
- #define EPPI1_CLIP 0xffc01334 /* EPPI1 Clipping Register */
- /* Port Interrupt 0 Registers (32-bit) */
- #define PINT0_MASK_SET 0xffc01400 /* Pin Interrupt 0 Mask Set Register */
- #define PINT0_MASK_CLEAR 0xffc01404 /* Pin Interrupt 0 Mask Clear Register */
- #define PINT0_REQUEST 0xffc01408 /* Pin Interrupt 0 Interrupt Request Register */
- #define PINT0_ASSIGN 0xffc0140c /* Pin Interrupt 0 Port Assign Register */
- #define PINT0_EDGE_SET 0xffc01410 /* Pin Interrupt 0 Edge-sensitivity Set Register */
- #define PINT0_EDGE_CLEAR 0xffc01414 /* Pin Interrupt 0 Edge-sensitivity Clear Register */
- #define PINT0_INVERT_SET 0xffc01418 /* Pin Interrupt 0 Inversion Set Register */
- #define PINT0_INVERT_CLEAR 0xffc0141c /* Pin Interrupt 0 Inversion Clear Register */
- #define PINT0_PINSTATE 0xffc01420 /* Pin Interrupt 0 Pin Status Register */
- #define PINT0_LATCH 0xffc01424 /* Pin Interrupt 0 Latch Register */
- /* Port Interrupt 1 Registers (32-bit) */
- #define PINT1_MASK_SET 0xffc01430 /* Pin Interrupt 1 Mask Set Register */
- #define PINT1_MASK_CLEAR 0xffc01434 /* Pin Interrupt 1 Mask Clear Register */
- #define PINT1_REQUEST 0xffc01438 /* Pin Interrupt 1 Interrupt Request Register */
- #define PINT1_ASSIGN 0xffc0143c /* Pin Interrupt 1 Port Assign Register */
- #define PINT1_EDGE_SET 0xffc01440 /* Pin Interrupt 1 Edge-sensitivity Set Register */
- #define PINT1_EDGE_CLEAR 0xffc01444 /* Pin Interrupt 1 Edge-sensitivity Clear Register */
- #define PINT1_INVERT_SET 0xffc01448 /* Pin Interrupt 1 Inversion Set Register */
- #define PINT1_INVERT_CLEAR 0xffc0144c /* Pin Interrupt 1 Inversion Clear Register */
- #define PINT1_PINSTATE 0xffc01450 /* Pin Interrupt 1 Pin Status Register */
- #define PINT1_LATCH 0xffc01454 /* Pin Interrupt 1 Latch Register */
- /* Port Interrupt 2 Registers (32-bit) */
- #define PINT2_MASK_SET 0xffc01460 /* Pin Interrupt 2 Mask Set Register */
- #define PINT2_MASK_CLEAR 0xffc01464 /* Pin Interrupt 2 Mask Clear Register */
- #define PINT2_REQUEST 0xffc01468 /* Pin Interrupt 2 Interrupt Request Register */
- #define PINT2_ASSIGN 0xffc0146c /* Pin Interrupt 2 Port Assign Register */
- #define PINT2_EDGE_SET 0xffc01470 /* Pin Interrupt 2 Edge-sensitivity Set Register */
- #define PINT2_EDGE_CLEAR 0xffc01474 /* Pin Interrupt 2 Edge-sensitivity Clear Register */
- #define PINT2_INVERT_SET 0xffc01478 /* Pin Interrupt 2 Inversion Set Register */
- #define PINT2_INVERT_CLEAR 0xffc0147c /* Pin Interrupt 2 Inversion Clear Register */
- #define PINT2_PINSTATE 0xffc01480 /* Pin Interrupt 2 Pin Status Register */
- #define PINT2_LATCH 0xffc01484 /* Pin Interrupt 2 Latch Register */
- /* Port Interrupt 3 Registers (32-bit) */
- #define PINT3_MASK_SET 0xffc01490 /* Pin Interrupt 3 Mask Set Register */
- #define PINT3_MASK_CLEAR 0xffc01494 /* Pin Interrupt 3 Mask Clear Register */
- #define PINT3_REQUEST 0xffc01498 /* Pin Interrupt 3 Interrupt Request Register */
- #define PINT3_ASSIGN 0xffc0149c /* Pin Interrupt 3 Port Assign Register */
- #define PINT3_EDGE_SET 0xffc014a0 /* Pin Interrupt 3 Edge-sensitivity Set Register */
- #define PINT3_EDGE_CLEAR 0xffc014a4 /* Pin Interrupt 3 Edge-sensitivity Clear Register */
- #define PINT3_INVERT_SET 0xffc014a8 /* Pin Interrupt 3 Inversion Set Register */
- #define PINT3_INVERT_CLEAR 0xffc014ac /* Pin Interrupt 3 Inversion Clear Register */
- #define PINT3_PINSTATE 0xffc014b0 /* Pin Interrupt 3 Pin Status Register */
- #define PINT3_LATCH 0xffc014b4 /* Pin Interrupt 3 Latch Register */
- /* Port A Registers */
- #define PORTA_FER 0xffc014c0 /* Function Enable Register */
- #define PORTA 0xffc014c4 /* GPIO Data Register */
- #define PORTA_SET 0xffc014c8 /* GPIO Data Set Register */
- #define PORTA_CLEAR 0xffc014cc /* GPIO Data Clear Register */
- #define PORTA_DIR_SET 0xffc014d0 /* GPIO Direction Set Register */
- #define PORTA_DIR_CLEAR 0xffc014d4 /* GPIO Direction Clear Register */
- #define PORTA_INEN 0xffc014d8 /* GPIO Input Enable Register */
- #define PORTA_MUX 0xffc014dc /* Multiplexer Control Register */
- /* Port B Registers */
- #define PORTB_FER 0xffc014e0 /* Function Enable Register */
- #define PORTB 0xffc014e4 /* GPIO Data Register */
- #define PORTB_SET 0xffc014e8 /* GPIO Data Set Register */
- #define PORTB_CLEAR 0xffc014ec /* GPIO Data Clear Register */
- #define PORTB_DIR_SET 0xffc014f0 /* GPIO Direction Set Register */
- #define PORTB_DIR_CLEAR 0xffc014f4 /* GPIO Direction Clear Register */
- #define PORTB_INEN 0xffc014f8 /* GPIO Input Enable Register */
- #define PORTB_MUX 0xffc014fc /* Multiplexer Control Register */
- /* Port C Registers */
- #define PORTC_FER 0xffc01500 /* Function Enable Register */
- #define PORTC 0xffc01504 /* GPIO Data Register */
- #define PORTC_SET 0xffc01508 /* GPIO Data Set Register */
- #define PORTC_CLEAR 0xffc0150c /* GPIO Data Clear Register */
- #define PORTC_DIR_SET 0xffc01510 /* GPIO Direction Set Register */
- #define PORTC_DIR_CLEAR 0xffc01514 /* GPIO Direction Clear Register */
- #define PORTC_INEN 0xffc01518 /* GPIO Input Enable Register */
- #define PORTC_MUX 0xffc0151c /* Multiplexer Control Register */
- /* Port D Registers */
- #define PORTD_FER 0xffc01520 /* Function Enable Register */
- #define PORTD 0xffc01524 /* GPIO Data Register */
- #define PORTD_SET 0xffc01528 /* GPIO Data Set Register */
- #define PORTD_CLEAR 0xffc0152c /* GPIO Data Clear Register */
- #define PORTD_DIR_SET 0xffc01530 /* GPIO Direction Set Register */
- #define PORTD_DIR_CLEAR 0xffc01534 /* GPIO Direction Clear Register */
- #define PORTD_INEN 0xffc01538 /* GPIO Input Enable Register */
- #define PORTD_MUX 0xffc0153c /* Multiplexer Control Register */
- /* Port E Registers */
- #define PORTE_FER 0xffc01540 /* Function Enable Register */
- #define PORTE 0xffc01544 /* GPIO Data Register */
- #define PORTE_SET 0xffc01548 /* GPIO Data Set Register */
- #define PORTE_CLEAR 0xffc0154c /* GPIO Data Clear Register */
- #define PORTE_DIR_SET 0xffc01550 /* GPIO Direction Set Register */
- #define PORTE_DIR_CLEAR 0xffc01554 /* GPIO Direction Clear Register */
- #define PORTE_INEN 0xffc01558 /* GPIO Input Enable Register */
- #define PORTE_MUX 0xffc0155c /* Multiplexer Control Register */
- /* Port F Registers */
- #define PORTF_FER 0xffc01560 /* Function Enable Register */
- #define PORTF 0xffc01564 /* GPIO Data Register */
- #define PORTF_SET 0xffc01568 /* GPIO Data Set Register */
- #define PORTF_CLEAR 0xffc0156c /* GPIO Data Clear Register */
- #define PORTF_DIR_SET 0xffc01570 /* GPIO Direction Set Register */
- #define PORTF_DIR_CLEAR 0xffc01574 /* GPIO Direction Clear Register */
- #define PORTF_INEN 0xffc01578 /* GPIO Input Enable Register */
- #define PORTF_MUX 0xffc0157c /* Multiplexer Control Register */
- /* Port G Registers */
- #define PORTG_FER 0xffc01580 /* Function Enable Register */
- #define PORTG 0xffc01584 /* GPIO Data Register */
- #define PORTG_SET 0xffc01588 /* GPIO Data Set Register */
- #define PORTG_CLEAR 0xffc0158c /* GPIO Data Clear Register */
- #define PORTG_DIR_SET 0xffc01590 /* GPIO Direction Set Register */
- #define PORTG_DIR_CLEAR 0xffc01594 /* GPIO Direction Clear Register */
- #define PORTG_INEN 0xffc01598 /* GPIO Input Enable Register */
- #define PORTG_MUX 0xffc0159c /* Multiplexer Control Register */
- /* Port H Registers */
- #define PORTH_FER 0xffc015a0 /* Function Enable Register */
- #define PORTH 0xffc015a4 /* GPIO Data Register */
- #define PORTH_SET 0xffc015a8 /* GPIO Data Set Register */
- #define PORTH_CLEAR 0xffc015ac /* GPIO Data Clear Register */
- #define PORTH_DIR_SET 0xffc015b0 /* GPIO Direction Set Register */
- #define PORTH_DIR_CLEAR 0xffc015b4 /* GPIO Direction Clear Register */
- #define PORTH_INEN 0xffc015b8 /* GPIO Input Enable Register */
- #define PORTH_MUX 0xffc015bc /* Multiplexer Control Register */
- /* Port I Registers */
- #define PORTI_FER 0xffc015c0 /* Function Enable Register */
- #define PORTI 0xffc015c4 /* GPIO Data Register */
- #define PORTI_SET 0xffc015c8 /* GPIO Data Set Register */
- #define PORTI_CLEAR 0xffc015cc /* GPIO Data Clear Register */
- #define PORTI_DIR_SET 0xffc015d0 /* GPIO Direction Set Register */
- #define PORTI_DIR_CLEAR 0xffc015d4 /* GPIO Direction Clear Register */
- #define PORTI_INEN 0xffc015d8 /* GPIO Input Enable Register */
- #define PORTI_MUX 0xffc015dc /* Multiplexer Control Register */
- /* Port J Registers */
- #define PORTJ_FER 0xffc015e0 /* Function Enable Register */
- #define PORTJ 0xffc015e4 /* GPIO Data Register */
- #define PORTJ_SET 0xffc015e8 /* GPIO Data Set Register */
- #define PORTJ_CLEAR 0xffc015ec /* GPIO Data Clear Register */
- #define PORTJ_DIR_SET 0xffc015f0 /* GPIO Direction Set Register */
- #define PORTJ_DIR_CLEAR 0xffc015f4 /* GPIO Direction Clear Register */
- #define PORTJ_INEN 0xffc015f8 /* GPIO Input Enable Register */
- #define PORTJ_MUX 0xffc015fc /* Multiplexer Control Register */
- /* PWM Timer Registers */
- #define TIMER0_CONFIG 0xffc01600 /* Timer 0 Configuration Register */
- #define TIMER0_COUNTER 0xffc01604 /* Timer 0 Counter Register */
- #define TIMER0_PERIOD 0xffc01608 /* Timer 0 Period Register */
- #define TIMER0_WIDTH 0xffc0160c /* Timer 0 Width Register */
- #define TIMER1_CONFIG 0xffc01610 /* Timer 1 Configuration Register */
- #define TIMER1_COUNTER 0xffc01614 /* Timer 1 Counter Register */
- #define TIMER1_PERIOD 0xffc01618 /* Timer 1 Period Register */
- #define TIMER1_WIDTH 0xffc0161c /* Timer 1 Width Register */
- #define TIMER2_CONFIG 0xffc01620 /* Timer 2 Configuration Register */
- #define TIMER2_COUNTER 0xffc01624 /* Timer 2 Counter Register */
- #define TIMER2_PERIOD 0xffc01628 /* Timer 2 Period Register */
- #define TIMER2_WIDTH 0xffc0162c /* Timer 2 Width Register */
- #define TIMER3_CONFIG 0xffc01630 /* Timer 3 Configuration Register */
- #define TIMER3_COUNTER 0xffc01634 /* Timer 3 Counter Register */
- #define TIMER3_PERIOD 0xffc01638 /* Timer 3 Period Register */
- #define TIMER3_WIDTH 0xffc0163c /* Timer 3 Width Register */
- #define TIMER4_CONFIG 0xffc01640 /* Timer 4 Configuration Register */
- #define TIMER4_COUNTER 0xffc01644 /* Timer 4 Counter Register */
- #define TIMER4_PERIOD 0xffc01648 /* Timer 4 Period Register */
- #define TIMER4_WIDTH 0xffc0164c /* Timer 4 Width Register */
- #define TIMER5_CONFIG 0xffc01650 /* Timer 5 Configuration Register */
- #define TIMER5_COUNTER 0xffc01654 /* Timer 5 Counter Register */
- #define TIMER5_PERIOD 0xffc01658 /* Timer 5 Period Register */
- #define TIMER5_WIDTH 0xffc0165c /* Timer 5 Width Register */
- #define TIMER6_CONFIG 0xffc01660 /* Timer 6 Configuration Register */
- #define TIMER6_COUNTER 0xffc01664 /* Timer 6 Counter Register */
- #define TIMER6_PERIOD 0xffc01668 /* Timer 6 Period Register */
- #define TIMER6_WIDTH 0xffc0166c /* Timer 6 Width Register */
- #define TIMER7_CONFIG 0xffc01670 /* Timer 7 Configuration Register */
- #define TIMER7_COUNTER 0xffc01674 /* Timer 7 Counter Register */
- #define TIMER7_PERIOD 0xffc01678 /* Timer 7 Period Register */
- #define TIMER7_WIDTH 0xffc0167c /* Timer 7 Width Register */
- /* Timer Group of 8 */
- #define TIMER_ENABLE0 0xffc01680 /* Timer Group of 8 Enable Register */
- #define TIMER_DISABLE0 0xffc01684 /* Timer Group of 8 Disable Register */
- #define TIMER_STATUS0 0xffc01688 /* Timer Group of 8 Status Register */
- /* DMAC1 Registers */
- #define DMAC1_TC_PER 0xffc01b0c /* DMA Controller 1 Traffic Control Periods Register */
- #define DMAC1_TC_CNT 0xffc01b10 /* DMA Controller 1 Current Counts Register */
- /* DMA Channel 12 Registers */
- #define DMA12_NEXT_DESC_PTR 0xffc01c00 /* DMA Channel 12 Next Descriptor Pointer Register */
- #define DMA12_START_ADDR 0xffc01c04 /* DMA Channel 12 Start Address Register */
- #define DMA12_CONFIG 0xffc01c08 /* DMA Channel 12 Configuration Register */
- #define DMA12_X_COUNT 0xffc01c10 /* DMA Channel 12 X Count Register */
- #define DMA12_X_MODIFY 0xffc01c14 /* DMA Channel 12 X Modify Register */
- #define DMA12_Y_COUNT 0xffc01c18 /* DMA Channel 12 Y Count Register */
- #define DMA12_Y_MODIFY 0xffc01c1c /* DMA Channel 12 Y Modify Register */
- #define DMA12_CURR_DESC_PTR 0xffc01c20 /* DMA Channel 12 Current Descriptor Pointer Register */
- #define DMA12_CURR_ADDR 0xffc01c24 /* DMA Channel 12 Current Address Register */
- #define DMA12_IRQ_STATUS 0xffc01c28 /* DMA Channel 12 Interrupt/Status Register */
- #define DMA12_PERIPHERAL_MAP 0xffc01c2c /* DMA Channel 12 Peripheral Map Register */
- #define DMA12_CURR_X_COUNT 0xffc01c30 /* DMA Channel 12 Current X Count Register */
- #define DMA12_CURR_Y_COUNT 0xffc01c38 /* DMA Channel 12 Current Y Count Register */
- /* DMA Channel 13 Registers */
- #define DMA13_NEXT_DESC_PTR 0xffc01c40 /* DMA Channel 13 Next Descriptor Pointer Register */
- #define DMA13_START_ADDR 0xffc01c44 /* DMA Channel 13 Start Address Register */
- #define DMA13_CONFIG 0xffc01c48 /* DMA Channel 13 Configuration Register */
- #define DMA13_X_COUNT 0xffc01c50 /* DMA Channel 13 X Count Register */
- #define DMA13_X_MODIFY 0xffc01c54 /* DMA Channel 13 X Modify Register */
- #define DMA13_Y_COUNT 0xffc01c58 /* DMA Channel 13 Y Count Register */
- #define DMA13_Y_MODIFY 0xffc01c5c /* DMA Channel 13 Y Modify Register */
- #define DMA13_CURR_DESC_PTR 0xffc01c60 /* DMA Channel 13 Current Descriptor Pointer Register */
- #define DMA13_CURR_ADDR 0xffc01c64 /* DMA Channel 13 Current Address Register */
- #define DMA13_IRQ_STATUS 0xffc01c68 /* DMA Channel 13 Interrupt/Status Register */
- #define DMA13_PERIPHERAL_MAP 0xffc01c6c /* DMA Channel 13 Peripheral Map Register */
- #define DMA13_CURR_X_COUNT 0xffc01c70 /* DMA Channel 13 Current X Count Register */
- #define DMA13_CURR_Y_COUNT 0xffc01c78 /* DMA Channel 13 Current Y Count Register */
- /* DMA Channel 14 Registers */
- #define DMA14_NEXT_DESC_PTR 0xffc01c80 /* DMA Channel 14 Next Descriptor Pointer Register */
- #define DMA14_START_ADDR 0xffc01c84 /* DMA Channel 14 Start Address Register */
- #define DMA14_CONFIG 0xffc01c88 /* DMA Channel 14 Configuration Register */
- #define DMA14_X_COUNT 0xffc01c90 /* DMA Channel 14 X Count Register */
- #define DMA14_X_MODIFY 0xffc01c94 /* DMA Channel 14 X Modify Register */
- #define DMA14_Y_COUNT 0xffc01c98 /* DMA Channel 14 Y Count Register */
- #define DMA14_Y_MODIFY 0xffc01c9c /* DMA Channel 14 Y Modify Register */
- #define DMA14_CURR_DESC_PTR 0xffc01ca0 /* DMA Channel 14 Current Descriptor Pointer Register */
- #define DMA14_CURR_ADDR 0xffc01ca4 /* DMA Channel 14 Current Address Register */
- #define DMA14_IRQ_STATUS 0xffc01ca8 /* DMA Channel 14 Interrupt/Status Register */
- #define DMA14_PERIPHERAL_MAP 0xffc01cac /* DMA Channel 14 Peripheral Map Register */
- #define DMA14_CURR_X_COUNT 0xffc01cb0 /* DMA Channel 14 Current X Count Register */
- #define DMA14_CURR_Y_COUNT 0xffc01cb8 /* DMA Channel 14 Current Y Count Register */
- /* DMA Channel 15 Registers */
- #define DMA15_NEXT_DESC_PTR 0xffc01cc0 /* DMA Channel 15 Next Descriptor Pointer Register */
- #define DMA15_START_ADDR 0xffc01cc4 /* DMA Channel 15 Start Address Register */
- #define DMA15_CONFIG 0xffc01cc8 /* DMA Channel 15 Configuration Register */
- #define DMA15_X_COUNT 0xffc01cd0 /* DMA Channel 15 X Count Register */
- #define DMA15_X_MODIFY 0xffc01cd4 /* DMA Channel 15 X Modify Register */
- #define DMA15_Y_COUNT 0xffc01cd8 /* DMA Channel 15 Y Count Register */
- #define DMA15_Y_MODIFY 0xffc01cdc /* DMA Channel 15 Y Modify Register */
- #define DMA15_CURR_DESC_PTR 0xffc01ce0 /* DMA Channel 15 Current Descriptor Pointer Register */
- #define DMA15_CURR_ADDR 0xffc01ce4 /* DMA Channel 15 Current Address Register */
- #define DMA15_IRQ_STATUS 0xffc01ce8 /* DMA Channel 15 Interrupt/Status Register */
- #define DMA15_PERIPHERAL_MAP 0xffc01cec /* DMA Channel 15 Peripheral Map Register */
- #define DMA15_CURR_X_COUNT 0xffc01cf0 /* DMA Channel 15 Current X Count Register */
- #define DMA15_CURR_Y_COUNT 0xffc01cf8 /* DMA Channel 15 Current Y Count Register */
- /* DMA Channel 16 Registers */
- #define DMA16_NEXT_DESC_PTR 0xffc01d00 /* DMA Channel 16 Next Descriptor Pointer Register */
- #define DMA16_START_ADDR 0xffc01d04 /* DMA Channel 16 Start Address Register */
- #define DMA16_CONFIG 0xffc01d08 /* DMA Channel 16 Configuration Register */
- #define DMA16_X_COUNT 0xffc01d10 /* DMA Channel 16 X Count Register */
- #define DMA16_X_MODIFY 0xffc01d14 /* DMA Channel 16 X Modify Register */
- #define DMA16_Y_COUNT 0xffc01d18 /* DMA Channel 16 Y Count Register */
- #define DMA16_Y_MODIFY 0xffc01d1c /* DMA Channel 16 Y Modify Register */
- #define DMA16_CURR_DESC_PTR 0xffc01d20 /* DMA Channel 16 Current Descriptor Pointer Register */
- #define DMA16_CURR_ADDR 0xffc01d24 /* DMA Channel 16 Current Address Register */
- #define DMA16_IRQ_STATUS 0xffc01d28 /* DMA Channel 16 Interrupt/Status Register */
- #define DMA16_PERIPHERAL_MAP 0xffc01d2c /* DMA Channel 16 Peripheral Map Register */
- #define DMA16_CURR_X_COUNT 0xffc01d30 /* DMA Channel 16 Current X Count Register */
- #define DMA16_CURR_Y_COUNT 0xffc01d38 /* DMA Channel 16 Current Y Count Register */
- /* DMA Channel 17 Registers */
- #define DMA17_NEXT_DESC_PTR 0xffc01d40 /* DMA Channel 17 Next Descriptor Pointer Register */
- #define DMA17_START_ADDR 0xffc01d44 /* DMA Channel 17 Start Address Register */
- #define DMA17_CONFIG 0xffc01d48 /* DMA Channel 17 Configuration Register */
- #define DMA17_X_COUNT 0xffc01d50 /* DMA Channel 17 X Count Register */
- #define DMA17_X_MODIFY 0xffc01d54 /* DMA Channel 17 X Modify Register */
- #define DMA17_Y_COUNT 0xffc01d58 /* DMA Channel 17 Y Count Register */
- #define DMA17_Y_MODIFY 0xffc01d5c /* DMA Channel 17 Y Modify Register */
- #define DMA17_CURR_DESC_PTR 0xffc01d60 /* DMA Channel 17 Current Descriptor Pointer Register */
- #define DMA17_CURR_ADDR 0xffc01d64 /* DMA Channel 17 Current Address Register */
- #define DMA17_IRQ_STATUS 0xffc01d68 /* DMA Channel 17 Interrupt/Status Register */
- #define DMA17_PERIPHERAL_MAP 0xffc01d6c /* DMA Channel 17 Peripheral Map Register */
- #define DMA17_CURR_X_COUNT 0xffc01d70 /* DMA Channel 17 Current X Count Register */
- #define DMA17_CURR_Y_COUNT 0xffc01d78 /* DMA Channel 17 Current Y Count Register */
- /* DMA Channel 18 Registers */
- #define DMA18_NEXT_DESC_PTR 0xffc01d80 /* DMA Channel 18 Next Descriptor Pointer Register */
- #define DMA18_START_ADDR 0xffc01d84 /* DMA Channel 18 Start Address Register */
- #define DMA18_CONFIG 0xffc01d88 /* DMA Channel 18 Configuration Register */
- #define DMA18_X_COUNT 0xffc01d90 /* DMA Channel 18 X Count Register */
- #define DMA18_X_MODIFY 0xffc01d94 /* DMA Channel 18 X Modify Register */
- #define DMA18_Y_COUNT 0xffc01d98 /* DMA Channel 18 Y Count Register */
- #define DMA18_Y_MODIFY 0xffc01d9c /* DMA Channel 18 Y Modify Register */
- #define DMA18_CURR_DESC_PTR 0xffc01da0 /* DMA Channel 18 Current Descriptor Pointer Register */
- #define DMA18_CURR_ADDR 0xffc01da4 /* DMA Channel 18 Current Address Register */
- #define DMA18_IRQ_STATUS 0xffc01da8 /* DMA Channel 18 Interrupt/Status Register */
- #define DMA18_PERIPHERAL_MAP 0xffc01dac /* DMA Channel 18 Peripheral Map Register */
- #define DMA18_CURR_X_COUNT 0xffc01db0 /* DMA Channel 18 Current X Count Register */
- #define DMA18_CURR_Y_COUNT 0xffc01db8 /* DMA Channel 18 Current Y Count Register */
- /* DMA Channel 19 Registers */
- #define DMA19_NEXT_DESC_PTR 0xffc01dc0 /* DMA Channel 19 Next Descriptor Pointer Register */
- #define DMA19_START_ADDR 0xffc01dc4 /* DMA Channel 19 Start Address Register */
- #define DMA19_CONFIG 0xffc01dc8 /* DMA Channel 19 Configuration Register */
- #define DMA19_X_COUNT 0xffc01dd0 /* DMA Channel 19 X Count Register */
- #define DMA19_X_MODIFY 0xffc01dd4 /* DMA Channel 19 X Modify Register */
- #define DMA19_Y_COUNT 0xffc01dd8 /* DMA Channel 19 Y Count Register */
- #define DMA19_Y_MODIFY 0xffc01ddc /* DMA Channel 19 Y Modify Register */
- #define DMA19_CURR_DESC_PTR 0xffc01de0 /* DMA Channel 19 Current Descriptor Pointer Register */
- #define DMA19_CURR_ADDR 0xffc01de4 /* DMA Channel 19 Current Address Register */
- #define DMA19_IRQ_STATUS 0xffc01de8 /* DMA Channel 19 Interrupt/Status Register */
- #define DMA19_PERIPHERAL_MAP 0xffc01dec /* DMA Channel 19 Peripheral Map Register */
- #define DMA19_CURR_X_COUNT 0xffc01df0 /* DMA Channel 19 Current X Count Register */
- #define DMA19_CURR_Y_COUNT 0xffc01df8 /* DMA Channel 19 Current Y Count Register */
- /* DMA Channel 20 Registers */
- #define DMA20_NEXT_DESC_PTR 0xffc01e00 /* DMA Channel 20 Next Descriptor Pointer Register */
- #define DMA20_START_ADDR 0xffc01e04 /* DMA Channel 20 Start Address Register */
- #define DMA20_CONFIG 0xffc01e08 /* DMA Channel 20 Configuration Register */
- #define DMA20_X_COUNT 0xffc01e10 /* DMA Channel 20 X Count Register */
- #define DMA20_X_MODIFY 0xffc01e14 /* DMA Channel 20 X Modify Register */
- #define DMA20_Y_COUNT 0xffc01e18 /* DMA Channel 20 Y Count Register */
- #define DMA20_Y_MODIFY 0xffc01e1c /* DMA Channel 20 Y Modify Register */
- #define DMA20_CURR_DESC_PTR 0xffc01e20 /* DMA Channel 20 Current Descriptor Pointer Register */
- #define DMA20_CURR_ADDR 0xffc01e24 /* DMA Channel 20 Current Address Register */
- #define DMA20_IRQ_STATUS 0xffc01e28 /* DMA Channel 20 Interrupt/Status Register */
- #define DMA20_PERIPHERAL_MAP 0xffc01e2c /* DMA Channel 20 Peripheral Map Register */
- #define DMA20_CURR_X_COUNT 0xffc01e30 /* DMA Channel 20 Current X Count Register */
- #define DMA20_CURR_Y_COUNT 0xffc01e38 /* DMA Channel 20 Current Y Count Register */
- /* DMA Channel 21 Registers */
- #define DMA21_NEXT_DESC_PTR 0xffc01e40 /* DMA Channel 21 Next Descriptor Pointer Register */
- #define DMA21_START_ADDR 0xffc01e44 /* DMA Channel 21 Start Address Register */
- #define DMA21_CONFIG 0xffc01e48 /* DMA Channel 21 Configuration Register */
- #define DMA21_X_COUNT 0xffc01e50 /* DMA Channel 21 X Count Register */
- #define DMA21_X_MODIFY 0xffc01e54 /* DMA Channel 21 X Modify Register */
- #define DMA21_Y_COUNT 0xffc01e58 /* DMA Channel 21 Y Count Register */
- #define DMA21_Y_MODIFY 0xffc01e5c /* DMA Channel 21 Y Modify Register */
- #define DMA21_CURR_DESC_PTR 0xffc01e60 /* DMA Channel 21 Current Descriptor Pointer Register */
- #define DMA21_CURR_ADDR 0xffc01e64 /* DMA Channel 21 Current Address Register */
- #define DMA21_IRQ_STATUS 0xffc01e68 /* DMA Channel 21 Interrupt/Status Register */
- #define DMA21_PERIPHERAL_MAP 0xffc01e6c /* DMA Channel 21 Peripheral Map Register */
- #define DMA21_CURR_X_COUNT 0xffc01e70 /* DMA Channel 21 Current X Count Register */
- #define DMA21_CURR_Y_COUNT 0xffc01e78 /* DMA Channel 21 Current Y Count Register */
- /* DMA Channel 22 Registers */
- #define DMA22_NEXT_DESC_PTR 0xffc01e80 /* DMA Channel 22 Next Descriptor Pointer Register */
- #define DMA22_START_ADDR 0xffc01e84 /* DMA Channel 22 Start Address Register */
- #define DMA22_CONFIG 0xffc01e88 /* DMA Channel 22 Configuration Register */
- #define DMA22_X_COUNT 0xffc01e90 /* DMA Channel 22 X Count Register */
- #define DMA22_X_MODIFY 0xffc01e94 /* DMA Channel 22 X Modify Register */
- #define DMA22_Y_COUNT 0xffc01e98 /* DMA Channel 22 Y Count Register */
- #define DMA22_Y_MODIFY 0xffc01e9c /* DMA Channel 22 Y Modify Register */
- #define DMA22_CURR_DESC_PTR 0xffc01ea0 /* DMA Channel 22 Current Descriptor Pointer Register */
- #define DMA22_CURR_ADDR 0xffc01ea4 /* DMA Channel 22 Current Address Register */
- #define DMA22_IRQ_STATUS 0xffc01ea8 /* DMA Channel 22 Interrupt/Status Register */
- #define DMA22_PERIPHERAL_MAP 0xffc01eac /* DMA Channel 22 Peripheral Map Register */
- #define DMA22_CURR_X_COUNT 0xffc01eb0 /* DMA Channel 22 Current X Count Register */
- #define DMA22_CURR_Y_COUNT 0xffc01eb8 /* DMA Channel 22 Current Y Count Register */
- /* DMA Channel 23 Registers */
- #define DMA23_NEXT_DESC_PTR 0xffc01ec0 /* DMA Channel 23 Next Descriptor Pointer Register */
- #define DMA23_START_ADDR 0xffc01ec4 /* DMA Channel 23 Start Address Register */
- #define DMA23_CONFIG 0xffc01ec8 /* DMA Channel 23 Configuration Register */
- #define DMA23_X_COUNT 0xffc01ed0 /* DMA Channel 23 X Count Register */
- #define DMA23_X_MODIFY 0xffc01ed4 /* DMA Channel 23 X Modify Register */
- #define DMA23_Y_COUNT 0xffc01ed8 /* DMA Channel 23 Y Count Register */
- #define DMA23_Y_MODIFY 0xffc01edc /* DMA Channel 23 Y Modify Register */
- #define DMA23_CURR_DESC_PTR 0xffc01ee0 /* DMA Channel 23 Current Descriptor Pointer Register */
- #define DMA23_CURR_ADDR 0xffc01ee4 /* DMA Channel 23 Current Address Register */
- #define DMA23_IRQ_STATUS 0xffc01ee8 /* DMA Channel 23 Interrupt/Status Register */
- #define DMA23_PERIPHERAL_MAP 0xffc01eec /* DMA Channel 23 Peripheral Map Register */
- #define DMA23_CURR_X_COUNT 0xffc01ef0 /* DMA Channel 23 Current X Count Register */
- #define DMA23_CURR_Y_COUNT 0xffc01ef8 /* DMA Channel 23 Current Y Count Register */
- /* MDMA Stream 2 Registers */
- #define MDMA_D2_NEXT_DESC_PTR 0xffc01f00 /* Memory DMA Stream 2 Destination Next Descriptor Pointer Register */
- #define MDMA_D2_START_ADDR 0xffc01f04 /* Memory DMA Stream 2 Destination Start Address Register */
- #define MDMA_D2_CONFIG 0xffc01f08 /* Memory DMA Stream 2 Destination Configuration Register */
- #define MDMA_D2_X_COUNT 0xffc01f10 /* Memory DMA Stream 2 Destination X Count Register */
- #define MDMA_D2_X_MODIFY 0xffc01f14 /* Memory DMA Stream 2 Destination X Modify Register */
- #define MDMA_D2_Y_COUNT 0xffc01f18 /* Memory DMA Stream 2 Destination Y Count Register */
- #define MDMA_D2_Y_MODIFY 0xffc01f1c /* Memory DMA Stream 2 Destination Y Modify Register */
- #define MDMA_D2_CURR_DESC_PTR 0xffc01f20 /* Memory DMA Stream 2 Destination Current Descriptor Pointer Register */
- #define MDMA_D2_CURR_ADDR 0xffc01f24 /* Memory DMA Stream 2 Destination Current Address Register */
- #define MDMA_D2_IRQ_STATUS 0xffc01f28 /* Memory DMA Stream 2 Destination Interrupt/Status Register */
- #define MDMA_D2_PERIPHERAL_MAP 0xffc01f2c /* Memory DMA Stream 2 Destination Peripheral Map Register */
- #define MDMA_D2_CURR_X_COUNT 0xffc01f30 /* Memory DMA Stream 2 Destination Current X Count Register */
- #define MDMA_D2_CURR_Y_COUNT 0xffc01f38 /* Memory DMA Stream 2 Destination Current Y Count Register */
- #define MDMA_S2_NEXT_DESC_PTR 0xffc01f40 /* Memory DMA Stream 2 Source Next Descriptor Pointer Register */
- #define MDMA_S2_START_ADDR 0xffc01f44 /* Memory DMA Stream 2 Source Start Address Register */
- #define MDMA_S2_CONFIG 0xffc01f48 /* Memory DMA Stream 2 Source Configuration Register */
- #define MDMA_S2_X_COUNT 0xffc01f50 /* Memory DMA Stream 2 Source X Count Register */
- #define MDMA_S2_X_MODIFY 0xffc01f54 /* Memory DMA Stream 2 Source X Modify Register */
- #define MDMA_S2_Y_COUNT 0xffc01f58 /* Memory DMA Stream 2 Source Y Count Register */
- #define MDMA_S2_Y_MODIFY 0xffc01f5c /* Memory DMA Stream 2 Source Y Modify Register */
- #define MDMA_S2_CURR_DESC_PTR 0xffc01f60 /* Memory DMA Stream 2 Source Current Descriptor Pointer Register */
- #define MDMA_S2_CURR_ADDR 0xffc01f64 /* Memory DMA Stream 2 Source Current Address Register */
- #define MDMA_S2_IRQ_STATUS 0xffc01f68 /* Memory DMA Stream 2 Source Interrupt/Status Register */
- #define MDMA_S2_PERIPHERAL_MAP 0xffc01f6c /* Memory DMA Stream 2 Source Peripheral Map Register */
- #define MDMA_S2_CURR_X_COUNT 0xffc01f70 /* Memory DMA Stream 2 Source Current X Count Register */
- #define MDMA_S2_CURR_Y_COUNT 0xffc01f78 /* Memory DMA Stream 2 Source Current Y Count Register */
- /* MDMA Stream 3 Registers */
- #define MDMA_D3_NEXT_DESC_PTR 0xffc01f80 /* Memory DMA Stream 3 Destination Next Descriptor Pointer Register */
- #define MDMA_D3_START_ADDR 0xffc01f84 /* Memory DMA Stream 3 Destination Start Address Register */
- #define MDMA_D3_CONFIG 0xffc01f88 /* Memory DMA Stream 3 Destination Configuration Register */
- #define MDMA_D3_X_COUNT 0xffc01f90 /* Memory DMA Stream 3 Destination X Count Register */
- #define MDMA_D3_X_MODIFY 0xffc01f94 /* Memory DMA Stream 3 Destination X Modify Register */
- #define MDMA_D3_Y_COUNT 0xffc01f98 /* Memory DMA Stream 3 Destination Y Count Register */
- #define MDMA_D3_Y_MODIFY 0xffc01f9c /* Memory DMA Stream 3 Destination Y Modify Register */
- #define MDMA_D3_CURR_DESC_PTR 0xffc01fa0 /* Memory DMA Stream 3 Destination Current Descriptor Pointer Register */
- #define MDMA_D3_CURR_ADDR 0xffc01fa4 /* Memory DMA Stream 3 Destination Current Address Register */
- #define MDMA_D3_IRQ_STATUS 0xffc01fa8 /* Memory DMA Stream 3 Destination Interrupt/Status Register */
- #define MDMA_D3_PERIPHERAL_MAP 0xffc01fac /* Memory DMA Stream 3 Destination Peripheral Map Register */
- #define MDMA_D3_CURR_X_COUNT 0xffc01fb0 /* Memory DMA Stream 3 Destination Current X Count Register */
- #define MDMA_D3_CURR_Y_COUNT 0xffc01fb8 /* Memory DMA Stream 3 Destination Current Y Count Register */
- #define MDMA_S3_NEXT_DESC_PTR 0xffc01fc0 /* Memory DMA Stream 3 Source Next Descriptor Pointer Register */
- #define MDMA_S3_START_ADDR 0xffc01fc4 /* Memory DMA Stream 3 Source Start Address Register */
- #define MDMA_S3_CONFIG 0xffc01fc8 /* Memory DMA Stream 3 Source Configuration Register */
- #define MDMA_S3_X_COUNT 0xffc01fd0 /* Memory DMA Stream 3 Source X Count Register */
- #define MDMA_S3_X_MODIFY 0xffc01fd4 /* Memory DMA Stream 3 Source X Modify Register */
- #define MDMA_S3_Y_COUNT 0xffc01fd8 /* Memory DMA Stream 3 Source Y Count Register */
- #define MDMA_S3_Y_MODIFY 0xffc01fdc /* Memory DMA Stream 3 Source Y Modify Register */
- #define MDMA_S3_CURR_DESC_PTR 0xffc01fe0 /* Memory DMA Stream 3 Source Current Descriptor Pointer Register */
- #define MDMA_S3_CURR_ADDR 0xffc01fe4 /* Memory DMA Stream 3 Source Current Address Register */
- #define MDMA_S3_IRQ_STATUS 0xffc01fe8 /* Memory DMA Stream 3 Source Interrupt/Status Register */
- #define MDMA_S3_PERIPHERAL_MAP 0xffc01fec /* Memory DMA Stream 3 Source Peripheral Map Register */
- #define MDMA_S3_CURR_X_COUNT 0xffc01ff0 /* Memory DMA Stream 3 Source Current X Count Register */
- #define MDMA_S3_CURR_Y_COUNT 0xffc01ff8 /* Memory DMA Stream 3 Source Current Y Count Register */
- /* UART1 Registers */
- #define UART1_DLL 0xffc02000 /* Divisor Latch Low Byte */
- #define UART1_DLH 0xffc02004 /* Divisor Latch High Byte */
- #define UART1_GCTL 0xffc02008 /* Global Control Register */
- #define UART1_LCR 0xffc0200c /* Line Control Register */
- #define UART1_MCR 0xffc02010 /* Modem Control Register */
- #define UART1_LSR 0xffc02014 /* Line Status Register */
- #define UART1_MSR 0xffc02018 /* Modem Status Register */
- #define UART1_SCR 0xffc0201c /* Scratch Register */
- #define UART1_IER_SET 0xffc02020 /* Interrupt Enable Register Set */
- #define UART1_IER_CLEAR 0xffc02024 /* Interrupt Enable Register Clear */
- #define UART1_THR 0xffc02028 /* Transmit Hold Register */
- #define UART1_RBR 0xffc0202c /* Receive Buffer Register */
- /* UART2 is not defined in the shared file because it is not available on the ADSP-BF542 and ADSP-BF544 processors */
- /* SPI1 Registers */
- #define SPI1_REGBASE 0xffc02300
- #define SPI1_CTL 0xffc02300 /* SPI1 Control Register */
- #define SPI1_FLG 0xffc02304 /* SPI1 Flag Register */
- #define SPI1_STAT 0xffc02308 /* SPI1 Status Register */
- #define SPI1_TDBR 0xffc0230c /* SPI1 Transmit Data Buffer Register */
- #define SPI1_RDBR 0xffc02310 /* SPI1 Receive Data Buffer Register */
- #define SPI1_BAUD 0xffc02314 /* SPI1 Baud Rate Register */
- #define SPI1_SHADOW 0xffc02318 /* SPI1 Receive Data Buffer Shadow Register */
- /* SPORT2 Registers */
- #define SPORT2_TCR1 0xffc02500 /* SPORT2 Transmit Configuration 1 Register */
|