Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

HT47C20 Scheda tecnica(PDF) 22 Page - Holtek Semiconductor Inc

Il numero della parte HT47C20
Spiegazioni elettronici  8-Bit Microcontroller
PDF  56 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  HOLTEK [Holtek Semiconductor Inc]
Homepage  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT47C20 Scheda tecnica(HTML) 22 Page - Holtek Semiconductor Inc

Back Button HT47C20 Datasheet HTML 18Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 19Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 20Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 21Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 22Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 23Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 24Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 25Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 26Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 56 page
background image
HT47C20
22
January 18, 2000
tents in the timer/event counter (TMRAH and
TMRAL) to FFFFH. Once overflow occurs, the
counter is reloaded from the timer/event coun-
ter preload register (TMRBH and TMRBL) and
generates the corresponding interrupt request
flag (TF; bit 4 of INTC1) at the same time.
In the pulse width measurement mode with the
TON and TE bits are equal to one, once the
TMR has received a transient from low to high
(or high to low if the TE bit is 0) it will start
counting until the TMR returns to the original
level and resets the TON. The measured result
will remain in the timer/event counter even if
the activated transient occurs again. In other
words, only one cycle measurement can be
done. Until setting the TON, the cycle measure-
ment will function again as long as it receives
further transient pulse. Note that in this opera-
tion mode, the timer/event counter starts count-
ing not according to the logic level but according
to the transient edges. In the case of counter
overflows, the counter is reloaded from the
timer/event counter preload register and issues
interrupt request just like the other three
modes.
To enable the counting operation, the timer ON
bit (TON; bit 4 of TMRC) should be set to 1. In
the pulse width measurement mode, the TON
will be automatically cleared after the measure-
ment cycle is completed. But in the other three
modes, the TON can only be reset by instruc-
tions. The overflow of the timer/event counter is
one of the wake-up sources and can also be ap-
plied to a PFD (Programmable Frequency Di-
vider) output at PA3 by mask option. No matter
what the operation mode is, writing a 0 to ETI
can disable the corresponding interrupt service.
When the PFD function is selected, executing
²CLR PA.3² instruction to enable PFD output
and executing ²SET PA.3² instruction to dis-
able PFD output and PA.3 output low level.
In the case of timer/event counter OFF
condition, writing data to the timer/event counter
preload register also reloads that data to the
timer/event counter. But if the timer/event coun-
ter turns on, data written to the timer/event
counter preload register is kept only in the
timer/event counter preload register. The
timer/event counter will still operate until
overflow occurs.
When the timer/event counter (reading
TMRAH) is read, the clock will be blocked to
avoid errors. As this may results in a counting
error, this must be taken into consideration by
the programmer.
Label
(TMRC)
Bits
Function
¾
0~2 Unused bits, read as ²0²
TE
3
Defines the TMR active edge of timer/event counter
(0= active on low to high; 1= active on high to low)
TON
4
Enable/disable timer counting
(0= disabled; 1= enabled)
TN0
TN1
TN2
5
6
7
Defines the operating mode (TN2, TN1, TN0)
000= Timer mode (system clock)
001= Timer mode (system clock/4)
010= Timer mode (RTC output)
011= A/D clock mode (RC oscillation decided by ADCR register)
100= Event counter mode (external clock)
101= Pulse width measurement mode (system clock/4)
110= Unused
111= Unused
TMRC register



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 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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