📄 bfc.inc
字号:
;------------------------------------------------------------------------------
;- ATMEL Microcontroller Software Support - ROUSSET -
;------------------------------------------------------------------------------
; The software is delivered "AS IS" without warranty or condition of any
; kind, either express, implied or statutory. This includes without
; limitation any warranty or condition with respect to merchantability or
; fitness for any particular purpose, or against the infringements of
; intellectual property rights of others.
;------------------------------------------------------------------------------
;- File Name : bfc.inc
;- Object : Assembler Burst Flash Controller Definition File.
;-
;- 1.0 22/03/01 ED : Creation
;------------------------------------------------------------------------------
;------------------------------------------------------------
; Burst Flash Controller User Interface Structure Definition
;------------------------------------------------------------
^ 0
BFC_MR # 4 ;- Mode Register
;-------------------------
;- BFC_MR : Mode Register
;-------------------------
BFC_BFCOM_MASK EQU 0x3 ;- BFC Operating Mode Command
BFC_DISABLED EQU 0x0 ;- BFC Disabled
BFC_ASYNC_MODE EQU 0x1 ;- BFC Asynchronous Operating Mode
BFC_BURST_MODE EQU 0x2 ;- BFC Burst Read Operating Mode
BFC_BFCC_MASK EQU 0xC ;- BFC Burst Read Clock Command
BFC_MCK_BURST EQU 0x4 ;- BFC Burst Read using MCK
BFC_MCK2_BURST EQU 0x8 ;- BFC Burst Read using MCK/2
BFC_MCK4_BURST EQU 0xC ;- BFC Burst Read using MCK/4
BFC_AVL_MASK EQU 0xF0 ;- BFC Address Valid Latency Mask
BFC_AVL_SHIFT EQU 0x4 ;- Logical Left Shift to be applied for AVL
BFC_PAGE_SIZE_MASK EQU 0x700 ;- BFC Page Size Mask
BFC_NO_PAGE EQU 0x0 ;- No BFC Page Handling
BFC_16_PAGE EQU 0x100 ;- 16 Bytes Page Size
BFC_32_PAGE EQU 0x200 ;- 32 Bytes Page Size
BFC_64_PAGE EQU 0x300 ;- 64 Bytes Page Size
BFC_128_PAGE EQU 0x400 ;- 128 Bytes Page Size
BFC_256_PAGE EQU 0x500 ;- 256 Bytes Page Size
BFC_512_PAGE EQU 0x600 ;- 512 Bytes Page Size
BFC_1K_PAGE EQU 0x700 ;- 1024 Bytes Page Size
BFC_OEL_MASK EQU 0x3000 ;- BFC Output Enable Latency Mask
BFC_OEL_SHIFT EQU 0xC ;- Logical Left Shift to be applied for OEL
BFC_BAAEN EQU 0x10000 ;- BFC Burst Address Advance Enable Bit
BFC_BFOEH EQU 0x20000 ;- BFC Burst Flash Output Enable Handling Bit
BFC_MUXEN EQU 0x40000 ;- BFC Multiplexed Bus Enable Bit
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -