Iei-integration S12A v1.12 Manuel d'utilisateur Page 106

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 110
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 105
SAILORPC-12A Panel PC
Page 96
NOTE:
When exiting a program it is necessary to disable the Watchdog Timer,
otherwise the system resets.
Example program:
; INITIAL TIMER PERIOD COUNTER
;
W_LOOP:
MOV AX, 6F02H ;setting the time-out value
MOV BL, 30 ;time-out value is 48 seconds
INT 15H
;
; ADD THE APPLICATION PROGRAM HERE
;
CMP EXIT_AP, 1 ;is the application over?
JNE W_LOOP ;No, restart the application
MOV AX, 6F02H ;disable Watchdog Timer
MOV BL, 0 ;
INT 15H
;
; EXIT ;
Vue de la page 105
1 2 ... 101 102 103 104 105 106 107 108 109 110

Commentaires sur ces manuels

Pas de commentaire