English
Language : 

HT45F5Q Datasheet, PDF (50/114 Pages) Holtek Semiconductor Inc – Charger Flash MCU
HT45F5Q
Charger Flash MCU
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.
Register
Program Counter
MP0
MP1
BP
ACC
PCL
TBLP
TBLH
STATUS
SMOD
LVDC
INTEG
INTC0
INTC1
MFI0
PA
PAC
PAPU
PAWU
IFS0
WDTC
TBC
SMOD1
INTEG
EEA
EED
SADOL
(ADRFS=0)
SADOL
(ADRFS=1)
SADOH
(ADRFS=0)
SADOH
(ADRFS=1)
SADC0
SADC1
RSTC
PASR
STM0C0
STM0C1
STM0DL
Reset
(Power On)
000H
1xxx xxxx
1xxx xxxx
---- --0
xxxx xxxx
0000 0000
xxxx xxxx
--xx xxxx
--00 xxxx
000- 0011
--00 0000
---- --00
-000 0000
0000 0000
--00 --00
1111 1111
1111 1111
0000 0000
0000 0000
---- --00
0101 0011
0011 -111
0--- 0x-0
---- --00
---0 0000
0000 0000
xxxx ----
xxxx xxxx
xxxx xxxx
---- xxxx
0000 0000
0000 0000
0101 0101
0000 0000
0000 0000
0000 0000
0000 0000
WDT Time-out
(Normal
Operation)
000H
1xxx xxxx
1xxx xxxx
---- --0
uuuu uuuu
0000 0000
uuuu uuuu
--uu uuuu
--1u uuuu
000- 0011
--00 0000
---- --00
-000 0000
0000 0000
--00 --00
1111 1111
1111 1111
0000 0000
0000 0000
---- --00
0101 0011
0011 -111
0--- uu-u
---- --00
---0 0000
0000 0000
xxxx ----
xxxx xxxx
xxxx xxxx
---- xxxx
0000 0000
0000 0000
0101 0101
0000 0000
0000 0000
0000 0000
0000 0000
RES Reset
(Normal
Operation)
000H
1xxx xxxx
1xxx xxxx
---- --0
uuuu uuuu
0000 0000
uuuu uuuu
--uu uuuu
--uu uuuu
000- 0011
--00 0000
---- --00
-000 0000
0000 0000
--00 --00
1111 1111
1111 1111
0000 0000
0000 0000
---- --00
0101 0011
0011 -111
0--- uu-u
---- --00
---0 0000
0000 0000
xxxx ----
xxxx xxxx
xxxx xxxx
---- xxxx
0000 0000
0000 0000
0101 0101
0000 0000
0000 0000
0000 0000
0000 0000
RES Reset
(HALT)
000H
1xxx xxxx
1xxx xxxx
---- --0
uuuu uuuu
0000 0000
uuuu uuuu
--uu uuuu
--01 uuuu
000- 0011
--00 0000
---- --00
-000 0000
0000 0000
--00 --00
1111 1111
1111 1111
0000 0000
0000 0000
---- --00
0101 0011
0011 -111
0--- uu-u
---- --00
---0 0000
0000 0000
xxxx ----
xxxx xxxx
xxxx xxxx
---- xxxx
0000 0000
0000 0000
0101 0101
0000 0000
0000 0000
0000 0000
0000 0000
WDT Time-out
(HALT)*
000H
1uuu uuuu
1uuu uuuu
---- ---u
uuuu uuuu
0000 0000
uuuu uuuu
--uu uuuu
--11 uuuu
uuu- uuuu
--uu uuuu
---- --uu
-uuu uuuu
uuuu uuu-
--uu --uu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
---- -uuu
uuuu uuuu
uuuu –uuu
u--- uu-u
---- --uu
---u uuuu
uuuu uuuu
uuuu ----
uuuu uuuu
uuuu uuuu
---- uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
Rev. 1.10
50
December 13, 2016