63
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 an
Assemble program, which demonstrates how to enable the watchdog timer and
set the time-out period at 28 seconds.
;--------------------------------------------------------------------------------------------
; Enter the extended function mode, interruptible double-write
;--------------------------------------------------------------------------------------------
Mov
dx, 2eh
; Enter to extended function mode
Mov
al, 87h
Out dx,al
Out dx,al
Mov
al,07h
; Select register index 0x07
Out
dx,al
;-----------------------------------------------------------------------------------------------------------------------
; Logical device 8, configuration WD IO Port 308H register, CR60 Bit 1,2,CR61 Bit 0~7
;-----------------------------------------------------------------------------------------------------------------------
Mov
dx,2fh
; Select LDN 8
Mov
al,08h
Out dx,al
Mov dX,2eh
Mov
al,60h
; Select LDN 8 register index 0x60
Out
dx,al
Mov dx,2fh
Mov
al,03h
; Set Watch Dog timer base address high byte to 0x03h
Out
dx,al
Mov dX,2eh
Mov
al,61h
; Select LDN 8 register index 0x61
Out
dx,al
Mov dx,2fh
Mov
al,20h
; Set Watch Dog Timer base address low byte to 0x08h
Out
dx,al
---------------------------------------------------------------------------------------------------------------------
; Logical device 8, configuration register, CR30 Bit 0,
Enable Watch Dog Timer Device
;--------------------------------------------------------------------------------------------------------------------
Mov
Mov
dX,2eh
al,30h
; Select LDN 8 register index 0x30
Out
Mov
Mov
dx,al
dx,2fh
al,01h
;
Enable Watch Dog Timer Device
;Mov
Out
al,00h
dx,al
; Disable Watch Dog Timer Device
;--------------------------------------------
; Exit extended function mode
;--------------------------------------------
Mov
dx,2eh
Mov
al,0aah
Out
dx,al
Summary of Contents for TCD-N2600-C2G2-2
Page 1: ...ii TCD N2600 C2G2 2 DIN miniPC User s Guide...
Page 9: ...6...
Page 15: ...12 2U Rack Mount Kit...
Page 19: ...16 7 Connecting the Audio EAR Phone EAR Phone...
Page 37: ...34 Super IO Configuration This section describes the function of Super I O settings...
Page 71: ...68...
Page 80: ...77 145 Appendix Dimension a TCD N2600 C2G2 2 50 4 102...
Page 81: ...18 2 10 5 REF 18 REF On 35mm Din Rails EN 50022 1977 78 72 REF...
Page 82: ...37 5 REF 8 c TCD N2600 C2G2 2 5311K1 100 57 4 79 8 16 REF 75 100...