DMP Electronics eBOX-3350MX-AP Manual do Utilizador Página 56

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 112
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 55
Jan Yin Chan Electronics Co.,LTD. 386SX Single Chip PC
M6117D : System on a chip
DM&P
Jan Yin Chan Electronics Co,. LTD. M6117D 386SX Single Chip PC Page 55
8F-1,No.22,Wuchyuan 2RD.,Hsin Chuang city Taipei Hsien, Taiwan, R.O.C. Tel: 886-(02) 2298-0770 Fax: (02) 2299-1883
Section 5 : Programming Guide
5.1 Basic Procedure and Macro Definition
a) Delay
IO_Delay MACRO
jcxz $+2
jcxz $+2
ENDM
b) Unlock chipset configure registers
Open_Chip MACRO
mov al, 013h
out 022h, al
IO_Delay
mov al, 0c5h
out 023h, al
IO_Delay
ENDM
c) Lock chipset configure registers
Close_Chip MACRO
mov al, 013h
out 022h, al
IO_Delay
mov al, 000h
out 023h, al
IO_Delay
ENDM
d) Write data to configure register
; INPUT : AH - INDEX#
; INPUT : AL - Data
; ACTION : Write the value of AL into the value of AH INDEX
; Interrupt controller and Stack are available
Write_To_Chip PROCEDURE
cli
push ax
Open_Chip
pop ax
out 022h, al
IO_Delay
xchg ah, al
out 023h, al
IO_Delay
xchg ah, al
push ax
Close_Chip
pop ax
sti
ret
ENDP
Vista de página 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 111 112

Comentários a estes Manuais

Sem comentários