Appendix
FWA8408 & FWA8406 User Manual
61
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);
}
//---------------------------------------------------------------------------
Содержание FWA8408
Страница 1: ...FWA8408 FWA8406 1U Rackmount Network Appliance User s Manual Version 1 0 Aug 2017...
Страница 15: ...8 FWA8408 FWA8406 User Manual 1 7 Dimensions Unit mm FWA8408 RPSU...
Страница 16: ...General Information FWA8408 FWA8406 User Manual 9 1 Unit mm FWA8408...
Страница 17: ...10 FWA8408 FWA8406 User Manual Unit mm FWA8406 RPSU...
Страница 18: ...General Information FWA8408 FWA8406 User Manual 11 1 Unit mm FWA8406...
Страница 29: ...22 FWA8408 FWA8406 User Manual 2 3 Jumper Connector Locations on Motherboard Motherboard MBN800 8L...
Страница 30: ...Hardware Configuration FWA8408 FWA8406 User Manual 23 2 Motherboard MBN800 6L...