![background image](http://html1.mh-extra.com/html/ibase-technology/bytem-123-pc/bytem-123-pc_user-manual_3231598074.webp)
64
BYTEM-123-PC User Manual
void Dio5Initial(void)
{
unsigned char ucBuf;
ucBuf = Get_NCT5523D_Reg(0x1C);
ucBuf &= ~0x02;
Set_NCT5523D_Reg(0x1C, ucBuf);
Set_NCT5523D_LD(0x07);
//switch to logic device
7
//enable the GP2 group
ucBuf = Get_NCT5523D_Reg(0x30);
ucBuf |= 0x04;
Set_NCT5523D_Reg(0x30, ucBuf);
}
//---------------------------------------------------------------------------
void Dio5SetOutput(unsigned char NewData)
{
Set_NCT5523D_LD(0x07);
//switch to logic device 7
Set_NCT5523D_Reg(0xE1, NewData);
}
//---------------------------------------------------------------------------
unsigned char Dio5GetInput(void)
{
unsigned char result;
Set_NCT5523D_LD(0x07);
//switch to logic device 7
result = Get_NCT5523D_Reg(0xE1);
return (result);
}
//---------------------------------------------------------------------------
void Dio5SetDirection(unsigned char NewData)
{
//NewData : 1 for input, 0 for output
Set_NCT5523D_LD(0x07);
//switch to logic device 7
Set_NCT5523D_Reg(0xE8, NewData);
}
//---------------------------------------------------------------------------
unsigned char Dio5GetDirection(void)
{
unsigned char result;
Set_NCT5523D_LD(0x07);
//switch to logic device 7
result = Get_NCT5523D_Reg(0xE8);
return (result);
}
//---------------------------------------------------------------------------
Содержание BYTEM-123-PC
Страница 1: ...BYTEM 123 PC Industrial Panel PC for Railway User s Manual Version 1 0 December 2020...
Страница 10: ......
Страница 19: ...General Information BYTEM 123 PC User Manual 9 1 With Additional Rack Mount Kit...
Страница 28: ...18 BYTEM 123 PC User Manual IB897 bottom Intel Atom E3845 Quad Core...
Страница 34: ...24 BYTEM 123 PC User Manual 2 5 4 SATA II Port CN2 2 5 5 USB 3 0 Port CN3 2 5 6 LAN Port GbE CN4 CN5...
Страница 35: ...Motherboard Information BYTEM 123 PC User Manual 25 2 2 5 7 USB 2 0 Port CN6 2 5 8 Display Port CN7...
Страница 56: ...46 BYTEM 123 PC User Manual 4 4 2 LVDS Configuration...
Страница 65: ...BIOS Setup BYTEM 123 PC User Manual 55 4 4 5 Chipset Settings 4 5 1 North Bridge...