ROBO-8115VG2AR
Copyright © Portwell 2021
ROBO-8115VG2AR User's Guide
42
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
return 0;
Summary of Contents for ROBO-8115VG2AR
Page 14: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 14...
Page 17: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 17 Block Diagram...
Page 19: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 19...
Page 43: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 43...
Page 48: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 48...
Page 50: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 50...
Page 63: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 63 PEG Port Configuration...
Page 70: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 70...
Page 71: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 71...
Page 89: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 89 6 2 4 Boot...
Page 91: ...ROBO 8115VG2AR Copyright Portwell 2021 ROBO 8115VG2AR User s Guide 91 6 2 5 Save Exit...