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.
BS83B08-3 Register
Register
Reset
(Power-on)
RES Reset
(Normal Operation)
RES Reset
(HALT)
WDT Time-out
(Normal Operation)
WDT Time-out
(IDLE or SLEEP)
MP0
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
MP1
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
BP
- - - - - - -
1
- - - - - - -
1
- - - - - - -
1
- - - - - - -
1
- - - - - - -
u
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
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
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
TBLH
-
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
TBHP
- - - - -
x x x
- - - - -
u u u
- - - - -
u u u
- - - - -
u u u
- - - - -
u u u
STATUS
- -
0 0 x x x x
- -
u u u u u u
- -
0 1 u u u u
- -
1 u u u u u
- -
1 1 u u u u
SMOD
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 1
u u u u u u u u
INTEG
- - - - - -
0 0
- - - - - -
0 0
- - - - - -
0 0
- - - - - -
0 0
- - - - - -
u u
INTC0
-
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
INTC1
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
INTC2
- - -
0
- - -
0
- - -
0
- - -
0
- - -
0
- - -
0
- - -
0
- - -
0
- - -
u
- - -
u
MFI0
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
PA
- - -
1 1 1 1 1
- - -
1 1 1 1 1
- - -
1 1 1 1 1
- - -
1 1 1 1 1
- - -
u u u u u
PAC
- - -
1 1 1 1 1
- - -
1 1 1 1 1
- - -
1 1 1 1 1
- - -
1 1 1 1 1
- - -
u u u u u
PAPU
- - -
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
PAWU
- - -
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
WDTC
0 1 1 1 1 0 1 0
0 1 1 1 1 0 1 0
0 1 1 1 1 0 1 0
0 1 1 1 1 0 1 0
u u u u u u u u
TBC
- -
0 0
- - - -
- -
0 0
- - - -
- -
0 0
- - - -
- -
0 0
- - - -
- -
u u
- - - -
TMR
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
TMRC
- -
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
EEA
- -
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
EED
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
PB
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
u u u u u u u u
PBC
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
u u u u u u u u
PBPU
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
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
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
-
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
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
BS83B08-3/B12-3/B16-3/B16G-3/C24-3
8-Bit Touch Key Flash MCU
Rev. 1.50
51
April 28, 2020