数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

HT48CA3 数据表(PDF) 13 Page - Holtek Semiconductor Inc

部件名 HT48CA3
功能描述  8-Bit Remote Type MCU
PDF  36 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  HOLTEK [Holtek Semiconductor Inc]
网页  http://www.holtek.com
标志 HOLTEK - Holtek Semiconductor Inc

HT48CA3 数据表(HTML) 13 Page - Holtek Semiconductor Inc

Back Button HT48CA3 Datasheet HTML 9Page - Holtek Semiconductor Inc HT48CA3 Datasheet HTML 10Page - Holtek Semiconductor Inc HT48CA3 Datasheet HTML 11Page - Holtek Semiconductor Inc HT48CA3 Datasheet HTML 12Page - Holtek Semiconductor Inc HT48CA3 Datasheet HTML 13Page - Holtek Semiconductor Inc HT48CA3 Datasheet HTML 14Page - Holtek Semiconductor Inc HT48CA3 Datasheet HTML 15Page - Holtek Semiconductor Inc HT48CA3 Datasheet HTML 16Page - Holtek Semiconductor Inc HT48CA3 Datasheet HTML 17Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 36 page
background image
HT48CA3
Rev. 1.40
13
July 16, 2003
T M 1
T M 0
T M R 0
T E
T M 1
T M 0
T O N
P u l s e W i d t h
M e a s u r e m e n t
M o d e C o n t r o l
T i m e r / E v e n t C o u n t e r 0
P r e l o a d R e g i s t e r
8 - b i t
T i m e r / E v e n t C o u n t e r
( T M R 0 )
D a t a B u s
R e l o a d
P F D
8 - s t a g e P r e s c a l e r
8 - 1 M U X
f S Y S
f I N T
P S C 2 ~ P S C 0
( 1 / 2 ~ 1 / 2 5 6 )
¸ 2
O v e r f l o w t o I n t e r r u p t
Timer/Event Counter 0
There are 3 registers related to Timer/Event Counter 1;
TMR1H(0FH), TMR1L(10H), TMR1C(11H). Writing
TMR1L will only put the written data to an internal
lower-order byte buffer (8 bits) and writing TMR1H will
transfer the specified data and the contents of the
lower-order byte buffer to TMR1H and TMR1L preload
registers, respectively. The Timer/Event Counter 1
preload register is changed by each writing TMR1H op-
erations. Reading TMR1H will latch the contents of
TMR1H and TMR1L counters to the destination and the
lower-order byte buffer, respectively. Reading the
TMR1L will read the contents of the lower-order byte
buffer. The TMR1C is the Timer/Event Counter 1 control
register, which defines the operating mode, counting en-
able or disable and active edge.
The TM0, TM1 bits define the operating mode. The
event count mode is used to count external events,
which means the clock source comes from an external
(TMR1) pin. The timer mode functions as a normal timer
with the clock source coming from the instruction clock.
The pulse width measurement mode can be used to
count the high or low level duration of the external signal
(TMR1). The counting is based on the instruction clock.
In the event count or timer mode, once the Timer/Event
Counter 1 starts counting, it will count from the current
contents in the Timer/Event Counter 1 to FFFFH. Once
overflow occurs, the counter is reloaded from the
Timer/Event Counter 1 preload register and generates
the corresponding interrupt request flag (T1F;bit 6 of
INTC) at the same time.
In pulse width measurement mode with the TON and TE
bits are equal to one, once the TMR1 has received a
transition from low to high (or high to low if the TE bit is 0)
it will start counting until the TMR1 returns to the original
level and reset the TON. The measured result will re-
main in the Timer/Event Counter 1 even if the activated
transition occurs again. In other words, only one cycle
measurement can be done. Until setting the TON, the
cycle measurement will function again as long as it re-
ceives further transition pulse. Note that, in this operat-
ing mode, the Timer/Event Counter 1 starts counting not
according to the logic level but according to the transi-
tion edges. In the case of counter overflows, the counter
1 is reloaded from the Timer/Event Counter 1 preload
register and issues the interrupt request just like the
other two modes.
To enable the counting operation, the timer ON bit (TON;
bit 4 of TMR1C) should be set to 1. In the pulse width
measurement mode, the TON will be cleared automati-
cally after the measurement cycle is complete. But in the
other two modes the TON can only be reset by instruc-
tions. The overflow of the Timer/Event Counter 1 is one
of the wake-up sources. No matter what the operation
mode is, writinga0to ET1I can disabled the corre-
sponding interrupt service.
In the case of Timer/Event Counter 1 OFF condition,
writing data to the Timer/Event Counter 1 preload regis-
ter will also load the data to Timer/Event Counter 1. But
if the Timer/Event Counter 1 is turned on, data written to
the Timer/Event Counter 1 will only be kept in the
T M 1
T M 0
T M R 1
T E
T M 1
T M 0
T O N
P u l s e W i d t h
M e a s u r e m e n t
M o d e C o n t r o l
1 6 - b i t
T i m e r / E v e n t C o u n t e r
P r e l o a d R e g i s t e r
D a t a B u s
R e l o a d
O v e r f l o w
t o I n t e r r u p t
1 6 - b i t
T i m e r / E v e n t C o u n t e r
( T M R 1 H / T M R 1 L )
L o w B y t e
B u f f e r
f S Y S / 4
Timer/Event Counter 1



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com