Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
EE Times-Asia > Controls/MCUs

Utilizing watch dog timer

Posted: 10 Apr 2012 ?? ?Print Version ?Bookmark and Share

Keywords:watch dog timer? Timer Array Unit? interrupt?

In this application note by Renesas Electronics, the sample code in focus runs on the RL78/G13 RSK and demonstrates usage of the watch dog timer (WDT). The program configures the WDT to generate an interrupt when the count value reaches 75% of its total count, approximately 760ms. A Timer Array Unit (TAU) channel is configured to periodically generate an interrupt and restart the WDT's count in order to prevent it reaching 75%. The A/D converter samples the potentiometer's (RV1) voltage and the acquired value is used to vary the TAU channel's period.

The purpose of this application note is to show the user how to add the associated RL78/G13 sample code to a new or existing IAR Embedded Workbench workspace; as well as give an explanation of what the sample code does.

View the PDF document for more information.

Originally published by Renesas Electronics at as "Utilising the Watch Dog Timer (Using IAR Toolchain)".

Article Comments - Utilizing watch dog timer
*? You can enter [0] more charecters.
*Verify code:


Visit Asia Webinars to learn about the latest in technology and get practical design tips.

Back to Top