| Moteur de recherche de fiches techniques de composants électroniques |
|
4513 Fiches technique(PDF) 141 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
4513 Fiches technique(HTML) 141 Page - Renesas Technology Corp |
|
141 / 210 page ![]() APPLICATION 2.3 Timers 2-38 4513/4514 Group User’s Manual Fig. 2.3.9 Watchdog timer setting example g0 h • • • •• • Activate Watchdog Timer Watchdog timer is activated. Watchdog timer enable flag WEF “1” Watchdog timer enable flag WEF set (WRST instruction) Main routine (every 20 ms) Reset Flag WDF Watchdog timer flag WDF1 is reset. “0” Watchdog timer flag WDF1 cleared (WRST instruction) Main routine execution Repeat Do not clear watchdog timer WDF flag in interrupt service routine. Interrupt may be executed even if program run-away occurs. When going to RAM back-up mode WRST ; WDF flag cleared EPOF ; POF instruction enabled POF ↓ Oscillation stop (RAM back-up mode) In the RAM back-up mode, WEF, WDF1 and WDF2 flags are initialized. However, when WDF2 flag is set to “1”, at the same time, system enters RAM back-up mode, microcomputer may be reset. When watchdog timer and RAM back-up mode are used, execute the WRST instruction before system enters the RAM back-up mode to initialize WDF flag. “!”: it can be “0” or “1.” |
|
Lien URL |
| ALLDATASHEET vous a-t-il été utile ? [ DONATE ] |
À propos de Alldatasheet | Publicité | Contactez-nous | Politique de confidentialité | Lien vers la fiche technique | Echange de liens | Fabricants All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |