Watchdog Timer
59
NuPRO-A301
Appendix A - Watchdog Timer
A sample program for configuring the NuPRO-A301’s watchdog
timer is included on the ADLINK CD in the
\WDT
directory.
A.1 Sample Code
begin:
;-------------------------------------------------------
; Enter extended function mode, interrupt double-write
;-------------------------------------------------------
mov dx, 2Eh
mov al, 87h
out dx, al
out dx, al
mov dx, 2Eh
mov al, 07h
out dx, al
mov dx, 2Fh
mov al, 08h
out dx, al
mov dx, 2Eh
mov al, 0F7h
out dx, al
;device 8, CRF7
mov dx, 2Fh
mov al, 0C0h
out dx, al
mov dx, 2Eh
mov al, 0F5h
;device 8, CRF5
out dx, al
mov dx, 2Fh
mov al, 00h
;bit 3 -> 0 = second
;bit 3 -> 1 = minute
mov dx, 2Eh
mov al, 0F6h;device 8, CRF6
out dx, al
Summary of Contents for NuPRO-A301
Page 6: ...vi Preface This page intentionally left blank ...
Page 10: ...x List of Figures This page intentionally left blank ...
Page 12: ...xii List of Tables This page intentionally left blank ...
Page 16: ...4 Introduction 1 4 Mechanical Drawing Figure 1 1 NuPRO A301 Board Dimensions top view ...
Page 18: ...6 Introduction This page intentionally left blank ...
Page 34: ...22 Hardware Information This page intentionally left blank ...