English
Language : 

HTG2150_02 Datasheet, PDF (16/38 Pages) Holtek Semiconductor Inc – 8-Bit 320 Pixel Dot Matrix LCD MCU Series
what the operation mode is, writing a 0 to ET0I can dis-
able the corresponding interrupt service.
In the case of timer counter OFF condition, writing data
to the timer counter preload register will also reload that
data to the timer counter. But if the timer counter is
turned on, data written to the timer counter will only
be kept in the timer counter preload register. The
timer counter will still operate until overflow occurs.
When the timer counter (reading TMR0H) is read, the
clock will be blocked to avoid errors. As this may re-
sults in a counting error, this must be taken into con-
sideration by the programmer.
HTG2150
D a ta B u s
T im e r C o u n te r 0 R e lo a d
P r e lo a d R e g is te r
S y s te m
C lo c k /4
T im e r
C o u n te r 0
O v e r flo w
T o In te rru p t
L o w B y te
B u ffe r
Timer counter 0
The state of the registers is summarized in the following table:
Register
Reset
WDT Time-out
RES Reset
(Power On) (Normal Operation) (Normal Operation)
TMR0H
xxxx xxxx
uuuu uuuu
uuuu uuuu
TMR0L
xxxx xxxx
uuuu uuuu
uuuu uuuu
TMR0C
00-0 1---
00-0 1---
00-0 1---
TMR2
xxxx xxxx
uuuu uuuu
uuuu uuuu
TMR2C
00-0 1000
00-0 1000
00-0 1000
TMR3
xxxx xxxx
uuuu uuuu
uuuu uuuu
TMR3C
00-0 1000
00-0 1000
00-0 1000
INTCH
0000 0000
0000 0000
0000 0000
TBHP
xxxx xxxx
uuuu uuuu
uuuu uuuu
Program Counter
0000H
0000H
0000H
MP0
xxxx xxxx
uuuu uuuu
uuuu uuuu
MP1
xxxx xxxx
uuuu uuuu
uuuu uuuu
ACC
xxxx xxxx
uuuu uuuu
uuuu uuuu
TBLP
xxxx xxxx
uuuu uuuu
uuuu uuuu
TBLH
xxxx xxxx
uuuu uuuu
uuuu uuuu
STATUS
--00 xxxx
--1u uuuu
--uu uuuu
BP
0000 0000
0000 0000
0000 0000
LCDC
0100 0000
0100 0000
0100 0000
INTC
0000 0000
0000 0000
0000 0000
WDTS
0000 0111
0000 0111
0000 0111
PA
1111 1111
1111 1111
1111 1111
PAC
1111 1111
1111 1111
1111 1111
PB
1111 0000
1111 0000
1111 0000
PBC
1111 0000
1111 0000
1111 0000
COMR
0000 0000
0000 0000
0000 0000
PWMC
1111 1111
1111 1111
1111 1111
PWM
xxxx xxxx
xxxx xxxx
xxxx xxxx
X¢TALC
0000 0000
0000 0000
0000 0000
Note:
²*² means ²warm reset²
²u² means ²unchanged²
²x² means ²unknown²
RES Reset
(HALT)
uuuu uuuu
uuuu uuuu
00-0 1---
uuuu uuuu
00-0 1000
uuuu uuuu
00-0 1000
0000 0000
uuuu uuuu
0000H
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
--01 uuuu
0000 0000
0100 0000
0000 0000
0000 0111
1111 1111
1111 1111
1111 0000
1111 0000
0000 0000
1111 1111
xxxx xxxx
0000 0000
WDT Time-out
(HALT)
uuuu uuuu
uuuu uuuu
uu-u u---
uuuu uuuu
uu-u uuuu
uuuu uuuu
uu-u uuuu
uuuu uuuu
uuuu uuuu
0000H*
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
--11 uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu 0000
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
Rev. 1.30
16
May 21, 2002