메인 콘텐츠로 건너뛰기
Knowledgebase
Home
Renesas Korea

How to set value and change the underflow time of Watchdog Timer?

Latest Updated:10/10/2006

Question:

Is it possible to set any value to the Watchdog Timer? How can I change the underflow time of the Watchdog Timer?

[ About the M16C Family products, click here.]

Answer:

No, it is impossible to set any value to the Watchdog Timer. If any value is set to the WDTS Register, the value of the Watchdog Timer returns to "7FFFh", regardless of the set value. However, if the count source protection mode select bit (CSPRO) is "1", it returns to "0FFFh".

There are two ways to change the underflow time of the Watchdog Timer.

  • Change the count source of the Watchdog Timer by the count source protection mode select bit (CSPRO)
  • Change the division ratio of the prescaler of the Watchdog Timer by the prescaler select bit (WDC7 bit of the WDC Register)

Refer to the hardware manual for detail.

Suitable Products
R8C/18
R8C/19
R8C/1A
R8C/1B
R8C/20
R8C/21
R8C/22
R8C/23
R8C/24
R8C/25
R8C/26
R8C/27
R8C/28
R8C/29
R8C/2A
R8C/2B
R8C/2C
R8C/2D
R8C/2E
R8C/2F
R8C/2G
R8C/2H
R8C/2J
R8C/2K
R8C/2L
  • 이 기사가 도움이 되셨나요?