/* * 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 */