3.18 External Speaker
Aside from the buzzer at location
BZ1
onboard, the 3302670 also
offers a connector (
CN2
) for an external speaker connection. The table
below lists the pin assignments of
CN2
.
z
CN2: Speaker Connector
PIN
Description
1
+5V
2
GND
3
GND
4
Speak In
3.19 Watchdog Timer
1
2
3
4
Once the Enable cycle is active, a Refresh cycle is requested before
the time-out period. This restarts counting of the WDT period. When
the time counting goes over the period preset of WDT, it will assume
that the program operation is abnormal. A System Reset signal will
re-start when such error happens.
The following sample programs show how to Enable, Disable and
Refresh the Watchdog Timer:
;----------------------------------------------------------------------------------
; Enter the WDT function mode, interruptible 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, F5H
OUT
DX, AL
; select CRF0
MOV
DX, 2FH
MOV
AL, 80H
OUT
DX, AL
MOV
DX, 2EH
MOV
AL, F7H
OUT
DX, AL
MOV
DX, 2FH
MOV
AL, 00H
OUT
DX, AL
20
Summary of Contents for 3302670
Page 9: ...1 3 Board Dimensions 4...
Page 13: ...3 2 Board Layout 8...
Page 29: ...This page is intentionally left blank 24...