參數(shù)資料
型號: HE84760B
廠商: King Billion Electronics Co., Ltd.
英文描述: 8-bit Micro-controller
中文描述: 8位微控制器
文件頁數(shù): 28/51頁
文件大?。?/td> 487K
代理商: HE84760B
15.
Timer2
Timer2 is similar in structure to Timer1 except that clock source of Timer2 comes from the system clock
KING BILLION ELECTRONICS CO., LTD
駿
HE84760B
HE80004 Series
June 29, 2005
This specification is subject to change without notice. Please contact sales person for the latest version before use.
28
V1.0
“Fsys”/1.5. The system clock “Fsys” varies depending on the operation modes of the MCU.
The Timer2 consists of two 8-bit write-only preload registers T2H and T2L and 16-bit down counter. If
Timer2 is enabled, counter will decrement by one with each incoming clock pulse. Timer2 interrupt will
be generated when the counter underflows - counts down to FFFFH. And it will be automatically reloaded
with the value of T2H and T2L.
Please note that the interrupt signal is generated when counter counts from 0000H to FFFFH. If the value
of counter is N, and count down to FFFFH, the total count is N+1. The content of counter is zero when
system resets. Once it is enabled to count at this time, the interrupt will be generated immediately and
value of T2H and T2L will be loaded since the counter counts to FFFFH. So the T2H and T2L value
should be set before enabling Timer2.
The Timer2 related control registers are list as below:
Register Address
Field
Bit position Mode
Description
IER
0x02
TC2_IER
1
R/W
0: TC2 interrupt is disabled. (default)
1: TC2 interrupt is enabled.
Low byte of TC2 pre-load value
High byte of TC2 pre-load value
0: TC2 is disabled. (default)
1: TC2 is enabled.
T2L
T2H
0x05
0x06
T2L[7:0]
T2H[7:0]
7~0
7~0
W
W
OP1
0x09
TC2E
3
R/W
T2H
T2L
< Timer2 Counter >
Decreases 1
Count To
0xFFFFh
The contents of
T2H and T2L are
almost loaded into
Timer2 immediately
when Timer2 is
enabled after reset.
Auto reload
when Timer2
is underflow
Yes
No
Timer2
Interrupt
Request
T2_INT
相關(guān)PDF資料
PDF描述
HE84760 8-bit Micro-controller
HE84761 8-bit Micro-controller
HE847701 8-bit Micro-controller
HE84770D 8-bit Micro-controller
HE84770 8-bit Micro-controller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HE84761 制造商:KB 制造商全稱:KB 功能描述:8-bit Micro-controller
HE84761(S) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:
HE84762(S) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:
HE84770 制造商:KB 制造商全稱:KB 功能描述:8-bit Micro-controller
HE84770(S) 制造商:未知廠家 制造商全稱:未知廠家 功能描述: