
APPENDIX
MB740 User’s Manual
57
outportb(ITE8705_INDEX_PORT,
ITE8705_UNLOCK2);
outportb(ITE8705_INDEX_PORT,
ITE8705_UNLOCK3);
if (ITE8705_BASE == 0x2E)
outportb(ITE8705_INDEX_PORT,
ITE8705_UNLOCK3);
else
outportb(ITE8705_INDEX_PORT,
ITE8705_UNLOCK4);
}
//============================================================
void Lock_ITE8705 (void)
{
outportb(ITE8705_INDEX_PORT,
ITE8705_LOCK);
}
//============================================================
void Set_ITE8705_LD( unsigned char LD)
{
Unlock_ITE8705();
outportb(ITE8705_INDEX_PORT,
ITE8705_REG_LD);
outportb(ITE8705_DATA_PORT,
LD);
Lock_ITE8705();
}
//============================================================
void Set_ITE8705_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_ITE8705();
outportb(ITE8705_INDEX_PORT,
REG);
outportb(ITE8705_DATA_PORT,
DATA);
Lock_ITE8705();
}
//============================================================
unsigned char Get_ITE8705_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_ITE8705();
outportb(ITE8705_INDEX_PORT,
REG);
Result = inportb(ITE8705_DATA_PORT);
Lock_ITE8705();
return
Result;
}
//====================================================
========
File name: ITE8705.H
//============================================================
// 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 __ITE8705_H
#define __ITE8705_H
1
//============================================================
#define
ITE8705_INDEX_PORT
(ITE8705_BASE)
#define
ITE8705_DATA_PORT
(ITE871)
//============================================================
#define
ITE8705_REG_LD
0x07
//============================================================
#define
ITE8705_IO_PORT 0x0803
//============================================================
#define ITE8705_UNLOCK1
0x87
#define ITE8705_UNLOCK2
0x01
Summary of Contents for MD740
Page 1: ...MB740 AMD Geode NX Mini ITX Motherboard USER S MANUAL Version 1 0...
Page 4: ...THE MB740 MINI ITX MOTHERBOARD iv MB740 User s Manual...
Page 8: ...INTRODUCTION Board Dimensions 4 MB740 User s Manual...
Page 24: ...INSTALLATIONS 20 MB740 User s Manual This page is intentionally left blank...
Page 44: ...BIOS SETUP 40 MB740 User s Manual This page is intentionally left blank...