Rev. 1.40
98
De�e��e� 1�� �01�
Rev. 1.40
99
De�e��e� 1�� �01�
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
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 Function
0
0
Powe�-on �eset
u
u
LVR reset during NORMAL or SLOW Mode operation
1
u
WDT time-out reset during NORMAL or SLOW Mode operation
1
1
WDT ti�e-out �eset du�ing IDLE o� SLEEP Mode ope�ation
“u” stands fo� un�hanged
The following table indicates the way in which the various components of the microcontroller are
affected after a power-on reset occurs.
Item
Reset Function
P�og�a� Counte�
Reset to zero
Inte��upts
All inte��upts will �e disa�led
WDT� Ti�e Base
Clea� afte� �eset� WDT �egins �ounting
Ti�e� Modules
Ti�e� Modules will �e tu�ned off
Input/Output Ports
I/O ports will be 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.