
Rev. 1.00
83 of ���
�an�a�� 1�� �01�
Standard 8051 8-Bit Flash MCU
HT85F2260/HT85F2270/HT85F2280
Reset and Initialisation
Reset and Initialisation
Software Resets
There are three ways to generate Software Reset, each of which are generated by writing certain
values to the SRST register, the WDTCR register or the LVRCR register.
Software Reset Summary
Software Reset Name
Register
Bit
Operation
SRST Registe�
SRST
SRSTREQ W�ite two s�ccessive “1” val�es to this bit
WDTRCR Registe�
WDTCR
WE4~WE0 W�ite val�e othe� than “10101” o� “01010”
LVRCR Registe�
LVRCR
LVS7~LVS0 W�ite val�e othe� than “01010101”� “00110011”� “011001”
o� “10101010”
SRST Register Software Reset
A software reset will be generated after two consecutive instructions to write a high value to the
SRSTREQ bit in the SRST register. The same bit can be used to identify the reset source.
SRST Register
SFR Address: F7h
Bit
7
6
5
4
3
2
1
0
Label
—
—
—
—
—
—
—
SRSTREQ
R/W
—
—
—
—
—
—
—
R/W
POR
—
—
—
—
—
—
—
0
Bit 7~1
Unimplemented, read as “0”
Bit 0
SRSTREQ:
Software reset request.
Writing a ‘0’ value to this bit will have no effect.
A single ‘1’ value write to this bit will have no effect.
Two consecutive ‘1’ value writes to this bit will generate a software reset.
Reading this bit can indicate the reset source:
0: No software reset
1: Software reset
This bit must be cleared by the application program as it will not be automatically
cleared by hardware.