Maxim-integrated Secure Microcontroller Manuel d'utilisateur Page 91

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 187
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 90
Secure Microcontroller User’s Guide
91 of 187
10.5 Transient Voltage Protection
The microprocessor provides protection from transients through a built in power-fail/power-on reset and
Watchdog Timer. Each of these functions should be initialized by the user as part of the reset routine. The
following code demonstrates the set up for a user that will support the Watchdog function.
TA EQU 0C7h
ORG 00h
SJMP Start
Org 30h
Start :
MOV TA, #0Aah ;Timed
MOV TA, #55h ; Access
ORL IP, #80h ;Set RWT to restart the Watchdog Timer
MOV TA, #0Aah ;Timed
MOV TA, #55h ; Access
ORL PCON, #44h ;Set POR (PCON.6) bit for power-on reset detect
; and enable Watchdog Timer by setting EWT
(PCON.2)
Vue de la page 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 186 187

Commentaires sur ces manuels

Pas de commentaire