PEB-2773VG2ATM
Copyright © Portwell 2017 PEB-2773VG2ATM User's Guide
32
IoWrite8(ECOffset,Value);
}
Byte Read_EC_SRAM(UINT8 Offset){
IoRead8(ECoffset,Value);
return Value;
}
void GPIO()
{
int Temp;
// Set GPIO7 Input & get status
Temp = Read_EC_SRAM(GPCR);
Write_EC_SRAM(GPCR,Temp|0x80); //Bit7: GPIO7 control, 0: Output 1: Input
Temp = Read_EC_SRAM(GPDR); //Bit7: GPIO7 status, 0: Output 1: Input
// Set GPIO7 Output & High
Temp = Read_EC_SRAM(GPCR);
Write_EC_SRAM(GPCR,Temp&0x7F); //Bit7: GPIO7 control, 0: Output 1: Input
Temp = Read_EC_SRAM(GPDR);
Write_EC_SRAM(GPDR,Temp|0x80); //Bit7: GPIO7 status, 0: Low 1: High
}
Summary of Contents for PEB-2773VG2ATM
Page 10: ...PEB 2773VG2ATM Copyright Portwell 2017 PEB 2773VG2ATM User s Guide 10 ...
Page 14: ...PEB 2773VG2ATM Copyright Portwell 2017 PEB 2773VG2ATM User s Guide 14 3 Block Diagram ...
Page 37: ...PEB 2773VG2ATM Copyright Portwell 2017 PEB 2773VG2ATM User s Guide 37 ...
Page 93: ...PEB 2773VG2ATM Copyright Portwell 2017 PEB 2773VG2ATM User s Guide 93 7 2 5 Save Exit ...
Page 96: ...PEB 2773VG2ATM Copyright Portwell 2017 PEB 2773VG2ATM User s Guide 96 ...
Page 97: ...PEB 2773VG2ATM Copyright Portwell 2017 PEB 2773VG2ATM User s Guide 97 Serial ATA ...