ht82m9be Holtek Semiconductor Inc., ht82m9be Datasheet - Page 13

no-image

ht82m9be

Manufacturer Part Number
ht82m9be
Description
Ht82m99e/ht82m99a -- Usb Mouse Encoder 8-bit Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
Note:
Timer/Event Counter
Two timer/event counters (TMR0, TMR1) are imple-
mented in the microcontroller. The Timer/Event Counter
0 contains an 8-bit programmable count-up counter and
the clock may comes from an external source or from
f
The Timer/Event Counter 1 contains an 16-bit program-
mable count-up counter and the clock may come from
an external source or from the system clock divided by
4.
Using the internal clock source, there is only 1 reference
time-base for Timer/Event Counter 0. The internal clock
source is coming from f
Rev. 1.60
SYS
TMR0C
TMR1H
TMR1L
TMR1C
PA
PAC
PB
PBC
PC
PCC
USC
USR
SCC
TBHP
Pipe_ctrl
AWR
STALL
SIES
MISC
Endpt_EN
FIFO0
FIFO1
FIFO2
FIFO3
Register
/4.
* stands for warm reset
u stands for unchanged
x stands for unknown
(Power On)
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
0000 0000
0000 0000
0000 0000
0000 1110
0000 0000
0000 1110
0100 0000
0x00 0000
0000 1111
11xx 0000
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
00-0 1---
00-0 1---
Reset
SYS
/4.
Operation)
0000 0000
0000 0000
u0uu 0u00
uu00 u000
0000 0uuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
1111 xxxx
1111 xxxx
11xx xuux
000u uuuu
0000 uuuu
Time-out
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
(Normal
00-0 1---
00-0 1---
WDT
RES Reset
Operation)
0000 0000
0000 0000
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
11xx 0000
0000 0000
0000 0000
0000 1110
0000 0000
0000 1110
0100 0000
0000 0000
0000 1111
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
000u uuuu
(Normal
00-0 1---
00-0 1---
13
RES Reset
0000 0000
0000 0000
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
0000 0000
0000 0000
0000 0000
0000 1110
0100 0000
0000 0000
0000 1111
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
11xx 0000
0000 1110
000u uuuu
00-0 1---
00-0 1---
The external clock input allows the user to count exter-
nal events, measure time intervals or pulse widths.
Using the internal clock source, there is only 1 reference
time-base for Timer/Event Counter 1. The internal clock
source is coming from f
allows the user to count external events, measure time
intervals or pulse widths.
There are 2 registers related to the Timer/Event Counter
0; TMR0 ([0DH]), TMR0C ([0EH]). Two physical regis-
ters are mapped to TMR0 location; writing TMR0 makes
the starting value be placed in the Timer/Event Counter
0 preload register and reading TMR0 gets the contents
of the Timer/Event Counter 0. The TMR0C is a
timer/event counter control register, which defines some
options.
(HALT)
uuuu uuuu
uuuu uuuu
u0uu uuuu
uu0u u000
0000 1110
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 1111
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
1111 xxxx
1111 xxxx
11xx xuux
000u uuuu
0000 uuuu
Time-out
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
uu-u u---
uu-u u---
(HALT)*
WDT
HT82M9BE/HT82M9BA
SYS
USB Reset
/4. The external clock input
uuuu uuuu
uuuu uuuu
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1100 0u00
u1uu 0000
uu00 u000
0000 1110
0000 0000
0000 0000
0000 0000
0000 0000
0000 1111
0000 0000
0000 0000
0000 0000
0000 0000
000u uuuu
(Normal)
00-0 1---
00-0 1---
April 16, 2008
USB Reset
uuuu uuuu
uuuu uuuu
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1111 1111
1100 0u00
u1uu 0000
uu00 u000
0000 1110
0000 0000
0000 0000
0000 0000
0000 0000
0000 1111
0000 0000
0000 0000
0000 0000
0000 0000
000u uuuu
00-0 1---
00-0 1---
(HALT)

Related parts for ht82m9be