WADE-8213-Q670E
Copyright © Portwell 2022 WADE-8213-Q670E User's Guide
47
else
return LOW; //GPI Low
3. Set GPIOn GPO value
Outportb(SIO_INDEX_PORT, 0x87); // Unlock SIO
Outportb(SIO_INDEX_PORT, 0x87); // Unlock SIO
Outportb(SIO_INDEX_PORT, 0x07);
Outportb(SIO_DATA_PORT, 0x07);
Outportb(SIO_INDEX_PORT, 0x30);
val = Inportb(SIO_DATA_PORT)
val = val | 0x10;
Outportb(SIO_INDEX_PORT, 0x30);
Outportb(SIO_DATA_PORT, val); // Active GPIO
Outportb(SIO_INDEX_PORT, 0xF1);
val = Inportb(SIO_DATA_PORT) // Read current value
val = val | (0x01 <<GPIOn); // GPO LOW, val = val&~(0x01 <<GPIOn); if GPO High, GPIOn is value 0 to 7
Outportb(SIO_INDEX_PORT, 0xF1);
Outportb(SIO_DATA_PORT, val);
Outportb(SIO_INDEX_PORT, 0xAA); // Lock SIO
Summary of Contents for WADE-8213-Q670E
Page 13: ...WADE 8213 Q670E Copyright Portwell 2022 WADE 8213 Q670E User s Guide 13 3 Block Diagram...
Page 37: ...WADE 8213 Q670E Copyright Portwell 2022 WADE 8213 Q670E User s Guide 37 23 M 2 Wi Fi...
Page 51: ...WADE 8213 Q670E Copyright Portwell 2022 WADE 8213 Q670E User s Guide 51...
Page 101: ...WADE 8213 Q670E Copyright Portwell 2022 WADE 8213 Q670E User s Guide 101...