![IBASE Technology MB835 User Manual Download Page 50](http://html1.mh-extra.com/html/ibase-technology/mb835/mb835_user-manual_604993050.webp)
APPENDIX
46
MB835 User’s Manual
//===========================================================================
void Set_W627EHG_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_W627EHG();
outportb(W627EHG_INDEX_PORT,
REG);
outportb(W627EHG_DATA_PORT,
DATA);
Lock_W627EHG();
}
//===========================================================================
unsigned char Get_W627EHG_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_W627EHG();
outportb(W627EHG_INDEX_PORT,
REG);
Result = inportb(W627EHG_DATA_PORT);
Lock_W627EHG();
return
Result;
}
//===========================================================================
//===========================================================================
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//
//===========================================================================
#ifndef __W627EHG_H
#define
__W627EHG_H
1
//===========================================================================
#define W627EHG_INDEX_PORT
(W627EHG_BASE)
#define W627EHG_DATA_PORT
(W627E1)
//===========================================================================
#define W627EHG_REG_LD
0x07
//===========================================================================
#define
W627EHG_UNLOCK
0x87
#define W627EHG_LOCK
0xAA
//===========================================================================
unsigned int Init_W627EHG(void);
void Set_W627EHG_LD( unsigned char);
void Set_W627EHG_Reg( unsigned char, unsigned char);
unsigned char Get_W627EHG_Reg( unsigned char);
//===========================================================================
#endif //__W627EHG_H
Summary of Contents for MB835
Page 1: ...MB835 Intel EP80579 Motherboard USER S MANUAL Version 1 0 ...
Page 4: ...iv MB835 User s Manual This page is intentionally left blank ...
Page 9: ...INSTALLATION Board Dimensions MB835 User s Manual 5 ...
Page 10: ...INSTALLATION 6 MB835 User s Manual This page is intentionally left blank ...
Page 44: ...DRIVERS INSTALLATION 40 MB835 User s Manual This page is intentionally left blank ...