System Installation
WADE-8075 / WADE-8076 User’s Manual
3-9
Set_CFG2(0xE0,
0x1E);
/*
Set
the GPIO 50, 55, 56, 57 to output.
GPIO 51, 52, 53, 54 to input */
LD08E4_S = Get_CFG2(0xE4);
/* Backup the value */
Set_CFG2(0xE4, (LD08E4_S & 0x1E) );
/* Set the GPIO 60 to output.
GPIO 61, 62, 63, 64 to input*/
delay(2);
Set_CFG2(0x07,
0x09);
LD09E5_S = Get_CFG2(0xE5);
/* Backup the value */
Set_CFG2(0xE5, (LD09E5_S | 0x14) );
/* Set the GPIO 22, 23, 24 to
High */
Set_CFG2(0x07, 0x08);
/* Select logic device 08*/
LD08E1_S = Get_CFG2(0xE1);
/* Backup the value */
Set_CFG2(0xE1, ((LD08E1_S & 0x00) | 0xA0) );
/* Set th GPIO 50, 55,
56, 57 to High */
LD08E5_S = Get_CFG2(0xE5);
/* Backup the value */
Set_CFG2(0xE5, (LD08E5_S & 0xFE) );
/* Set the GPIO 60 to High*/
delay(100);
Set_CFG2(0x07, 0x08);
/* Select logic device 08*/
Test_Group_1 = Get_CFG2(0xE1); /* get GPIO Port 5 data */
Test_Group_2 = Get_CFG2(0xE5); /* get GPIO Port 6 data */
printf("\n Test_Group_1 = %x", Test_Group_1);
printf("\n Test_Group_2 = %x", Test_Group_2);
//printf("\n%x",d2);
if ( (Test_Group_1 & 0xAA) == 0xAA ){
printf("\n
GPIO[24,23,22,50]->[51,52,53,54]
test
ok!");
}
else{
printf("\n
GPIO[24,23,22,50]->[51,52,53,54]
test
fail!");
}
if ( (Test_Group_2 & 0x0A) == 0x0A) {
printf("\n
GPIO[55,56,57,60]->[61,62,63,64]
test
ok!");
}
else
{
printf("\n
GPIO[55,56,57,60]->[61,62,63,64]
test
fail!");
}
Set_CFG2(0x07,
0x09);
Set_CFG2(0xE0,
LD09E0_S);
Set_CFG2(0x30,
LD0930_S);
Summary of Contents for WADE-8075
Page 8: ...System Overview WADE 8075 WADE 8076 User s Manual 1 5 1 3 1 Mechanical Drawing...
Page 9: ...System Overview WADE 8075 WADE 8076 User s Manual 1 6...
Page 12: ...Hardware Configuration WADE 8075 WADE 8076 User s Manual 2 2 Figure 2 2 Solder side...
Page 47: ...BIOS Setup Information WADE 8075 WADE 8076 User s Manual 4 16 H W Monitor...