BIOS Setup Information
NANO-6040/NANO-6040L User’s Manual
3-4
// Setting timer
unlock_registers
();
outb (0, W PV1);
delay
(2);
unlock_registers
();
outl (preload, W PV2);
delay
(2);
// Trigger WDT. If you want to disable WDT, you can key 0x00.
unlock_registers
();
outb (0x02, W WDTLR);
delay
(2);
3.6 GPIO
The motherboard provides 8 input / output ports that can be individually configured
to perform a simple basic I/O function.
GPIO Pin Assignment
The NANO-6040 provides 8 input/output ports that can be individually configured
to perform a simple basic I/O function. Users can configure each individual port to
become an input or output port by programming register bit of I/O Selection. To
invert port value, the setting of Inversion Register has to be made. Port values can be
set to read or write through Data Register.
The GPIO port is located on J22 shown as follows.
WARNING
Do not short the pin 9 and 10 of J22!