APPENDIX
54
IB885 User’s Manual
//===========================================================================
void Set_W627EHF_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_W627EHF();
outportb(W627EHF_INDEX_PORT,
REG);
outportb(W627EHF_DATA_PORT,
DATA);
Lock_W627EHF();
}
//===========================================================================
unsigned char Get_W627EHF_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_W627EHF();
outportb(W627EHF_INDEX_PORT,
REG);
Result = inportb(W627EHF_DATA_PORT);
Lock_W627EHF();
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 __W627EHF_H
#define
__W627EHF_H
1
//===========================================================================
#define W627EHF_INDEX_PORT
(W627EHF_BASE)
#define W627EHF_DATA_PORT
(W627E1)
//===========================================================================
#define W627EHF_REG_LD
0x07
//===========================================================================
#define
W627EHF_UNLOCK 0x87
#define W627EHF_LOCK
0xAA
//===========================================================================
unsigned int Init_W627EHF(void);
void Set_W627EHF_LD( unsigned char);
void Set_W627EHF_Reg( unsigned char, unsigned char);
unsigned char Get_W627EHF_Reg( unsigned char);
//===========================================================================
#endif //__W627EHF_H
Summary of Contents for IB885
Page 1: ...IB885 AMD Sempron 200U 210U 3 5 inch Embedded Board USER S MANUAL Version 1 0 ...
Page 4: ...iv IB885 User s Manual This page is intentionally left blank ...
Page 8: ...INTRODUCTION Board Dimensions Top View 4 IB885 User s Manual ...
Page 24: ...INSTALLATIONS 20 IB885 User s Manual This page is intentionally left blank ...
Page 42: ...BIOS SETUP 38 IB885 User s Manual This page is intentionally left blank ...
Page 52: ...DRIVER INSTALLATION 48 IB885 User s Manual This page is intentionally left blank ...