Rev. 1.40
94
De�e��e� 1�� �01�
Rev. 1.40
9�
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
“
CLR WDT
”
Inst�u�tion
8-stage Divide�
WDT P�es�ale�
WE4~WE0 �its
WDTC
Registe�
Reset MCU
LIRC
f
LIRC
f
LIRC
/
�
8
8-to-1
MUX
CLR
WS�~WS0
(f
LIRC
/
�
8
~ f
LIRC
/
�
18
)
WDT Ti�e-out
(�
8
/
f
LIRC
~ �
18
/
f
LIRC
)
“
HALT
”
Inst�u�tion
Watchdog timer
Reset and Initialisation
A reset function is a fundamental part of any microcontroller ensuring that the device can be set
to some predetermined condition irrespective of outside parameters. The most important reset
condition is after power is first applied to the microcontroller. In this case, internal circuitry will
ensure that the microcontroller, after a short delay, will be in a well defined state and ready to
execute the first program instruction. After this power-on reset, certain important internal registers
will be set to defined states before the program commences. One of these registers is the Program
Counter, which will be reset to zero forcing the microcontroller to begin program execution from the
lowest Program Memory address.
In addition to the power-on reset, another reset exists in the form of a Low Voltage Reset, LVR,
where a full reset is implemented in situations where the power supply voltage falls below a
certain threshold. Another type of reset is when the Watchdog Timer overflows and resets the
microcontroller. All types of reset operations result in different register conditions being setup.
Reset Functions
There are five ways in which a microcontroller reset can occur, through events occurring both
internally and externally.
Power-on Reset
The most fundamental and unavoidable reset is the one that occurs after power is first applied to
the microcontroller. As well as ensuring that the Program Memory begins execution from the first
memory address, a power-on reset also ensures that certain other registers are preset to known
conditions. All the I/O port and port control registers will power up in a high condition ensuring that
all pins will be first set to inputs.
V
DD
Powe�-on Reset
SST Ti�e-out
t
RSTD
Note: t
RSTD
is power-on delay with typical time=50 ms
Power-On Reset Timing Chart