Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT45F43 Datasheet(PDF) 61 Page - Holtek Semiconductor Inc

Part # HT45F43
Description  8-Bit Flash MCU with Op Amps & Comparators
PDF  152 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT45F43 Datasheet(HTML) 61 Page - Holtek Semiconductor Inc

Back Button HT45F43 Datasheet HTML 57Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 58Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 59Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 60Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 61Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 62Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 63Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 64Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 65Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 61 / 152 page
background image
Timer/Event Counters
The provision of timers form an important part of any microcontroller, giving the designer a means of
carrying out time related functions. The devices contain one 8-bit and one 16-bit count-up timer. As
each timer has four different operating modes, they can be configured to operate as a general timer, an
external event counter, an internal event counter for comparator, or as a pulse width measurement
device. The provision of a prescaler to the clock circuitry of the 8-bit Timer/Event Counter also gives
added range to this timer.
There are two types of registers related to the Timer/Event Counters. The first are the registers that
contain the actual value of the Timer/Event Counter and into which an initial value can be preloaded.
Reading from these registers retrieves the contents of the Timer/Event Counter. The second type of
associated register is the Timer Control Register which defines the timer options and determines how
the Timer/Event Counter is to be used. The Timer/Event Counters can have the their clock configured
to come from an internal clock source. In addition, their clock source can also be configured to come
from an external timer pin.
Configuring the Timer/Event Counter Input Clock Source
The internal timer
¢s clock can originate from various sources. The system clock source is used when
the Timer/Event Counter is in the timer mode or in the pulse width measurement mode. For
Timer/Event Counter 0 this internal clock source is fSYS which is also divided by a prescaler, the
division ratio of which is conditioned by the Timer Control Register, TMR0C, bits T0PSC0~ T0PSC2.
For Timer/Event Counter 1 this internal clock source can be chosen from a combination of internal
clocks using a configuration option and the T1S bit in the TMR1C register.
An external clock source is used when the timer is in the event counting mode, the clock source being
provided on an external timer pin TC0 or TC1, depending upon which timer is used. Depending upon
the condition of the T0E or T1E bit, each high to low, or low to high transition on the external timer pin
will increment the counter by one.
Timer Registers
- TMR0, TMR1L, TMR1H
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/Event Counter 0, this register is known as
TMR0. For 16-bit Timer/Event Counter 1, the timer registers are known as TMR1L and TMR1H. The
value in the timer registers increases by one each time an internal clock pulse is received 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 timer at which point the timer
overflows and an internal interrupt signal is generated. The timer value will then be reset with the initial
preload register value and continue counting.
To achieve a maximum full range count of FFH for the 8-bit timer or FFFFH for the 16-bit timer, the
preload registers must first be cleared to all zeros. It should be noted that after power-on, the preload
register will be in an unknown condition. Note that if the Timer/Event Counter is switched off and data
is written to its preload registers, this data will be immediately written into the actual timer registers.
However, if the Timer/Event Counter is enabled and counting, any new data written into the preload
data registers during this period will remain in the preload registers and will only be written into the
timer registers the next time an overflow occurs.
HT45F23/HT45F43
8-Bit Flash MCU with Op Amps & Comparators
Rev. 1.20
61
September 15, 2011



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 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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