ht82a836r Holtek Semiconductor Inc., ht82a836r Datasheet - Page 31

no-image

ht82a836r

Manufacturer Part Number
ht82a836r
Description
Usb Audio Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HT82A836R
Manufacturer:
HOLTEK/合泰
Quantity:
20 000
Reset Initial Conditions
The different types of reset described affect the reset
flags in different ways. These flags, known as PDF and
TO are located in the status register and are controlled
by various microcontroller operations, such as the
Power Down function or Watchdog Timer. The reset
flags are shown in the table:
Note: u stands for unchanged
The states of the registers are summarized in the table.
Rev. 1.00
TO PDF
MP0
MP1
ACC
Program
Counter
TBLP
TBLH
WDTS
STATUS
INTC0
TMR0H
TMR0L
TMR0C
TMR1H
TMR1L
TMR1C
PA
PAC
0
u
1
1
Register
0
u
u
1
RES reset during power-on
RES or LVR reset during normal operation
WDT time-out reset during normal operation
WDT time-out reset during Power Down
(Power-on)
RESET Conditions
0000 0111
1111 1111
1111 1111
-000 0000
00-0 1000
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
-xxx xxxx
--00 xxxx
00-0 1---
Reset
000H
Operation)
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0111
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
1111 1111
1111 1111
-uuu uuuu
-000 0000
00-0 1000
Time-out
--1u uuuu
00-0 1---
(Normal
000H
WDT
RES Reset
Operation)
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0111
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
1111 1111
1111 1111
-uuu uuuu
-000 0000
00-0 1000
--uu uuuu
00-0 1---
(Normal
000H
31
The following table indicates the way in which the vari-
ous components of the microcontroller are affected after
a power-on reset occurs.
The different kinds of resets all affect the internal regis-
ters 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.
Program Counter
Interrupts
WDT
Timer/Event Counter Timer Counter will be turned off
Input/Output Ports
Stack Pointer
RES Reset
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0111
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
1111 1111
1111 1111
-uuu uuuu
-000 0000
00-0 1000
--01 uuuu
00-0 1---
(HALT)
000H
Item
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
-uuu uuuu
uuuu uuuu
-uuu uuuu
uu-u uuuu
Time-Out
--11 uuuu
(HALT)*
uu-u u---
000H
WDT
Reset to zero
All interrupts will be disabled
Clear after reset, WDT begins
counting
I/O ports will be setup as inputs
Stack Pointer will point to the
top of the stack
Condition After RESET
USB Reset
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0111
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
1111 1111
1111 1111
-uuu uuuu
-000 0000
00-0 1000
--uu uuuu
(Normal)
00-0 1---
000H
HT82A836R
March 20, 2008
USB Reset
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0111
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
1111 1111
1111 1111
-uuu uuuu
-000 0000
00-0 1000
--01 uuuu
00-0 1---
(HALT)
000H

Related parts for ht82a836r