ht82k68a Holtek Semiconductor Inc., ht82k68a Datasheet - Page 13

no-image

ht82k68a

Manufacturer Part Number
ht82k68a
Description
Ht82k68a -- Multimedia Keyboard Encoder 8-bit Mask Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
To enable the counting operation, the timer ON bit
(TON; bit 4 of TMRC) should be set to 1. 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 it will only be kept in the timer counter
The state of the registers is summarized in the following table:
Note:
Rev. 1.70
Register
TMR
TMRC
Program
Counter
MP0
MP1
ACC
TBLP
TBLH
STATUS
INTC
WDTS
PA
PAC
PB
PBC
PC
PCC
PD
PDC
PE
PEC
u stands for unchanged
x stands for unknown
stands for warm reset
(Power On)
0000 0111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
-000 0000
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
-xxx xxxx
--00 xxxx
---1 1111
---1 1111
00-0 1---
Reset
000H
(Normal Operation)
WDT Time-out
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
-uuu uuuu
-000 0000
--1u uuuu
---1 1111
---1 1111
00-0 1---
000H
Timer Counter
(Normal Operation)
13
RESET Reset
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
-uuu uuuu
-000 0000
--uu uuuu
---1 1111
---1 1111
00-0 1---
preload register. The timer counter will still operate until
overflow occurs. When the timer counter (reading TMR) is
read, the clock will be blocked to avoid errors. As clock
blocking may results in a counting error, this must be taken
into consideration by the programmer.
000H
RESET Reset
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
-uuu uuuu
-000 0000
--01 uuuu
---1 1111
---1 1111
00-0 1---
(HALT)
000H
December 26, 2005
WDT Time-out
HT82K68A
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
-uuu uuuu
-uuu uuuu
--11 uuuu
---u uuuu
---u uuuu
uu-u u---
(HALT)
000H

Related parts for ht82k68a