| Motore di ricerca datesheet componenti elettronici |
|
DS83C320-WNL Scheda tecnica(PDF) 134 Page - Dallas Semiconductor |
|
|
|||||||||||||||||||||||||||||
DS83C320-WNL Scheda tecnica(HTML) 134 Page - Dallas Semiconductor |
|
134 / 175 page ![]() High-Speed Microcontroller User’s Guide 134 of 175 WATCHDOG TIMER The Watchdog Timer is a user programmable clock counter that can serve as a time-base generator, an event timer, or a system supervisor. As can be seen in the diagram of Figure 11-8, the timer is driven by the main system clock that is supplied to a series of dividers. The divider output is selectable, and determines the interval between time-outs. When the time-out is reached, an interrupt flag will be set, and if enabled, a reset will occur. The interrupt flag will cause an interrupt to occur if its individual enable bit is set and the global interrupt enable is set. The reset and interrupt are completely discrete functions that may be acknowledged or ignored, together or separately for various applications. WATCHDOG TIMER Figure 11-8 The Watchdog Timer Reset function works as follows. After initializing the correct time-out interval (discussed below), software first restarts the Watchdog using RWT(WDCON.0) and then enables the reset mode by setting the Enable Watchdog Timer Reset (EWT = WDCON.1) bit. At any time prior to reaching its user selected terminal value, software can set the Reset Watchdog Timer (RWT = WDCON.0) bit. If RWT is set before the time-out is reached, the timer will start over. If the time-out is reached without RWT being set, the Watchdog will reset the CPU. Hardware will automatically clear RWT after software sets it. When the reset occurs, the Watchdog Timer Reset Flag (WTRF = WDCON.2) will automatically be set to indicate the cause of the reset, however software must clear this bit manually. DIVIDE BY 2 17 DIVIDE BY 2 3 DIVIDE BY 2 3 DIVIDE BY 2 3 RWT (WDCON.0 (Reset Watchdog) WD1 (CKCON.7) WD0 (CKCON.6) TIME-OUT XTAL1 XTAL2 DIVIDE BY 1/16/256 CLOCK DIVIDE CONTROL CD1 CD0 DIVISOR No PMR register 1 0 X 1 1 0 16 1 1 256 TIME-OUT SELECTOR WDIF (WDCON.3) EWDI (EIE.4) (Enable Watchdog WATCHDOG INTERRUPT RESET WTRF (WDCON.2) 512 CLOCK DELAY EWT (WDCON.1) (Enable Watchdog Timer 2 17 2 20 2 23 2 26 |
|
Link URL |
| Lei ha avuto il aiuto da alldatasheet? [ DONATE ] |
Di alldatasheet | Richest di pubblicita | contatti | Privacy Policy | Collegamento alla scheda tecnica | scambio Link | Ricerca produttore 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 |