📄 vrs51l3074_asx8051.inc
字号:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; File: VRS51L3074_ASX8051.inc
; Version: 1.92
; Target: ASX8051 Cross Assembler
; Date: 4/27/2006
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; This file provides all of the SFR definitions described in the device
; datsheet.
;
; DO NOT ACCESS REGISTER VALUES NOT ON THIS LIST
; Make sure that the page selected contains the SFR being accessed
;
; Copyright (C) 2006 Ramtron International Corporation
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
.if AUA0 - 0xA2
; SFRs that can be accessed on either page
P0 == 0x80 ; Port 0
SP == 0x81 ; Stack pointer
DPL0 == 0x82 ; Data Pointer 0 lower byte
DPH0 == 0x83 ; Data Pointer 0 upper byte
DPL1 == 0x84 ; Data Pointer 1 lower byte
DPH1 == 0x85 ; Data Pointer 1 upper byte
DPS == 0x86 ; Data Pointer select
PCON == 0x87 ; Power control
INTEN1 == 0x88 ; Interrupt enable 1
T0T1CFG == 0x89 ; Timer 0 and Timer 1 configuration
TL0 == 0x8A ; Timer 0 lower byte
TH0 == 0x8B ; Timer 0 upper byte
TL1 == 0x8C ; Timer 1 lower byte
TH1 == 0x8D ; Timer 1 upper byte
TL2 == 0x8E ; Timer 2 lower byte
TH2 == 0x8F ; Timer 2 upper byte
P1 == 0x90 ; Port 1
WDTCFG == 0x91 ; Watchdog timer configuration
RCAP0L == 0x92 ; Reload / Capture for Timer 0: lower byte
RCAP0H == 0x93 ; Reload / Capture for Timer 0: upper byte
RCAP1L == 0x94 ; Reload / Capture for Timer 1: lower byte
RCAP1H == 0x95 ; Reload / Capture for Timer 1: upper byte
RCAP2L == 0x96 ; Reload / Capture for Timer 2: lower byte
RCAP2H == 0x97 ; Reload / Capture for Timer 2: upper byte
P5 == 0x98 ; Port 5
T0T1CLKCFG == 0x99 ; Timer 0 and Timer 1 input clock configurations
T0CON == 0x9A ; Timer 0 configuration register
T1CON == 0x9B ; Timer 1 configuration register
T2CON == 0x9C ; Timer 2 configuration register
T2CLKCFG == 0x9D ; Timer 2 input clock configuration
P2 == 0xA0 ; Port 2
INTEN2 == 0xA8 ; Interrupt enable 2
P3 == 0xB0 ; Port 3
IPINFLAG1 == 0xB8 ; Interrupt pin flags 1
PORTCHG == 0xB9 ; Interrupt port change
P4 == 0xC0 ; Port 4
P6 == 0xC8 ; Port 6
PSW == 0xD0 ; Program Status Word
IPININV1 == 0xD6 ; Interrupt pin inversion 1
IPININV2 == 0xD7 ; Interrupt pin inversion 2
IPINFLAG2 == 0xD8 ; Interrupt pin flags 2
XMEMCTRL == 0xD9 ; Off-chip external memory control
ACC == 0xE0 ; Accumulator
DEVIOMAP == 0xE1 ; Device input/output mapping
INTPRI1 == 0xE2 ; Interrupt priority configuration 1
INTPRI2 == 0xE3 ; Interrupt priority configuration 2
INTSRC1 == 0xE4 ; Interrupt source configuration 1
INTSRC2 == 0xE5 ; Interrupt source configuration 2
IPINSENS1 == 0xE6 ; Interrupt pin sensitivity configuration 1
IPINSENS2 == 0xE7 ; Interrupt pin sensitivity configuration 2
GENINTEN == 0xE8 ; General interrupt control
FPICONFIG == 0xE9 ; Flash programming interface configuration
FPIADDRL == 0xEA ; Flash programming address lower byte
FPIADDRH == 0xEB ; Flash programming address upper byte
FPIDATAL == 0xEC ; Flash programming data lower byte
FPIDATAH == 0xED ; Flash programming data upper byte
FPICLKSPD == 0xEE ; Flash programming clock speed
B == 0xF0 ; B
MPAGE == 0xF1 ; External memory page select
DEVCLKCFG1 == 0xF2 ; Clock configuration 1
DEVCLKCFG2 == 0xF3 ; Clock configuration 2
PERIPHEN1 == 0xF4 ; Perhipheral enable 1
PERIPHEN2 == 0xF5 ; Perhipheral enable 2
DEVMEMCFG == 0xF6 ; Memory control
PORTINEN == 0xF7 ; Port input logic enable
USERFLAGS == 0xF8 ; Additional software flags
P0PINCFG == 0xF9 ; Port 0 pin configuration
P1PINCFG == 0xFA ; Port 1 pin configuration
P2PINCFG == 0xFB ; Port 2 pin configuration
P3PINCFG == 0xFC ; Port 3 pin configuration
P4PINCFG == 0xFD ; Port 4 pin configuration
P5PINCFG == 0xFE ; Port 5 pin configuration
P6PINCFG == 0xFF ; Port 6 pin configuration
; SFRs that can be only be accessed on PAGE 0
; When DEVMEMCFG bit 0 = 0
PWC0CFG == 0x9E; Pulse Width Counter 0 configuration
PWC1CFG == 0x9F; Pulse Width Counter 1 configuration
UART0INT == 0xA1; UART 0 Interrupt
UART0CFG == 0xA2; UART 0 Configure
UART0BUF == 0xA3; UART 0 buffer
UART0BRL == 0xA4; UART 0 baud rate lower byte
UART0BRH == 0xA5; UART 0 baud rate upper byte
UART0EXT == 0xA6; UART 0 extentions
PWMCFG == 0xA9; Pulse Width Modulator configurations
PWMEN == 0xAA; Pulse Width Modulator enable
PWMLDPOL == 0xAB; / Pulse Width Modulator polarity
PWMDATA == 0xAC; Pulse Width Modulator data
PWMTMREN == 0xAD; Pulse Width Modulator timer enable
PWMTMRF == 0xAE; Pulse Width Modulator timer overflow flags
PWMCLKCFG == 0xAF; Pulse Width Modulator clock config
UART1INT == 0xB0; UART 1 Interrupt
UART1CFG == 0xB1; UART 1 Configure
UART1BUF == 0xB2; UART 1 buffer
UART1BRL == 0xB3; UART 1 baud rate lower byte
UART1BRH == 0xB4; UART 1 baud rate upper byte
UART1EXT == 0xB5; UART 1 extentions
SPICTRL == 0xC1; SPI (Serial Perhipheral Interface) control
SPICONFIG == 0xC2; SPI configurations
SPISIZE == 0xC3; SPI transaction size
SPIRXTX0 == 0xC4; SPI recieve / transmit register 0 [Data 7: 0]
SPIRXTX1 == 0xC5; SPI recieve / transmit register 0 [Data 15: 8]
SPIRXTX2 == 0xC6; SPI recieve / transmit register 0 [Data 23:16]
SPIRXTX3 == 0xC7; SPI recieve / transmit register 0 [Data 32:24]
SPISTATUS == 0xC9; SPI status
I2CCONFIG == 0xD1; I2C (Inter Chip Communication) configuration
I2CTIMING == 0xD2; I2C timing
I2CIDCFG == 0xD3; I2C indentification
I2CSTATUS == 0xD4; I2C status
I2CRXTX == 0xD5; I2C recieve / transmit buffer
FRAMCFG1 == 0xDC; FRAM configuration 1
FRAMCFG2 == 0xDD; FRAM configuration 2
; SFRs that can be only be accessed on PAGE 1
; When DEVMEMCFG bit 0 = 1
AUA0 == 0xA2; Arithmetic Unit A [ 7: 0]
AUA1 == 0xA3; Arithmetic Unit A [15: 8]
AUC0 == 0xA4; Arithmetic Unit C [ 7: 0]
AUC1 == 0xA5; Arithmetic Unit C [15: 8]
AUC2 == 0xA6; Arithmetic Unit C [23:16]
AUC3 == 0xA7; Arithmetic Unit C [32:24]
AUB0DIV == 0xB1; Arithmetic Unit B Divide [ 7: 0]
AUB0 == 0xB2; Arithmetic Unit B Multiply [ 7: 0]
AUB1 == 0xB3; Arithmetic Unit B [15: 8]
AURES0 == 0xB4; Arithmetic Unit Result 0
AURES1 == 0xB5; Arithmetic Unit Result 1
AURES2 == 0xB6; Arithmetic Unit Result 2
AURES3 == 0xB7; Arithmetic Unit Result 3
AUSHIFTCFG == 0xC1; Arithmetic Unit shift configuration
AUCONFIG1 == 0xC2; Arithmetic Unit configuration 1
AUCONFIG2 == 0xC3; Arithmetic Unit configuration 2
AUPREV0 == 0xC4; Arithmetic Unit previous result 0
AUPREV1 == 0xC5; Arithmetic Unit previous result 1
AUPREV2 == 0xC6; Arithmetic Unit previous result 2
AUPREV3 == 0xC7; Arithmetic Unit previous result 3
.endif
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (C) 2006 Ramtron International Corporation
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -