![FabiaTech Fanless FX5613 Скачать руководство пользователя страница 50](http://html1.mh-extra.com/html/fabiatech/fanless-fx5613/fanless-fx5613_user-manual_3105024050.webp)
FabIATech Corporation
44
Watchdog Timer Enabled
To enable the watchdog timer, you have to output a byte of timer factor to the
watchdog register whose address is 4Eh and data port is 4fH. 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, 4eh
; 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 IO Port 300H register, CR60 Bit 1,2,CR61 Bit 0~7
;----------------------------------------------------------------------------------------------------------------
Mov
dx,4fh
; Select LDN 8
Mov
al,08h
Out
dx,al
Mov
dX,4eh
Mov
al,60h
; Select LDN 8 register index 0x60
Out
dx,al
Mov
dx,4fh
Mov
al,03h ; Set Watch Dog timer base address high byte to 0x03h
Out
dx,al
Mov
dX,4eh
Mov
al,61h
; Select LDN 8 register index 0x61
Out
dx,al
Mov
dx,4fh
Mov
al,00h ; Set Watch Dog Timer base address low byte to 0x00h
Out
dx,al
----------------------------------------------------------------------------------------------------------------
; Logical device 8, configuration register, CR30 Bit 0,
Enable Watch Dog Timer Device
;----------------------------------------------------------------------------------------------------------------
Mov
dX,4eh
Mov
al,30h
; Select LDN 8 register index 0x30
Out
dx,al
Mov
dx,4fh
Mov
al,01h ;
Enable Watch Dog Timer Device
Out
dx,al
;------------------------------------------
; Exit extended function mode
;------------------------------------------
Mov
dx,4eh
Mov
al,0aah
Out dx,al
Содержание Fanless FX5613
Страница 5: ...v Physical and Environmental 51 Serial Ports 52...
Страница 6: ...vi...
Страница 12: ...FabIATech Corporation 6...
Страница 22: ...FabIATech Corporation 16...
Страница 52: ...FabIATech Corporation 46...