defbf549.h

来自「linux 内核源代码」· C头文件 代码 · 共 765 行 · 第 1/5 页

H
765
字号
/* * File:         include/asm-blackfin/mach-bf548/defBF549.h * Based on: * Author: * * Created: * Description: * * Rev: * * Modified: * * Bugs:         Enter bugs at http://blackfin.uclinux.org/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; see the file COPYING. * If not, write to the Free Software Foundation, * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */#ifndef _DEF_BF549_H#define _DEF_BF549_H/* Include all Core registers and bit definitions */#include <asm/mach-common/def_LPBlackfin.h>/* SYSTEM & MMR ADDRESS DEFINITIONS FOR ADSP-BF549 *//* Include defBF54x_base.h for the set of #defines that are common to all ADSP-BF54x processors */#include "defBF54x_base.h"/* The following are the #defines needed by ADSP-BF549 that are not in the common header *//* Timer Registers */#define                    TIMER8_CONFIG  0xffc00600   /* Timer 8 Configuration Register */#define                   TIMER8_COUNTER  0xffc00604   /* Timer 8 Counter Register */#define                    TIMER8_PERIOD  0xffc00608   /* Timer 8 Period Register */#define                     TIMER8_WIDTH  0xffc0060c   /* Timer 8 Width Register */#define                    TIMER9_CONFIG  0xffc00610   /* Timer 9 Configuration Register */#define                   TIMER9_COUNTER  0xffc00614   /* Timer 9 Counter Register */#define                    TIMER9_PERIOD  0xffc00618   /* Timer 9 Period Register */#define                     TIMER9_WIDTH  0xffc0061c   /* Timer 9 Width Register */#define                   TIMER10_CONFIG  0xffc00620   /* Timer 10 Configuration Register */#define                  TIMER10_COUNTER  0xffc00624   /* Timer 10 Counter Register */#define                   TIMER10_PERIOD  0xffc00628   /* Timer 10 Period Register */#define                    TIMER10_WIDTH  0xffc0062c   /* Timer 10 Width Register *//* Timer Group of 3 Registers */#define                    TIMER_ENABLE1  0xffc00640   /* Timer Group of 3 Enable Register */#define                   TIMER_DISABLE1  0xffc00644   /* Timer Group of 3 Disable Register */#define                    TIMER_STATUS1  0xffc00648   /* Timer Group of 3 Status Register *//* SPORT0 Registers */#define                      SPORT0_TCR1  0xffc00800   /* SPORT0 Transmit Configuration 1 Register */#define                      SPORT0_TCR2  0xffc00804   /* SPORT0 Transmit Configuration 2 Register */#define                   SPORT0_TCLKDIV  0xffc00808   /* SPORT0 Transmit Serial Clock Divider Register */#define                    SPORT0_TFSDIV  0xffc0080c   /* SPORT0 Transmit Frame Sync Divider Register */#define                        SPORT0_TX  0xffc00810   /* SPORT0 Transmit Data Register */#define                        SPORT0_RX  0xffc00818   /* SPORT0 Receive Data Register */#define                      SPORT0_RCR1  0xffc00820   /* SPORT0 Receive Configuration 1 Register */#define                      SPORT0_RCR2  0xffc00824   /* SPORT0 Receive Configuration 2 Register */#define                   SPORT0_RCLKDIV  0xffc00828   /* SPORT0 Receive Serial Clock Divider Register */#define                    SPORT0_RFSDIV  0xffc0082c   /* SPORT0 Receive Frame Sync Divider Register */#define                      SPORT0_STAT  0xffc00830   /* SPORT0 Status Register */#define                      SPORT0_CHNL  0xffc00834   /* SPORT0 Current Channel Register */#define                     SPORT0_MCMC1  0xffc00838   /* SPORT0 Multi channel Configuration Register 1 */#define                     SPORT0_MCMC2  0xffc0083c   /* SPORT0 Multi channel Configuration Register 2 */#define                     SPORT0_MTCS0  0xffc00840   /* SPORT0 Multi channel Transmit Select Register 0 */#define                     SPORT0_MTCS1  0xffc00844   /* SPORT0 Multi channel Transmit Select Register 1 */#define                     SPORT0_MTCS2  0xffc00848   /* SPORT0 Multi channel Transmit Select Register 2 */#define                     SPORT0_MTCS3  0xffc0084c   /* SPORT0 Multi channel Transmit Select Register 3 */#define                     SPORT0_MRCS0  0xffc00850   /* SPORT0 Multi channel Receive Select Register 0 */#define                     SPORT0_MRCS1  0xffc00854   /* SPORT0 Multi channel Receive Select Register 1 */#define                     SPORT0_MRCS2  0xffc00858   /* SPORT0 Multi channel Receive Select Register 2 */#define                     SPORT0_MRCS3  0xffc0085c   /* SPORT0 Multi channel Receive Select Register 3 *//* EPPI0 Registers */#define                     EPPI0_STATUS  0xffc01000   /* EPPI0 Status Register */#define                     EPPI0_HCOUNT  0xffc01004   /* EPPI0 Horizontal Transfer Count Register */#define                     EPPI0_HDELAY  0xffc01008   /* EPPI0 Horizontal Delay Count Register */#define                     EPPI0_VCOUNT  0xffc0100c   /* EPPI0 Vertical Transfer Count Register */#define                     EPPI0_VDELAY  0xffc01010   /* EPPI0 Vertical Delay Count Register */#define                      EPPI0_FRAME  0xffc01014   /* EPPI0 Lines per Frame Register */#define                       EPPI0_LINE  0xffc01018   /* EPPI0 Samples per Line Register */#define                     EPPI0_CLKDIV  0xffc0101c   /* EPPI0 Clock Divide Register */#define                    EPPI0_CONTROL  0xffc01020   /* EPPI0 Control Register */#define                   EPPI0_FS1W_HBL  0xffc01024   /* EPPI0 FS1 Width Register / EPPI0 Horizontal Blanking Samples Per Line Register */#define                  EPPI0_FS1P_AVPL  0xffc01028   /* EPPI0 FS1 Period Register / EPPI0 Active Video Samples Per Line Register */#define                   EPPI0_FS2W_LVB  0xffc0102c   /* EPPI0 FS2 Width Register / EPPI0 Lines of Vertical Blanking Register */#define                  EPPI0_FS2P_LAVF  0xffc01030   /* EPPI0 FS2 Period Register/ EPPI0 Lines of Active Video Per Field Register */#define                       EPPI0_CLIP  0xffc01034   /* EPPI0 Clipping Register *//* UART2 Registers */#define                        UART2_DLL  0xffc02100   /* Divisor Latch Low Byte */#define                        UART2_DLH  0xffc02104   /* Divisor Latch High Byte */#define                       UART2_GCTL  0xffc02108   /* Global Control Register */#define                        UART2_LCR  0xffc0210c   /* Line Control Register */#define                        UART2_MCR  0xffc02110   /* Modem Control Register */#define                        UART2_LSR  0xffc02114   /* Line Status Register */#define                        UART2_MSR  0xffc02118   /* Modem Status Register */#define                        UART2_SCR  0xffc0211c   /* Scratch Register */#define                    UART2_IER_SET  0xffc02120   /* Interrupt Enable Register Set */#define                  UART2_IER_CLEAR  0xffc02124   /* Interrupt Enable Register Clear */#define                        UART2_RBR  0xffc0212c   /* Receive Buffer Register *//* Two Wire Interface Registers (TWI1) */#define                     TWI1_REGBASE  0xffc02200#define                      TWI1_CLKDIV  0xffc02200   /* Clock Divider Register */#define                     TWI1_CONTROL  0xffc02204   /* TWI Control Register */#define                  TWI1_SLAVE_CTRL  0xffc02208   /* TWI Slave Mode Control Register */#define                  TWI1_SLAVE_STAT  0xffc0220c   /* TWI Slave Mode Status Register */#define                  TWI1_SLAVE_ADDR  0xffc02210   /* TWI Slave Mode Address Register */#define                 TWI1_MASTER_CTRL  0xffc02214   /* TWI Master Mode Control Register */#define                 TWI1_MASTER_STAT  0xffc02218   /* TWI Master Mode Status Register */#define                 TWI1_MASTER_ADDR  0xffc0221c   /* TWI Master Mode Address Register */#define                    TWI1_INT_STAT  0xffc02220   /* TWI Interrupt Status Register */#define                    TWI1_INT_MASK  0xffc02224   /* TWI Interrupt Mask Register */#define                   TWI1_FIFO_CTRL  0xffc02228   /* TWI FIFO Control Register */#define                   TWI1_FIFO_STAT  0xffc0222c   /* TWI FIFO Status Register */#define                   TWI1_XMT_DATA8  0xffc02280   /* TWI FIFO Transmit Data Single Byte Register */#define                  TWI1_XMT_DATA16  0xffc02284   /* TWI FIFO Transmit Data Double Byte Register */#define                   TWI1_RCV_DATA8  0xffc02288   /* TWI FIFO Receive Data Single Byte Register */#define                  TWI1_RCV_DATA16  0xffc0228c   /* TWI FIFO Receive Data Double Byte Register *//* SPI2  Registers */#define                     SPI2_REGBASE  0xffc02400#define                         SPI2_CTL  0xffc02400   /* SPI2 Control Register */#define                         SPI2_FLG  0xffc02404   /* SPI2 Flag Register */#define                        SPI2_STAT  0xffc02408   /* SPI2 Status Register */#define                        SPI2_TDBR  0xffc0240c   /* SPI2 Transmit Data Buffer Register */#define                        SPI2_RDBR  0xffc02410   /* SPI2 Receive Data Buffer Register */#define                        SPI2_BAUD  0xffc02414   /* SPI2 Baud Rate Register */#define                      SPI2_SHADOW  0xffc02418   /* SPI2 Receive Data Buffer Shadow Register *//* MXVR Registers */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?