r5f71374an80fpv Renesas Electronics Corporation., r5f71374an80fpv Datasheet - Page 556

no-image

r5f71374an80fpv

Manufacturer Part Number
r5f71374an80fpv
Description
32-bit Risc Microcomputer Superh?? Risc Engine Family
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F71374AN80FPV
Manufacturer:
TI
Quantity:
1 001
Section 13 Watchdog Timer (WDT)
13.4
13.4.1
The WDT can be used to revoke software standby mode with an NMI interrupt or external
interrupt (IRQ). The procedure is described below. (The WDT does not run when resets are used
for revoking, so keep the RES pin low until the clock stabilizes.)
1. Before transition to software standby mode, always clear the TME bit in WTCSR to 0. When
2. Set the type of count clock used in the CKS2 to CKS0 bits in WTCSR and the initial values for
3. Transition to software standby mode by executing a SLEEP instruction to stop the clock.
4. The WDT starts counting by detecting a change in the level input to the NMI or IRQ pin.
5. When the WDT count overflows, the CPG starts supplying the clock and the LSI resumes
13.4.2
While operating in watchdog timer mode, the WDT generates an internal reset of the type
specified by the RSTS bit in WTCSR and asserts a signal through the WDTOVF pin every time
the counter overflows.
1. Set the WT/IT bit in WTCSR to 1, set the reset type in the RSTS bit, set the type of count
2. Set the TME bit in WTCSR to 1 to start the count in watchdog timer mode.
3. While operating in watchdog timer mode, rewrite the counter periodically to prevent the
4. When the counter overflows, the WDT sets the WOVF flag in WTCSR to 1, asserts a signal
Rev. 1.00 Sep. 21, 2007 Page 530 of 1124
REJ09B0402-0100
the TME bit is 1, an erroneous reset or interval timer interrupt may be generated when the
count overflows.
the counter in the WTCNT counter. These values should ensure that the time till count
overflow is longer than the clock oscillation settling time.
operation. The WOVF flag in WTCSR is not set when this happens.
clock in the CKS2 to CKS0 bits, and set the initial value of the counter in the WTCNT
counter.
counter from overflowing.
through the WDTOVF pin for one cycle of the count clock specified by the CKS2 to CKS0
bits, and generates a reset of the type specified by the RSTS bit. The counter then resumes
counting.
Operation
Revoking Software Standbys
Using Watchdog Timer Mode

Related parts for r5f71374an80fpv