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;
}
//==============================
==============================
Содержание MD740
Страница 1: ...MB740 AMD Geode NX Mini ITX Motherboard USER S MANUAL Version 1 0...
Страница 4: ...THE MB740 MINI ITX MOTHERBOARD iv MB740 User s Manual...
Страница 8: ...INTRODUCTION Board Dimensions 4 MB740 User s Manual...
Страница 24: ...INSTALLATIONS 20 MB740 User s Manual This page is intentionally left blank...
Страница 44: ...BIOS SETUP 40 MB740 User s Manual This page is intentionally left blank...