FabiaTech Corporation
45
Watchdog Timer Disabled
To disable the watchdog timer, simply write a 00H to the watchdog register.
------------------------------------------------------------------------------------------
; 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
;------------------------------------------------------------------------------------------------------------------------
; Logical device 8, configuration register CRF5 Bit 3(Sec./Min.), CRF6 Bit 0~7 (Count.)
;-------------------------------------------------------------------------------------------------------------------------
Mov
al,07h
Out
dx,al
Mov
dx,2fh
Mov
al,08h ;
Select Logical Device 8 of watchdog tim
er
Out
dx,al
Mov
dX,2eh
Mov
al,0f5h
;Set second as counting unit
Out dx,al
Mov dx,2fh
In
al,dx
And
al,not c8h ;Set Second or Minute.
Out
dx,al
Mov
dx,2eh
Mov
al,0f6h
Out dx,al
Mov dx,2fh
Mov al,00h
;
Set Watchdog Timer Disabled
Out dx,al
;------------------------------------------
; Exit extended function mode
;------------------------------------------
Mov
dx,2eh
;Exit the extended function mode
Mov
al,0aah
Out dx,al
Содержание FX5612
Страница 5: ...v ...
Страница 51: ...FabiaTech Corporation 46 ...
Страница 68: ...FabiaTech Corporation 63 Appendix Dimension 249 174 72 4 5 1 2 ...