AIIS-3411 User Manual
62
A.2.1
Example Programs
Enable watchdog timer and set 10 seconds as the timeout interval
;-----------------------------------------------------------
Mov dx,2eh ; Unlock NCT6776D
Mov al,87h
Out dx,al
Out dx,al
;-----------------------------------------------------------
Mov al,07h ; Select registers of the watchdog timer
Out dx,al
Inc dx
Mov al,08h
Out dx,al
;-----------------------------------------------------------
Dec dx; Enable the function of the watchdog timer
Mov al,30h
Out dx,al
Inc dx
Mov al,01h
Out dx,al
;-----------------------------------------------------------
Dec dx ; Set seconds as the counting unit
Table A.1: Watchdog Timer Registers
Address of
register (2E)
Read/
Write
Value (2F) & description
87 (hex)
-
Write this address to I/O address port 2E (hex) twice to unlock the
NCT6776D
07 (hex)
write
Write 08 (hex) to select register of watchdog timer.
30 (hex)
write
Write 01 (hex) to enable the function of the watchdog timer. Dis
-
abled is set as the default.
F5 (hex)
write
Set seconds or minutes as units for the timer. Write 0 to bit 3: set
seconds as the counting unit. [default]. Write 1 to bit 3: set minutes
as the counting unit.
Write 1 to bit 4: Watchdog timer count mode is 1000 times faster.
If bit 3 is 0, the count mode is 1/1000 second mode. If bit 3 is 1, the
count mode is 1/1000 minute mode.
F6 (hex)
write
0: stop timer [default]
01 ~ FF (hex): The amount of the count, in seconds or minutes,
depends on the value set in register F5 (hex). This number decides
how long the watchdog timer waits for the strobe before generating
an interrupt or reset signal. Writing a new value to this register can
reset the timer to count with the new value.
F7 (hex)
read/
write
Bit 6: Write 1 to enable the keyboard to reset the timer, 0 to disable.
[default]
Bit 5: Write 1 to generate a timeout signal immediately and auto
-
matically return to 0. [default=0]
Bit 4: Read status of watchdog timer, 1 means timer is “timeout”.
AA (hex)
-
Write this address to I/O port 2E (hex) to lock NCT6776D.
Summary of Contents for AIIS-3411 Series
Page 1: ...User Manual AIIS 3411 Machine Vision System Computer ...
Page 8: ...AIIS 3411 User Manual viii ...
Page 12: ...AIIS 3411 User Manual xii ...
Page 36: ...AIIS 3411 User Manual 24 ...
Page 37: ...Chapter 3 3 AMI BIOS Setup ...
Page 48: ...AIIS 3411 User Manual 36 3 2 2 8 Super IO Configuration Figure 3 11 Super IO Configuration ...
Page 64: ...AIIS 3411 User Manual 52 ...
Page 65: ...Chapter 4 4 Software Installation This chapter introduces driver installation ...
Page 69: ...57 AIIS 3411 User Manual Chapter 4 Software Installation ...
Page 70: ...AIIS 3411 User Manual 58 ...
Page 71: ...Appendix A A Programming the Watchdog Timer ...
Page 79: ...Appendix B B 32 bit DIO Signal Connections ...
Page 82: ...AIIS 3411 User Manual 70 ...
Page 83: ...Appendix C C Exploded Diagram Parts List ...
Page 84: ...AIIS 3411 User Manual 72 C 1 Exploded Diagram Figure C 1 Exploded Diagram ...