Application Note
78K0S/Kx1+
Sample Program (Watchdog Timer)
131 ms Interval Runaway Detection
This document describes an operation overview of the sample program, as well as how to use the sample program and
how to set and use the watchdog timer. In the sample program, a reset signal generated by an overflow of the
watchdog timer is generated at a 50% chance of occurrence during a switch input, by setting the runaway detection time
to 131 ms.
Target devices
78K0S/KA1+ microcontroller
78K0S/KB1+ microcontroller
78K0S/KU1+ microcontroller
78K0S/KY1+ microcontroller
Document No.
U18847EJ1V0AN00 (1st edition)
Date Published October 2007 N
Printed in Japan
2007
CHAPTER 1 OVERVIEW ...................................................................................3
2.1 Circuit Diagram ........................................................................................6
CHAPTER 3 SOFTWARE .................................................................................7
3.4 Flow Chart..............................................................................................10
CONTENTS