Com express board – DFI G5C900-B User Manual
Page 116
116
COM Express Board
mSuperio_GetSet_Reg
Macro RegIndex, AndMask, OrValue
mov
dx, SuperIo_CFG_Port
mov
al, RegIndex
out
dx, al
NEWIODELAY
mov
dx, SuperIo_DAT_Port
in al, dx
NEWIODELAY
mov
ah, al
and
al, AndMask
or
al, OrValue
out
dx, al
NEWIODELAY
endM
mSuperio_Get_Reg
Macro RegIndex
mov
dx, SuperIo_CFG_Port
mov
al, RegIndex
out
dx, al
NEWIODELAY
mov
dx, SuperIo_DAT_Port
in
al, dx
NEWIODELAY
endM
mSuperio_LDN_Select
Macro
LDN
mSuperio_Set_Reg 07h, LDN
endM
mSuperio_Set_Reg
Macro RegIndex, SetValue
mov
dx, SuperIo_CFG_Port
mov
al, RegIndex
out
dx, al
NEWIODELAY
mov
dx, SuperIo_DAT_Port
mov
al, SetValue
out
dx, al
NEWIODELAY
endM
This manual is related to the following products: