
Rev. 1.21
5�
�ove��e� ��� 2�1�
Rev. 1.21
51
�ove��e� ��� 2�1�
HT66F488/HT66F489
A/D Flash MCU with EEPROM
HT66F488/HT66F489
A/D Flash MCU with 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.
Note: The t
SST
is 15~16 clock cycles if the system clock source is provided by the HIRC.
The t
SST
is 128 clock cycles for HXT/LXT.
The t
SST
is 1~2 clock cycles for the LIRC.
WDT Time-out Reset during SLEEP or IDLE Timing Chart
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
�
�
Powe�-on �eset
u
u
LVR �eset du�ing �ORMAL o� SLOW Mode ope�ation
1
u
WDT ti�e-out �eset du�ing �ORMAL o� SLOW Mode ope�ation
1
1
WDT ti�e-out �eset du�ing IDLE o� SLEEP Mode ope�ation
�ote: “u” stands fo� 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�a� Counte�
Reset to ze�o
Inte��upts
All inte��upts will �e disa�led
WDT
Clea� afte� �eset� WDT �egins counting
Ti�e� Modules
Ti�e� Modules will �e tu�ned off
Input/Output Po�ts
I/O po�ts will �e setup as inputs
Stack Pointe�
Stack Pointe� will point to the top of the stack
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 each of the microcontroller internal registers. Note that
where more than one package type exists the table will reflect the situation for the larger package
type.