ROBO-8116G2AR
Copyright © Portwell 2022
ROBO-8116G2AR User's Guide
38
return Temp;
}
void Write_EC_SRAM(int offset, int value)
{
outb_p(value,EC_offset);
}
int main (int argc, char ** argv)
{
int Temp;
// Initial
if(iopl(3)!=0){
printf("error: I/O Permission Error!\n");
return 1;
}
// Get GPI status
Temp = Read_EC_SRAM(GPDR); //Bit3-0: GPI3-0 status
// Set GPO4 Output & High
Temp = Read_EC_SRAM(GPDR);
Write_EC_SRAM(GPDR,Temp|0x80); //Bit7-4: Set GPO3-0 status, 0: Low 1: High
Summary of Contents for ROBO-8116G2AR
Page 2: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 2 R1 0 Preliminary...
Page 13: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 13 2 2 Mechanical Dimensions...
Page 14: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 14...
Page 17: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 17 Block Diagram...
Page 19: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 19...
Page 39: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 39 return 0...
Page 46: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 46...
Page 47: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 47...
Page 67: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 67...
Page 68: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 68...
Page 71: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 71...
Page 92: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 92...
Page 93: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 93...
Page 94: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 94...
Page 102: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 102...
Page 103: ...ROBO 8116G2AR Copyright Portwell 2022 ROBO 8116G2AR User s Guide 103 6 2 5 Save Exit...