NANO-6051
Copyright © Portwell 2020 NANO-6051 User's Guide
38
5.2 Signal GPIO Signal
#Define GPCR 0x2B
// GPIO Coutrol Register, Bit7 = GPO3, Bit6 = GPO2, ...,
// Bit3 = GPI3, Bit2 = GPI2, ...,
// 0: Output; 1: Input
#Define GPDR 0x2C
// GPIO Status Register, Bit7 = GPO3, Bit6 = GPO2, ...,
// Bit3 = GPI3, Bit2 = GPI2, ...,
// 0: Low; 1: High
#Define EC_IOPort 0xE300 // Default, reference to BIOS configuration
VOID Write_EC_SRAM(UINT8 Offset,UINT8 Value){
IoWrite8(ECOffset,Value);
}
Byte Read_EC_SRAM(UINT8 Offset){
IoRead8(ECoffset,Value);
return Value;
}
void GPIO()
Summary of Contents for NANO-6051
Page 2: ...NANO 6051 Copyright Portwell 2020 NANO 6051 User s Guide 2 Revision History R1 0 Preliminary ...
Page 10: ...NANO 6051 Copyright Portwell 2020 NANO 6051 User s Guide 10 2 2 Mechanical Dimensions ...
Page 13: ...NANO 6051 Copyright Portwell 2020 NANO 6051 User s Guide 13 3 Block Diagram V ...
Page 44: ...NANO 6051 Copyright Portwell 2020 NANO 6051 User s Guide 44 ...
Page 70: ...NANO 6051 Copyright Portwell 2020 NANO 6051 User s Guide 70 Console Redirection Settings ...
Page 73: ...NANO 6051 Copyright Portwell 2020 NANO 6051 User s Guide 73 7 2 4 Boot ...