Acrosser AR-B9612 Manuel d'utilisateur Page 17

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 47
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 16
2-12 AR-B9612 Users Guide
2.8.2 Trigger Watchdog Timer
After you enable the watchdog timer, your program must trigger
the watchdog at least once every time-out period. The factor of
the watchdog timer time-out constant is approximately 1.6
seconds, the trigger way just is the activity of read I/O, and not
care the reading number. Below is a BASICA program
which demonstrates how to trigger the watchdog timer:
2000 REM Points to I/O port address
2010 WD_REG% = I/O_PORT
2020 REM Input factor to watchdog
2030 WD=INP(WD_REG%)
,etc.
2.8.3 Disabled the Watchdog Timer
To disable the watchdog timer, simply write a 00H to the watchdog.
1000 REM Points to I/O port address
1010 WD_REG% = I/O_PORT
1020 REM Timer factor = 0
1030 TIMER_FACTOR% = 0
1040 REM Output factor to watchdog
1050 OUT WD_REG%, TIMER_FACTOR%
,etc.
Vue de la page 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 46 47

Commentaires sur ces manuels

Pas de commentaire