Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

HT37B90 Scheda tecnica(PDF) 24 Page - Holtek Semiconductor Inc

Il numero della parte HT37B90
Spiegazioni elettronici  HT37B90
Download  80 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  HOLTEK [Holtek Semiconductor Inc]
Homepage  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT37B90 Scheda tecnica(HTML) 24 Page - Holtek Semiconductor Inc

Back Button HT37B90 Datasheet HTML 20Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 21Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 22Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 23Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 24Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 25Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 26Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 27Page - Holtek Semiconductor Inc HT37B90 Datasheet HTML 28Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 80 page
background image
HT37B90/HT37B70/HT37B50/HT37B30
Rev.1.00
24
June22,2017
ConfiguringtheTimer/EventCounterInputClock
Source
The internal timer
¢s clock can originate from various
sources, depending upon timer is chosen. The system
clock input timer source is used when the timer is in the
timermodeorinthepulsewidthmeasurementmode.
For Timer/Event Counter 0, these system clock timer
sourceisselectedbyTMR0C.5.
For Timer/Event Counter 1, 2 this system clock timer
source is first divided by a prescaler, the division ratio of
which is conditioned by the Timer Control Register bits
T1PSC0~T1PSC2.
An external clock source is used when the timer is in the
event counting mode, the clock source being provided
on the external timer pin, known as TMR0 or TMR1.
These external timer pins are pin-shared with other I/O
pins. Depending upon the condition of PA share pin op-
tion, each high to low, or low to high transition on the ex-
ternaltimerinputpinwillincrementthecounterbyone.
TimerRegisters - TMR0H/TMR0L,TMR1,TMR2
The timer registers are special function registers located
in the special purpose Data Memory and is the place
where the actual timer value is stored. For the 8-bit timer,
this register is known as Timer/Event Counter 1/2. In the
case of the 16-bit timer, a pair of 8-bit registers are re-
quired to store the 16-bit timer values. These are known
as TMR1L/TMR1H. The value in the timer registers in-
creases by one each time an internal clock pulse is re-
ceived or an external transition occurs on the external
timer pin. The timer will count from the initial value loaded
by the preload register to the full count of FFH for the 8-bit
timer or FFFFH for the 16-bit timers, at which point the
timer overflows and a timer internal interrupt signal is
generated. The timer value will then be reset with the ini-
tial preload register value and continue counting.
Note that to achieve a maximum full range count of FFH
for the 8-bit timer or FFFFH for the 16-bit timers, the
preload registers must first be cleared to all zeros. It
should be noted that after power-on, the preload regis-
ters will be in an unknown condition. Note that if the
Timer/Event Counters are in an OFF condition and data
is written to their preload registers, this data will be im-
mediately written into the actual counter. However, if the
counter is enabled and counting, any new data written
into the preload data register during this period will re-
main in the preload register and will only be written into
the actual counter the next time an overflow occurs.
Note also that when the timer registers are read, the
timer clock will be blocked to avoid errors, however, as
this may result in certain timing errors, programmers
musttakethisintoaccount.
The 16-bit Timer/Event Counter have contained both
low byte and high byte timer registers, accessing these
registers is carried out in a specific way. It must be noted
that when using instructions to preload data into the low
byte register, namely TMR0L, the data will only be
placed in a low byte buffer and not directly into the low
byte register. The actual transfer of the data into the low
byte register is only carried out when a write to its asso-
ciated high byte register, namely TMR0H, is executed.
On the other hand, using instructions to preload data
into the high byte timer register will result in the data be-
ing directly written to the high byte register. At the same
time the data in the low byte buffer will be transferred
into its associated low byte register. For this reason,
when preloading data into the 16-bit timer registers, the
low byte should be written first. It must also be noted that
to read the contents of the low byte register, a read to the
b 7
T 0 E
T 0 O N
T 0 M 0
T 0 M 1
b 0
E v e n t C o u n t e r A c t i v e E d g e S e l e c t
1 : c o u n t o n f a l l i n g e d g e
0 : c o u n t o n r i s i n g e d g e
T i m e r / E v e n t C o u n t e r C o u n t i n g E n a b l e
1 : e n a b l e
0 : d i s a b l e
O p e r a t i n g M o d e S e l e c t
T 0 M 1
0
0
1
1
T 0 M 0
0
1
0
1
n o m o d e a v a i l a b l e
e v e n t c o u n t e r m o d e
t i m e r m o d e
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
P u l s e W i d t h M e a s u r e m e n t A c t i v e E d g e S e l e c t
1 : s t a r t c o u n t i n g o n r i s i n g e d g e , s t o p o n f a l l i n g e d g e
0 : s t a r t c o u n t i n g o n f a l l i n g e d g e , s t o p o n r i s i n g e d g e
T M R 0 C R e g i s t e r
N o t i m p l e m e n t e d , r e a d a s " 0 "
T 0 S
T i m e r C l o c k S o u r c e
1 : R C 1 2 K
0 : f O S C / 8
Timer/EventCounter0ControlRegister


Codice articolo simile - HT37B90

Produttore elettroniciIl numero della parteScheda tecnicaSpiegazioni elettronici
logo
Hotchip Technology Co.,...
HT3786D HOTCHIP-HT3786D Datasheet
292Kb / 5P
   Li-ion Battery Charger
Ver1.0
logo
Holtek Semiconductor In...
HT37A20 HOLTEK-HT37A20 Datasheet
709Kb / 85P
   8-Channel Music Synthesizer MCU
HT37A30 HOLTEK-HT37A30 Datasheet
709Kb / 85P
   8-Channel Music Synthesizer MCU
HT37A40 HOLTEK-HT37A40 Datasheet
709Kb / 85P
   8-Channel Music Synthesizer MCU
HT37A50 HOLTEK-HT37A50 Datasheet
709Kb / 85P
   8-Channel Music Synthesizer MCU
More results


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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80


Scheda tecnica Scarica

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEETIT.COM
Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   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