BS83A04C
4-Key Enhanced Touch I/O Flash MCU
TO
0
u
1
1
The following table indicates the way in which the various components of the microcontroller are
affected after a power-on reset occurs.
Program Counter
Interrupts
WDT, Time Base
Timer Module
Input/Output Port
Stack Pointer
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
IAR0
MP0
IAR1
MP1
BP
ACC
PCL
TBLP
TBLH
TBHP
STATUS
SCC
HIRCC
INTEG
INTC0
RSTFC
IFS
INTC1
LVPUC
PA
PAC
PAPU
PAWU
MFI0
MFI1
Rev. 1.00
PDF
RESET Conditions
0
Power-on reset
u
LVR reset during FAST or SLOW Mode operation
u
WDT time-out reset during FAST or SLOW Mode operation
1
WDT time-out reset during IDLE or SLEEP Mode operation
Item
Reset to zero
All interrupts will be disabled
Clear after reset, WDT begins counting
Timer Module will be turned off
I/O port will be setup as inputs
Stack Pointer will point to the top of the stack
LVR Reset
Power On Reset
(Normal Operation)
x x x x x x x x
u u u u u u u u
x x x x x x x x
u u u u u u u u
x x x x x x x x
u u u u u u u u
x x x x x x x x
u u u u u u u u
- - - - - 0 0 0
- - - - - 0 0 0
x x x x x x x x
u u u u u u u u
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
x x x x x x x x
u u u u u u u u
x x x x x x x x
u u u u u u u u
- - - - - - x x
- - - - - - u u
- - 0 0 x x x x
- - u u u u u u
0 0 0 - - - 0 0
0 0 0 - - - 0 0
- - - - - - 0 1
- - - - - - 0 1
- - - - - - 0 0
- - - - - - 0 0
- 0 0 0 0 0 0 0
- 0 0 0 0 0 0 0
- - - - 0 x - 0
- - - - u 1 - u
- - - - - - 0 0
- - - - - - 0 0
- 0 0 0 - 0 0 0
- 0 0 0 - 0 0 0
- - - - - - - 0
- - - - - - - 0
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
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
45
"u" stands for unchanged
Condition after Reset
WDT Time-out
(Normal Operation)
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
- - - - - 0 0 0
u u u u u u u u
0 0 0 0 0 0 0 0
u u u u u u u u
u u u u u u u u
- - - - - - u u
- - 1 u u u u u
0 0 0 - - - 0 0
- - - - - - 0 1
- - - - - - 0 0
- 0 0 0 0 0 0 0
- - - - u u - u
- - - - - - 0 0
- 0 0 0 - 0 0 0
- - - - - - - 0
1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
- - 0 0 - - 0 0
- - 0 0 - - 0 0
WDT Time-out
(IDLE/SLEEP)
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
0 0 0 0 0 0 0 0
u u u u u u u u
u u u u u u u u
- - - - - - u u
- - 1 1 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
u u u u u u u u
u u u u u u u u
- - u u - - u u
- - u u - - u u
March 24, 2020
Need help?
Do you have a question about the BS83A04C and is the answer not in the manual?
Questions and answers