參數(shù)資料
型號: HT46C65-52
廠商: Holtek Semiconductor Inc.
英文描述: A/D with LCD Type 8-Bit MCU
中文描述: 在A / D液晶型8位微控制器
文件頁數(shù): 17/48頁
文件大小: 409K
代理商: HT46C65-52
HT46R65/HT46C65
Rev. 1.80
17
July 14, 2005
Timer/Event Counter
Two timer/event counters (TMR0,TMR1) are imple-
mented in the microcontroller. The Timer/Event Counter
0 contains a 16-bit programmable count-up counter and
the clock may come from an external source or an inter-
nal clock source. An internal clock source comes from
f
SYS
. The Timer/Event Counter 1 contains a 16-bit pro-
grammable count-up counter and the clock may come
from an external source or an internal clock source. An
internal clock source comes from f
SYS
/4 or 32768Hz se-
lected by option. The external clock input allows the
user to count external events, measure time intervals or
pulse widths, or to generate an accurate time base.
There are six registers related to the Timer/Event Coun-
ter 0; TMR0H (0CH), TMR0L (0DH), TMR0C (0EH) and
the Timer/Event Counter 1; TMR1H (0FH), TMR1L
(10H), TMR1C (11H). Writing TMR0L (TMR1L) will only
put the written data to an internal lower-order byte buffer
(8-bit) and writing TMR0H (TMR1H) will transfer the
specified data and the contents of the lower-order byte
buffer to TMR0H (TMR1H) and TMR0L (TMR1L) regis-
ters, respectively. The Timer/Event Counter 1/0 preload
register is changed by each writing TMR0H (TMR1H)
operations. Reading TMR0H (TMR1H) will latch the
contents of TMR0H (TMR1H) and TMR0L (TMR1L)
counters to the destination and the lower-order byte
buffer, respectively. Reading the TMR0L (TMR1L) will
read the contents of the lower-order byte buffer. The
TMR0C (TMR1C) is the Timer/Event Counter 0 (1) con-
trol register, which defines the operating mode, counting
enable or disable and an active edge.
The T0M0, T0M1 (TMR0C) and T1M0, T1M1 (TMR1C)
bits define the operation mode. The event count mode is
used to count external events, which means that the
clock source is from an external (TMR0, TMR1) pin. The
timer mode functions as a normal timer with the clock
source coming from the internal selected clock source.
Finally,thepulsewidthmeasurementmodecanbeused
to count the high or low level duration of the external sig-
nal (TMR0, TMR1), and the counting is based on the in-
ternal selected clock source.
In the event count or timer mode, the timer/event coun-
ter starts counting at the current contents in the
timer/event counter and ends at FFFFH. Once an over-
'
'
'
'
'
'
'
'
'
1
) (
%
)
1
6 7
)
1
6 7 )
!
&
0
&
'
,
'
'
; 2 >
< )
) ; 4 >
<
(
)
' -
-
-
)
2 7 +
)
1
) +
1
8
& 1 A )
)
$
A ) + #
& &
+
9
% ) + #
$
A ) + #
2 7 +
)
-
8
)
/
'
Timer/Event Counter 0
'
'
1
) (
%
)
1
&
&
0
-
4 2 6 9 :
!
2 7 +
)
1
) +
1
8
& 1 A )
)
$
A ) + #
& &
+
9
% ) + #
$
A ) + #
2 7 +
)
-
8
)
/
Timer/Event Counter 1
!
-
/
/
)
)
"
)
)
$
/
'
/
PFD Source Option
相關(guān)PDF資料
PDF描述
HT46C65-56 A/D with LCD Type 8-Bit MCU
HT46R65 A/D with LCD Type 8-Bit MCU
HT46R65-52 A/D with LCD Type 8-Bit MCU
HT46R65-56 A/D with LCD Type 8-Bit MCU
HT47C20L 8-BIT MICROCONTROLLER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HT46C65-56 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D with LCD Type 8-Bit MCU
HT46CU25 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D Type 8-Bit MCU
HT46CU26 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D Type 8-Bit MCU with UART
HT46CU66 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D Type 8-Bit MCU with LCD
HT46CU66_11 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:A/D Type 8-Bit MCU with LCD