Rev. 1.00
44
��ne ��� �01�
Rev. 1.00
45
��ne ��� �01�
HT66FM5440
Brushless DC Motor A/D Flash MCU
HT66FM5440
Brushless DC Motor A/D Flash MCU
Watchdog Time-out Reset during Normal Operation
The Watchdog time-out Reset during normal operation is the same as a LVR reset except that the
Watchdog time-out flag TO will be set to "1".
WDT Time-o�t
Internal Reset
t
RSTD
+ t
SST
WDT Time-out Reset during Normal Operation Timing Chart
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-o�t
Internal Reset
t
SST
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
0
0
Power-on reset
�
�
LVR d�ring NORMAL Mode operation
1
�
WDT time-o�t reset d�ring NORMAL Mode operation
1
1
WDT time-o�t reset d�ring IDLE or SLEEP Mode operation
"�" stands for �nchanged
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
Program Co�nter
Reset to zero
Interr�pts
All interr�pts will be disabled
WDT
Clear after reset� WDT begins co�nting
Timer Mod�les
Timer Mod�les will be t�rned off
Inp�t/O�tp�t Ports
I/O ports will be set�p as inp�ts
Stack Pointer
Stack Pointer 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.