User’s Manual
55
unsigned char GPIO6 = ( (B4 << 3) ) & 0xFF;
SetPortVal(0x50F, GPIO6, 1); //GPIO27
if(B5)
{
if(B6)
{
GPIO6 = 0xFF;
}
else
{
GPIO6 = 0xFB;
}
}
else
{
if(B6)
{
GPIO6 = 0xFD;
}
else
{
GPIO6 = 0xF9;
}
}
SetPortVal(0x53B, GPIO6, 1); //GPIO57 58
GPIO6 = ( (B7 << 3) ) & 0x0F;
SetPortVal(0x549, GPIO6, 1); //GPIO75
}
void CL706_GPIO_TESTDlg::Gpio2_In_detect()
{
DWORD dwPortVal=0;
//set GPIO is enabled GPIO68 69 70 71 27 57 58 75
SetPortVal(0x540, 0xF0, 1); //GPIO68 69 70 71
SetPortVal(0x541, 0x08, 1); //GPIO75
SetPortVal(0x503, 0x39, 1); //GPIO27
SetPortVal(0x533, 0x16, 1); //GPIO57 58
//set port2 is input
SetPortVal(0x544, 0xF0, 1); //GPIO68 69 70 71
SetPortVal(0x545, 0x08, 1); //GPIO75
SetPortVal(0x507, 0xAE, 1); //GPIO27
SetPortVal(0x537, 0x0F, 1); //GPIO57 58
Summary of Contents for FEBC-3158
Page 8: ...User s Manual 1 General Information CHAPTER 1 ...
Page 11: ...User s Manual 4 FEBC 3158 S001 Dimensions Uint mm Figure 1 1 ...
Page 12: ...User s Manual 5 Hardware Installation CHAPTER 2 ...
Page 17: ...User s Manual 10 2 4 I O indication Front view Rear view Figure 2 14 ...
Page 24: ...User s Manual 17 Figure 2 24 Figure 2 25 ...
Page 28: ...User s Manual 21 BIOS Setup CHAPTER 3 ...
Page 50: ...User s Manual 43 Driver Installation CHAPTER 4 ...