HT82M9BEE/HT82M9BAE
Rev. 1.20
14
August 13, 2007
Register
Reset
(Power On)
WDT
Time-out
(Normal
Operation)
RES Reset
(Normal
Operation)
RES Reset
(HALT)
WDT
Time-out
(HALT)*
USB Reset
(Normal)
USB Reset
(HALT)
TMR0C
00-0 1---
00-0 1---
00-0 1---
00-0 1---
uu-u u---
00-0 1---
00-0 1---
TMR1H
xxxx xxxx
0000 0000
0000 0000
0000 0000
uuuu uuuu
uuuu uuuu
uuuu uuuu
TMR1L
xxxx xxxx
0000 0000
0000 0000
0000 0000
uuuu uuuu
uuuu uuuu
uuuu uuuu
TMR1C
00-0 1---
00-0 1---
00-0 1---
00-0 1---
uu-u u---
00-0 1---
00-0 1---
PA
1111 1111
xxxx xxxx
1111 1111
1111 1111
xxxx xxxx
1111 1111
1111 1111
PAC
1111 1111
xxxx xxxx
1111 1111
1111 1111
xxxx xxxx
1111 1111
1111 1111
PB
1111 1111
xxxx xxxx
1111 1111
1111 1111
xxxx xxxx
1111 1111
1111 1111
PBC
1111 1111
xxxx xxxx
1111 1111
1111 1111
xxxx xxxx
1111 1111
1111 1111
PC
1111 1111
1111 xxxx
1111 1111
1111 1111
1111 xxxx
1111 1111
1111 1111
PCC
1111 1111
1111 xxxx
1111 1111
1111 1111
1111 xxxx
1111 1111
1111 1111
USC
11xx 0000
11xx xuux
11xx 0000
11xx 0000
11xx xuux
1100 0u00
1100 0u00
USR
0000 0000
u0uu 0u00
0000 0000
0000 0000
u0uu uuuu
u1uu 0000
u1uu 0000
SCC
0000 0000
uu00 u000
0000 0000
0000 0000
uu0u u000
uu00 u000
uu00 u000
TBHP
0000 0000
000u uuuu
000u uuuu
000u uuuu
000u uuuu
000u uuuu
000u uuuu
Pipe_ctrl
0000 1110
0000 0uuu
0000 1110
0000 1110
0000 1110
0000 1110
0000 1110
AWR
0000 0000
uuuu uuuu
0000 0000
0000 0000
uuuu uuuu
0000 0000
0000 0000
STALL
0000 1110
0000 uuuu
0000 1110
0000 1110
0000 uuuu
0000 0000
0000 0000
SIES
0100 0000
uuuu uuuu
0100 0000
0100 0000
uuuu uuuu
0000 0000
0000 0000
MISC
0x00 0000
uuuu uuuu
0000 0000
0000 0000
uuuu uuuu
0000 0000
0000 0000
Endpt_EN
0000 1111
0000 uuuu
0000 1111
0000 1111
0000 1111
0000 1111
0000 1111
FIFO0
xxxx xxxx
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0000
0000 0000
FIFO1
xxxx xxxx
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0000
0000 0000
FIFO2
xxxx xxxx
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0000
0000 0000
FIFO3
xxxx xxxx
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
0000 0000
0000 0000
Note:
* stands for warm reset
u stands for unchanged
x stands for unknown
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
SYS
/4.
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
SYS
/4.
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
SYS
/4. The external clock input
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.