⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 define.s

📁 T-Kernel下PCF8563的驱动程序开发
💻 S
字号:
;********************************************************************************
;*                                                                              *
;*    Copyright (C) 2002 Oki Electric Industry Co., LTD.                        *
;*                                                                              *
;*    System Name    :  ML674001 series                                         *
;*    Module Name    :  assembler common definitions                            *
;*    File   Name    :  define.s                                                *
;*    Revision       :  01.00                                                   *
;*    Date           :  2002/12/09 initial version                              *
;*                                                                              *
;********************************************************************************

; now some standard definitions...
Mode_USR        EQU     0x10    ; user mode
Mode_FIQ        EQU     0x11    ; FIQ mode
Mode_IRQ        EQU     0x12    ; IRQ mode
Mode_SVC        EQU     0x13    ; supervisor mode
Mode_ABT        EQU     0x17    ; abort mode
Mode_UND        EQU     0x1B    ; undefined mode
Mode_SYS        EQU     0x1F    ; system mode
        
I_Bit           EQU     0x80
F_Bit           EQU     0x40
T_Bit           EQU     0x20

SWI_IRQ_EN      EQU     0x00    ; SWI number of irq_en
SWI_IRQ_DIS     EQU     0x01    ; SWI number of irq_dis

; definition for memory
RAM_Base        EQU     0x50000000        ; bottom of proc RAM
RAM_Size        EQU     0x8000            ; size of proc RAM
RAM_Limit       EQU     RAM_Base+RAM_Size ; top op proc RAM

; definition for IRQ
IRQSIZE         EQU     32      ; number of IRQ interrupt factor.
IRQ_BASE        EQU     0x78000000; base address of registers about IRQ.

GPCTL           EQU     0xb7000000; address of GPCTL

        END

⌨️ 快捷键说明

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