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
Содержание NuPRO-A301
Страница 2: ...Revision History Revision Release Date Description of Change s 2 00 2010 01 19 Initial Release ...
Страница 6: ...vi Preface This page intentionally left blank ...
Страница 10: ...x List of Figures This page intentionally left blank ...
Страница 12: ...xii List of Tables This page intentionally left blank ...
Страница 16: ...4 Introduction 1 4 Mechanical Drawing Figure 1 1 NuPRO A301 Board Dimensions top view ...
Страница 18: ...6 Introduction This page intentionally left blank ...
Страница 34: ...22 Hardware Information This page intentionally left blank ...
Страница 38: ...26 Getting Started 7 Close the load plate A then fasten the load lever on the retention tab B A B ...