FabiaTech Corporation
Watchdog Timer Enabled
To enable the watchdog timer, you have to output a byte of timer factor to the
watchdog register whose address is 2eh and data port is 2fH. The following is a
demo program, which demonstrates how to enable the watchdog timer and set
the time-out period at 20 seconds.
;--------------------------------------------------------------------------------------------
; Enter the extended function mode, interruptible double-write
;--------------------------------------------------------------------------------------------
outportb (0x2e,0x87); // Enter to extended function mode
outportb(0x2e,0x87);
outportb(0x2e,0x07); // Select register index 0x07
;-----------------------------------------------------------------------------------------------------------------------
; Logical device 8,configuration WD IO Port 308H register, CR60 Bit1,2,CR61 Bit0~7
;-----------------------------------------------------------------------------------------------------------------------
outportb(0x2e,0x08);
//Select LDN 8
outportb(0x2e,0x60);
// Select LDN 8 register index 0x60
outportb(0x2f,0x03);
// Set Watch Dog timer base address high byte to 0x03h
outportb(0x2e,0x61);
// Select LDN 8 register index 0x61
outportb(0x2f,0x08);
// Set Watch Dog timer base address high byte to 0x08h
-------------------------------------------------------------------------------------------------------------------------
; Logical device 8, configuration register,CR30 Bit0,Enable Watch Dog Timer Device
;------------------------------------------------------------------------------------------------------------------------
outportb(0x2e,0x30);
// Select LDN 8 register index 0x30
outportb(0x2f,0x01); //
Enable Watch Dog Timer Device
//outportb(0x2f,0x00); // Disable Watch Dog Timer Device
;--------------------------------------------
; Exit extended function mode
;--------------------------------------------
outportb(0x2e,0x00);
60
Содержание FX5328
Страница 5: ...v ...
Страница 11: ...FabiaTech Corporation 6 ...
Страница 16: ...FabiaTech Corporation e3 FX5407K3 Panel Mounting Kit VESA Mount 50 50 75 75 100 100 M4 P0 7 M3 P0 5 11 ...
Страница 20: ...FabiaTech Corporation 8 Connecting the Audio EAR Phone EAR Phone 15 ...
Страница 25: ...FabiaTech Corporation 20 ...