
HT48RB8
Rev. 1.30
15
February 10, 2003
Label (TMR0C)
Bits
Function
0~2
Unused bit, read as 0
TE
3
To define the TMR0 active edge of Timer/Event Counter 0
(0=active on low to high; 1=active on high to low)
TON
4
To enable/disable timer 0 counting
(0=disabled; 1=enabled)
5
Unused bit, read as 0
TM0
TM1
6
7
To define the operating mode
01=Event count mode (external clock)
10=Timer mode (internal clock)
11=Pulse width measurement mode
00=Unused
TMR0C register
Label (TMR1C)
Bits
Function
0~2
Unused bit, read as 0
TE
3
To define the TMR1 active edge of Timer/Event Counter 1
(0=active on low to high; 1=active on high to low)
TON
4
To enable/disable timer 1 counting
(0=disabled; 1=enabled)
5
Unused bit, read as 0
TM0
TM1
6
7
To define the operating mode
01=Event count mode (external clock)
10=Timer mode (internal clock)
11=Pulse width measurement mode
00=Unused
TMR1C register
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.
, !
( +
" $
!
"
(
,
)
3
(
(
,
" (
!
)
3
(
( /
!
,
"
3
% , A
(
%
'
) *
Timer/Event Counter 0