Epson S1C6200A Dokumentacja Strona 166

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 249
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 248 249

Komentarze do niniejszej Instrukcji

Brak uwag