APPENDIX
58
MI801 User’s Manual
}
//---------------------------------------------------------------------------
void Dio5Initial(void)
{
unsigned char ucBuf;
Set_W627UHG_LD(0x08);
//switch to logic device 8
//enable the GP5 group
ucBuf = Get_W627UHG_Reg(0x30);
ucBuf |= 0x02;
Set_W627UHG_Reg(0x30, ucBuf);
}
//---------------------------------------------------------------------------
void Dio5SetOutput(unsigned char NewData)
{
Set_W627UHG_LD(0x08);
//switch to logic device 8
Set_W627UHG_Reg(0xE1, NewData);
}
//---------------------------------------------------------------------------
unsigned char Dio5GetInput(void)
{
unsigned char result;
Set_W627UHG_LD(0x08);
//switch to logic device 8
result = Get_W627UHG_Reg(0xE1);
return (result);
}
//---------------------------------------------------------------------------
void Dio5SetDirection(unsigned char NewData)
{
//NewData : 1 for input, 0 for output
Set_W627UHG_LD(0x08);
//switch to logic device 8
Set_W627UHG_Reg(0xE0, NewData);
}
//---------------------------------------------------------------------------
unsigned char Dio5GetDirection(void)
{
unsigned char result;
Set_W627UHG_LD(0x08);
//switch to logic device 8
result = Get_W627UHG_Reg(0xE0);
return (result);
}
//---------------------------------------------------------------------------
Содержание MI801
Страница 1: ...MI801 Intel Pineview D ICH8M Mini ITX Motherboard USER S MANUAL Version 1 1...
Страница 4: ...iv MI801 User s Manual This page is intentionally left blank...
Страница 8: ...INTRODUCTION 4 MI801 User s Manual Board Dimensions...
Страница 14: ...INSTALLATIONS 10 MI801 User s Manual JP8 Clear CMOS Setting JP8 Setting Normal Clear CMOS...
Страница 16: ...INSTALLATIONS 12 MI801 User s Manual Connector Locations on MI801...
Страница 42: ...BIOS SETUP 38 MI801 User s Manual This page is intentionally left blank...
Страница 50: ...DRIVERS INSTALLATION 46 MI801 User s Manual This page is intentionally left blank...