RUBY-D812-Q470E
Copyright © Portwell 2021 RUBY-D812-Q470E User's Guide
35
if (val & (0x01 << GPIOn)) // Determine if GPIOn is High or Low, GPIOn is value 0 to 7
return HIGH; //GPI High
else
return LOW; //GPI Low
4. Set GPIOn GPO value
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, 0x0A); // Set SMBus Reg
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
MicroSecondDelay(10);
Status = Inportb(SMBU 0x00);
}
Содержание 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...