Iei-integration AFL-W10A-N270 v3.10 Manual do Utilizador Página 154

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 158
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 153
AFL-W10A-N270 User Manual
Page 154
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 ;
Vista de página 153
1 2 ... 149 150 151 152 153 154 155 156 157 158

Comentários a estes Manuais

Sem comentários