RUBY-D812-Q470E
Copyright © Portwell 2021 RUBY-D812-Q470E User's Guide
33
Status = Inportb(SMBU 0x00); // Get SMBus Status
while (!(Status & 0x8E)) { // Wait for SMBus finished command
MicroSecondDelay(10);
Status = Inportb(SMBU 0x00);
}
val = Inportb(SMBU 0x05); // Get SMBus Data
val = val | (0x01 << GPIOn); // GPI, val = val | ~(0x01 << GPIOn) if GPO, GPIOn is value 0 to 7
Status = Inportb(SMBU 0x00);
Outportb(SMBU 0x00, Status); // SMBus Clear Status
Outportb(SMBU 0x02, 0x08); // Set SMBus CMD to Byte Data
Outportb(SMBU 0x04, 0x40); // Set SMBus Slave Address to 0x40 and excute Write flow
Outportb(SMBU 0x03, 0x00); // Set SMBus Reg
Outportb(SMBU 0x05, val); // Set SMBus Data
val = Inportb(SMBU 0x02);
val = val | 0x40;
Outportb(SMBU 0x02, val); // Excute SMBus Command
Status = Inportb(SMBU 0x00); // Get SMBus Status
while (!(Status & 0x8E)) { // Wait for SMBus finished command
Содержание RUBY-D812-Q470E
Страница 10: ...RUBY D812 Q470E Copyright Portwell 2021 RUBY D812 Q470E User s Guide 10 2 2 Mechanical Dimensions...
Страница 13: ...RUBY D812 Q470E Copyright Portwell 2021 RUBY D812 Q470E User s Guide 13 3 Block Diagram...
Страница 22: ...RUBY D812 Q470E Copyright Portwell 2021 RUBY D812 Q470E User s Guide 22 11 SATA 6 0Gb s ports 7 pin SATA6G_1 6...
Страница 41: ...RUBY D812 Q470E Copyright Portwell 2021 RUBY D812 Q470E User s Guide 41...
Страница 52: ...RUBY D812 Q470E Copyright Portwell 2021 RUBY D812 Q470E User s Guide 52 PCIE x16 x8 Slot PEG Port Configuration...
Страница 68: ...RUBY D812 Q470E Copyright Portwell 2021 RUBY D812 Q470E User s Guide 68 Parallel Port Configuration...
Страница 71: ...RUBY D812 Q470E Copyright Portwell 2021 RUBY D812 Q470E User s Guide 71 Console Redirection Settings...
Страница 91: ...RUBY D812 Q470E Copyright Portwell 2021 RUBY D812 Q470E User s Guide 91 7 2 5 Boot...
Страница 98: ...RUBY D812 Q470E Copyright Portwell 2021 RUBY D812 Q470E User s Guide 98...