57
Appendix A
A.2 GPIO and WDT Setup
A.2.1 Entry MB PnP mode
//write twice 0x87 value.
outportb (Super I/O special address port, 0x87);
outportb (Super I/O special address port, 0x01);
outportb (Super I/O special address port, 0x55);
outportb (Super I/O special address port, 0x55);
A.2.2 Located on Logical Device 7
//write 0x07 on Reg [0x07] , this setup must follow Step A. that can be workable.
outportb (Super I/O special address port, 0x07);
outportb (Super I/O special data port, 0x07);
A.2.3 Access the Super I/O register
Base control for write Super I/O register
outportb (Super I/O special address port, Register Index.);
outportb (Super I/O special data port, update_value);
Base control for read Super I/O register
outportb (Super I/O special address port, Register Index.);
inportb (Super I/O special data port); //It will return a BYTE value.