HT48R02N Holtek Semiconductor, HT48R02N Datasheet - Page 27

no-image

HT48R02N

Manufacturer Part Number
HT48R02N
Description
(HT4xR0xx) Small Package 8-Bit OTP MCU
Manufacturer
Holtek Semiconductor
Datasheet
www.DataSheet4U.com
The following table indicates the way in which the various components of the microcontroller are affected after a
power-on reset occurs.
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.
HT46R01B/HT46R02B/HT46R01N/HT46R02N
Rev.1.00
PCL
MP0
MP1
ACC
TBLP
TBLH
WDTS
STATUS
INTC0
INTC1
TMR0
TMR0C
TMR1
TMR1C
PA
PAC
PAWK
PAPU
PB
PBC
PBPU
CTRL0
CTRL1
PWM0
Program Counter
Interrupts
WDT
Timer/Event Counter
Prescaler
Input/Output Ports
Stack Pointer
Register
Item
0 0 0 0 0 0 0 0
0 0 0 0 1 0 0 0
0 0 0 0 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
1 0 0 0 1 0 1 0
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
x x x x x x x x
x x x x x x x x
x x x x x x x x
Reset to zero
All interrupts will be disabled
Clear after reset, WDT begins counting
Timer Counter will be turned off
The Timer Counter Prescaler will be cleared
I/O ports will be setup as inputs
Stack Pointer will point to the top of the stack
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0
x x x x x x x
Power-on
0 0
0 0 x x x x
Reset
0 0 0 0
1 1 1
0 0
1 1
1 1
0 0
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 u u u u u u
u u u u u u u u
0 0 0 0 1 0 0 0
0 0 0 0 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
1 0 0 0 1 0 1 0
x x x x x x x x
x x x x x x x x
x x x x x x x x
RES or LVR
u u u u u u u
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0
u u u u u u
0 0
Reset
0 0 0 0
27
Condition After RESET
1 1 1
0 0
1 1
1 1
0 0
(Normal Operation)
WDT Time-out
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 u u u u u u
u u u u u u u u
0 0 0 0 1 0 0 0
0 0 0 0 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
1 0 0 0 1 0 1 0
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
0 0 0 0 0 0 0
0 0 0 0 0 0 0
0 0
1 u u u u u
0 0
0 0 0 0
HT46R01B/02B/01N/02N
HT48R01B/02B/01N/02N
1 1 1
0 0
1 1
1 1
0 0
WDT Time-out
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 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 u u u u u u
December 15, 2009
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
1 1 u u u u
(Sleep)
u u u u
u u u
u u
u u
u u
u u

Related parts for HT48R02N