欢迎访问ic37.com |
会员登录 免费注册
发布采购

SP37E760 参数 Datasheet PDF下载

SP37E760图片预览
型号: SP37E760
PDF下载: 下载PDF文件 查看货源
内容描述: 3.3 V的I / O控制器的嵌入式应用 [3.3 V I/O CONTROLLER FOR EMBEDDED APPLICATIONS]
分类和应用: 控制器
文件页数/大小: 78 页 / 507 K
品牌: SMSC [ SMSC CORPORATION ]
 浏览型号SP37E760的Datasheet PDF文件第42页浏览型号SP37E760的Datasheet PDF文件第43页浏览型号SP37E760的Datasheet PDF文件第44页浏览型号SP37E760的Datasheet PDF文件第45页浏览型号SP37E760的Datasheet PDF文件第47页浏览型号SP37E760的Datasheet PDF文件第48页浏览型号SP37E760的Datasheet PDF文件第49页浏览型号SP37E760的Datasheet PDF文件第50页  
7.2.4 PROGRAMMING EXAMPLE  
The following is a configuration register programming example written in Intel 8086 assembly language.  
;-----------------------------.  
; ENTER CONFIGURATION STATE |  
;-----------------------------‘  
MOV  
MOV  
OUT  
DX,3F0H  
AX,055H  
DX,AL  
;-----------------------------.  
; CONFIGURE REGISTERS CR0-CRx |  
;-----------------------------‘  
MOV  
MOV  
OUT  
MOV  
MOV  
OUT  
;
DX,3F0H  
AL,00H  
DX,AL  
;Point to CR0  
;Update CR0  
DX,3F1H  
AL,3FH  
DX,AL  
MOV  
MOV  
OUT  
MOV  
MOV  
OUT  
;
DX,3F0H  
AL,01H  
DX,AL  
;Point to CR1  
;Update CR1  
DX,3F1H  
AL,9FH  
DX,AL  
; Repeat for all CRx registers  
;
;-----------------------------.  
; EXIT CONFIGURATION STATE  
|
;-----------------------------‘  
MOV  
MOV  
OUT  
DX,3F0H  
AX,AAH  
DX,AL  
7.2.5 CONFIGURATION SELECT REGISTER (CSR)  
The Configuration Select Register can only be accessed when the SP37E760 is in the configuration state. The CSR  
is located at the INDEX PORT address and must be initialized with configuration register index before the register can  
be accessed using the DATA PORT.  
7.3 Configuration Registers Description  
The configuration registers are set to their default values at power up (Table 24) and are not affected by RESET,  
except where noted in the register descriptions that follow.  
Table 24 - Configuration Registers  
DEFAULT INDEX  
DB7  
Valid  
DB6  
DB5  
DB4  
DB3  
DB2  
Reserved  
PP PWR  
DB1  
Reserved  
Reserved  
Reserved  
DB0  
28H  
9CH  
88H  
CR00  
CR01 Lock CRx  
CR02  
Reserved  
Reserved  
Reserved  
Reserved  
PP MODE  
UART1  
PWR  
UART2  
PWR  
70H  
CR03 ADRX/  
IRQ_B  
CR04 Reserved EPP Type MIDI 2  
CR05  
Reserved  
ADRX  
IRQ_B  
Reserved  
Reserved  
PWRGD  
00H  
00H  
MIDI 1  
PP Ext. Modes  
Reserved  
SMSC DS – SP37E760  
Rev. 04/13/2001  
 复制成功!