![background image](http://html1.mh-extra.com/html/ibase-technology/mi945pa/mi945pa_user-manual_3340956066.webp)
APPENDIX
62
MI945PA User’s Manual
//===========================================================================
void Set_W627DHG_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_W627DHG();
outportb(W627DHG_INDEX_PORT,
REG);
outportb(W627DHG_DATA_PORT,
DATA);
Lock_W627DHG();
}
//===========================================================================
unsigned char Get_W627DHG_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_W627DHG();
outportb(W627DHG_INDEX_PORT,
REG);
Result = inportb(W627DHG_DATA_PORT);
Lock_W627DHG();
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 __W627DHG_H
#define
__W627DHG_H
1
//===========================================================================
#define W627DHG_INDEX_PORT
(W627DHG_BASE)
#define W627DHG_DATA_PORT
(W627D1)
//===========================================================================
#define
W627DHG_REG_LD
0x07
//===========================================================================
#define
W627DHG_UNLOCK
0x87
#define
W627DHG_LOCK
0xAA
//===========================================================================
unsigned int Init_W627DHG(void);
void Set_W627DHG_LD( unsigned char);
void Set_W627DHG_Reg( unsigned char, unsigned char);
unsigned char Get_W627DHG_Reg( unsigned char);
//===========================================================================
#endif //__W627DHG_H
Summary of Contents for MI945PA
Page 1: ...MI945PA Intel CoreTM 2 Duo GM45 Mini ITX Motherboard USER S MANUAL Version 1 0...
Page 8: ...INTRODUCTION Board Dimensions 4 MI945PA User s Manual...
Page 17: ...INSTALLATIONS Connector Locations on MI945PA MI945PA User s Manual 13...
Page 26: ...INSTALLATIONS 22 MI945PA User s Manual This page is intentionally left blank...
Page 48: ...BIOS SETUP 44 MI945PA User s Manual This page is intentionally left blank...
Page 67: ...APPENDIX MI945PA User s Manual 63 This page is intentionally left blank...