
Rev. 1.20
74
��to�e� 0�� 201�
Rev. 1.20
7�
��to�e� 0�� 201�
HT69F30A/HT69F40A/HT69F50A
TinyPower
TM
I/O Flash 8-Bit MCU with LCD & EEPROM
HT69F30A/HT69F40A/HT69F50A
TinyPower
TM
I/O Flash 8-Bit MCU with LCD & EEPROM
Watchdog Time-out Reset during SLEEP or IDLE Mode
The Watchdog time-out Reset during SLEEP or IDLE Mode is a little different from other kinds
of reset. Most of the conditions remain unchanged except that the Program Counter and the Stack
Pointer will be cleared to "0" and the TO flag will be set to "1". Refer to the A.C. Characteristics for
t
SST
details.
WDT Time-out Reset during SLEEP or IDLE Timing Chart
Note: The t
SST
is 15~16 clock cycles if the system clock source is provided by ERC or
HIRC. The t
SST
is 1024 clock for HXT or LXT. The t
SST
is 1~2 clock for LIRC.
Reset Initial Conditions
The different types of reset described affect the reset flags in different ways. These flags, known
as PDF and TO are located in the status register and are controlled by various microcontroller
operations, such as the SLEEP or IDLE Mode function or Watchdog Timer. The reset flags are
shown in the table:
TO
RESET Conditions
0
0
Powe�-on �eset
u
u
RES o� LVR �eset du�ing N�RMAL o� SL�W Mode ope�ation
1
u
WDT time-out �eset du�ing N�RMAL o� SL�W Mode ope�ation
1
1
WDT time-out �eset du�ing IDLE o� SLEEP Mode ope�ation
"u" stands for unchanged
The following table indicates the way in which the various components of the microcontroller are
affected after a power-on reset occurs.
Item
Condition After RESET
P�og�am Counte�
Reset to ze�o
Inte��upts
All inte��upts will �e disa�led
WDT� Time Base
Clea� afte� �eset� WDT �egins �ounting
Time� Modules
Time� Modules will �e tu�ned off
Input/�utput Po�ts
I/� po�ts will �e setup as inputs
Sta�k Pointe�
Sta�k Pointe� will point to the top of the sta�k
The different kinds of resets all affect the internal registers of the microcontroller in different ways.
To ensure reliable continuation of normal program execution after a reset occurs, it is important to
know what condition the microcontroller is in after a particular reset occurs. The following table
describes how each type of reset affects the microcontroller internal registers.