RUBY-D812-Q470E
Copyright © Portwell 2021 RUBY-D812-Q470E User's Guide
32
Outportb(SIO_DATA_PORT, val); // Write back WDT status
Outportb(SIO_INDEX_PORT, 0xAA); // Lock SIO
5.2
GPIO Signal
GPIO Setting
1. Get SMBUS_BASE address
val = 0x8000FC20;
Outportd(0xCF8, val);
val = Inportd(0xCFC);
SMBUS_BASE = val & 0x0000FFE0;
2. Set GPIOn to GPI or GPO
Status = Inportb(SMBU 0x00);
Outportb(SMBU 0x00, Status); // SMBus Clear Status
Outportb(SMBU 0x02, 0x08); // Set SMBus CMD to Byte Data
Outportb(SMBU 0x04, 0x41); // Set SMBus Slave Address to 0x40 and excute Read flow
Outportb(SMBU 0x03, 0x00); // Set SMBus Reg
val = Inportb(SMBU 0x02);
val = val | 0x40;
Outportb(SMBU 0x02, val); // Excute SMBus Command
Summary of Contents for RUBY-D812-Q470E
Page 13: ...RUBY D812 Q470E Copyright Portwell 2021 RUBY D812 Q470E User s Guide 13 3 Block Diagram...
Page 41: ...RUBY D812 Q470E Copyright Portwell 2021 RUBY D812 Q470E User s Guide 41...
Page 91: ...RUBY D812 Q470E Copyright Portwell 2021 RUBY D812 Q470E User s Guide 91 7 2 5 Boot...
Page 98: ...RUBY D812 Q470E Copyright Portwell 2021 RUBY D812 Q470E User s Guide 98...