Setup Example - Panasonic MN101L Series User Manual

Lsi
Table of Contents

Advertisement

5.3.2

Setup Example

The following procedure shows the example of WDT operation. SRCCLK is selected as WDCLK, and the error
18
×
time period is 2
(1/f
WDTCLK
Setup Example
Step
Setup Procedure
Set the error detection period WDCTR
1
2
Activate WDT
Setup Example
Step
Setup Procedure
1
Clear WDT-Counter
Setup Example
Step
Setup Procedure
Handling interrupt
1
* Refer to [Chapter 3 Interrupts] about NMICR.
).
Register
Set the WDCKSEL to "0".
Set the WDTS2-0 to "111".
WDCTR
Set the WDEN to "1".
Register
WDCTR
Clear WDT-counter before it overflows.
Register
NMICR*
WDIRQ is generated when WDT-Counter overflows.
Check that NMICR.IRQNWDG is set to "1", and take appropri-
ate measures to make the LSI operate normally again.
Description
Description
Description
Chapter 5
Watchdog Timer (WDT)
Operation
V - 5

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn101lr05dMn101lr04dMn101lr03dMn101lr02d

Table of Contents