Epson S1C6200A Spezifikationen Seite 166

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 249
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 165
II-14 EPSON S1C62740 TECHNICAL SOFTWARE
CHAPTER 6: PERIPHERAL CIRCUITS (Watchdog Timer)
Example program
for the watchdog
timer
Following program shows the reset procedure for watchdog timer.
Label Mnemonic/operand Comment
;*
;* RESET WATCHDOG TIMER
;*
ZWDOG EQU 0E5H ;WATCHDOG ADDRESS
WDRST EQU 1000B ;WATCHDOG RESET BIT
;
LD X,ZWDOG ;SET WATCHDOG ADDRESS
OR MX,WDRST ;RESET WATCHDOG TIMER
;
(1) The watchdog timer must be reset within 3-second cycles.
Because of this, the watchdog timer data (WD0, WD1) cannot be
used for clocking of 3 seconds or more.
(2) When clock timer resetting (TMRST"1") is performed, the
watchdog timer is also reset.
Programing notes
Seitenansicht 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 248 249

Kommentare zu diesen Handbüchern

Keine Kommentare