EasyManuals Logo

AMD MD740 User Manual

AMD MD740
62 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #57 background imageLoading...
Page #57 background image
APPENDIX
MB740 User’s Manual 53
result = 1;
goto Init_Finish;
}
ITE8705_BASE = 0x00;
result = 0;
Init_Finish:
return (result);
}
//============================================================
void Unlock_ITE8705 (void)
{
outportb(ITE8705_INDEX_PORT, ITE8705_UNLOCK1);
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;
}
//==============================
==============================

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the AMD MD740 and is the answer not in the manual?

AMD MD740 Specifications

General IconGeneral
BrandAMD
ModelMD740
CategoryMotherboard
LanguageEnglish

Related product manuals