F81216
outportb(0x4f, 0x01); //Enable Watch Dog Timer Device
outportb(0x4e, 0xaa); //Exit configuration mode
3. Set Watch Dog timer to 20 second used base address 0x300~0x301:
outportb(0x300, 0x03); //Select unit to one second and clear time out status
outportb(0x301, 0x14);
outportb(0x301, 0x14); //Set timer to 20 second and enable timer
6.1 Global Control Register
6.1.1 Software Reset Register – index 02h
Power-on default [7:0] = 0x00h
Bit
7:1
Name
Reserved
SWRST
R/W
R/W
R/W
Description
Return 0 when read.
Write 1 to reset configuration register. This bit is auto cleared.
0
6.1.2 Logic Device Select Register – index 07h
Power-on default [7:0] = 0x00h
Bit
7:0
Name
LDN[7:0]
R/W
Description
R/W
00h : Select UART 1 device configuration register
01h : Select UART 2 device configuration register
02h : Select UART 3 device configuration register
03h : Select UART 4 device configuration register
08h : Select Watchdog Timer device configuration register
6.1.3 Device ID Register– index 20h, 21h
Power-on default [7:0], 0x02h for index 20h, 0x08h for index 21h
Bit
7:0
Name
DEVID
R/W
Description
Return 0208h when read index 20h and 21h respectively, indicate the
device ID.
R
6.1.4 Vendor ID Register– index 23h, 24h
Power-on default [7:0], 0x19h for index 23h, 0x34h for index 24h
-19-
August, 2007
V0.32P