Epson S1C6200A Specifikace Strana 166

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 249
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 248 249

Komentáře k této Příručce

Žádné komentáře