pl011.inc

来自「ARM9基于WINDOWSCE的BSP源代码」· INC 代码 · 共 41 行

INC
41
字号
;
;   The content of this file or document is CONFIDENTIAL and PROPRIETARY
;   to Jade Technologies Co., Ltd.  It is subjected to the terms of a
;   License Agreement between Licensee and Jade Technologies Co., Ltd.
;   restricting among other things, the use, reproduction, distribution
;   and transfer.  Each of the embodiments, including this information 
;   and any derivative work shall retain this copyright notice.
; 
;   Copyright (c) 2004 - 2005 Jade Technologies Co., Ltd. 
;   All rights reserved.
;
; * ----------------------------------------------------------------
; * File:     pl011.inc,v
; * Revision: 1.1
; * ----------------------------------------------------------------
; * $
; 

    IF :LNOT: :DEF: PL011_INC
PL011_INC           EQU     1

; Serial port register offsets 
PL011_DR            EQU     0x00    ; Data register                         
PL011_RSR           EQU     0x04    ; Receive status register (read)            
PL011_ECR           EQU     0x04    ; Error Clear register (write)              
PL011_FR            EQU     0x18    ; Flag register (read)                      
PL011_ILPR          EQU     0x20    ; IrDA low-power counter register           
PL011_IBRD          EQU     0x24    ; Integer baud rate divisor register        
PL011_FBRD          EQU     0x28    ; Fractional baud rate divisor register 
PL011_LCR_H         EQU     0x2C    ; Line control register, high byte      
PL011_CR            EQU     0x30    ; Control register                          
PL011_IFLS          EQU     0x34    ; Interrupt FIFO level select register      
PL011_IMSC          EQU     0x38    ; Interrupt mask set/clear register     
PL011_RIS           EQU     0x3C    ; Raw Interrupt status register (read)      
PL011_MIS           EQU     0x40    ; Masked interrupt status register (read)   
PL011_ICR           EQU     0x44    ; Interrupt clear register  (write)         
PL011_DMACR         EQU     0x48    ; DMA Control register                      

    ENDIF ; PL011_INC

    END

⌨️ 快捷键说明

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