Rev. 1.10
54
November 26, 2019
Rev. 1.10
55
November 26, 2019
HT68FB240
USB Low Speed 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
Reset
(Power On)
WDT Time-out
(Normal
Operation)
RES Reset
(Normal
Operation)
RES Reset
(HALT)
WDT Time-out
(HALT)*
USB-reset
(Normal)
USB-reset
(HALT)
MP0
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x u u u u u u u u x x x x x x x x x x x x x x x x
MP1
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x u u u u u u u u x x x x x x x x x x x x x x x x
ACC
x x x x x x x x u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u
PCL
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
TBLP
x x x x x x x x u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u
TBLH
x x x x x x x x u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u u
TBHP
- - - - x x x x - - - - u u u u - - - - u u u u - - - - u u u u - - - - u u u u - - - - u u u u - - - - u u u u
STATUS
- - 0 0 x x x x - - 1 u u u u u - - u u u u u u - - 0 1 u u u u - - 1 1 u u u u - - u u u u u u - - u u u u u u
BP
- - - - - - - 0 - - - - - - - 0 - - - - - - - 0 - - - - - - - 0 - - - - - - - u - - - - - - - 0 - - - - - - - 0
SMOD
0 0 0 - 0 0 1 1 0 0 0 - 0 0 1 1 0 0 0 - 0 0 1 1 0 0 0 - 0 0 1 1 u u u - u u u u 0 0 0 - 0 0 1 1 0 0 0 -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1 1 1 1
PE
- - - - - - 1 1 - - - - - - 1 1 - - - - - - 1 1 - - - - - - 1 1 - - - - - - u u - - - - - - 1 1 - - - - - - 1 1
PEC
- - - - - - 1 1 - - - - - - 1 1 - - - - - - 1 1 - - - - - - 1 1 - - - - - - u u - - - - - - 1 1 - - - - - - 1 1
I2CTOC
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 u u u u u u u u 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SIMC0
1 1 1 0 0 0 0 - 1 1 1 0 0 0 0 - 1 1 1 0 0 0 0 - 1 1 1 0 0 0 0 - u u u u u u u - 1 1 1 0 0 0 0 - 1 1 1 0 0 0 0 -
SIMC1
1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 u u u u u u u u 1 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1
SIMD
x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x u u u u u u u u x x x x x x x x x x x x x x x x
SIMA/
SIMC2
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 u u u u u u u u 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SBSC
0 - 0 0 - - - - 0 - 0 0 - - - - 0 - 0 0 - - - - 0 - 0 0 - - - - u - u u - - - - 0 - 0 0 - - - - 0 - 0 0 - - - -
TMPC
- - 0 1 - - 0 1 - - 0 1 - - 0 1 - - 0 1 - - 0 1 - - 0 1 - - 0 1 - - u u - - u u - - 0 1 - - 0 1 - - 0 1 - - 0 1
TM0C0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 u u u u u u u u 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
TM0C1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 u u u u u u u u 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
TM0DL
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 u u u u u u u u 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
TM0DH
- - - - - - 0 0 - - - - - - 0 0 - - - - - - 0 0 - - - - - - 0 0 - - - - - - u u - - - - - - 0 0 - - - - - - 0 0
TM0AL
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 u u u u u u u u 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
TM0AH
- - - - - - 0 0 - - - - - - 0 0 - - - - - - 0 0 - - - - - - 0 0 - - - - - - u u - - - - - - 0 0 - - - - - - 0 0