| Electronic Components Datasheet Search |
|
R5F3640MNFB Datasheet(PDF) 139 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
R5F3640MNFB Datasheet(HTML) 139 Page - Renesas Technology Corp |
|
139 / 398 page ![]() REJ09B0392-0064 Rev.0.64 Oct 12, 2007 Page 118 of 373 Under development Preliminary Specification Specification in this preliminary version is subject to change. M16C/64 Group 13. Watchdog Timer 13. Watchdog Timer The watchdog timer detects whether the program is out of control. Therefore, we recommend using the watchdog timer to improve reliability of a system. The watchdog timer contains a 15-bit counter, and count source protection mode (enabled / disabled) is set here. Table 13.1 shows the Watchdog Timer Specification. Refer to 5.4 “Watchdog Timer Reset” for details of watchdog timer reset. Figure 13.1 shows the Watchdog Timer Block Diagram. Figure 13.2 shows the Registers WDTR, WDTS, and WDC. Figure 13.3 shows the CSPR Register and OFS1 Address. Figure 13.1 Watchdog Timer Block Diagram Table 13.1 Watchdog Timer Specification Item When count source protection mode is disabled When count source protection mode is enabled Count Source CPU clock 125kHz on-chip oscillator clock Count Operation Decrement Count Start Condition Either of the followings can be selected. Count automatically starts after reset. Count starts by writing to the WDTS register. Count Stop Condition Stop mode, wait mode, hold state None Watchdog Timer Reset Condition Reset Write 00h, and then FFh to the WDTR register. Underflow Operation When the Timer Underflows Watchdog timer interrupt or watchdog timer reset Watchdog timer reset Select Function Prescaler divide ratio Set the WDC7 bit in the WDC register to select this mode. Count source protection mode Set the CSPROINI bit (flash memory) in the OFS1 address to select whether this mode is enabled or disabled after reset. If this mode is set to disabled after reset, set the CSPRO bit (program) in the CSPR register. Start up or stop watchdog timer after reset Set the WDTON bit in the OFS1 address to select startup or stop. 1/128 1/2 Watchdog timer Write to WDTR register CM07 = 1 Set to 7FFFh (1) PM12 = 1 Watchdog timer reset PM12 = 0 Watchdog timer interrupt request Prescaler CSPRO = 0 foco-s CSPRO = 1 CSPRO : bit in CSPR register WDC7 : bit in WDC register PM12 : bit in PM1 register CM07 : bit in CM0 register NOTE : 1. 0FFFh is set when the CSPRO bit is set to 1 (count source protection mode enabled). Internal reset signal (“L” active) 1/16 CM07 = 0, WDC7 = 0 CM07 = 0, WDC7 = 0 CPU clock HOLD |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |