Electronic Components Datasheet Search
  English  ▼

X  

HT68F03 Datasheet(PDF) 59 Page - Holtek Semiconductor Inc

Part # HT68F03
Description  Small Package Enhanced Flash Type 8-Bit MCU with EEPROM
PDF  147 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT68F03 Datasheet(HTML) 59 Page - Holtek Semiconductor Inc

Back Button HT68F03 Datasheet HTML 55Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 56Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 57Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 58Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 59Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 60Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 61Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 62Page - Holtek Semiconductor Inc HT68F03 Datasheet HTML 63Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 59 / 147 page
background image
HT66F03/HT66F04/HT68F03/HT68F04
Rev. 1.30
59
February 17, 2011
TM Operation
The three different types of TM offer a diverse range of
functions, from simple timing operations to PWM signal
generation. The key to understanding how the TM oper-
ates is to see it in terms of a free running counter whose
value is then compared with the value of
pre-programmed internal comparators. When the free
running counter has the same value as the
pre-programmed comparator, known as a compare
match situation, a TM interrupt signal will be generated
which can clear the counter and perhaps also change
the condition of the TM output pin. The internal TM
counter is driven by a user selectable clock source,
which can be an internal clock or an external pin.
TM Clock Source
The clock source which drives the main counter in each
TM can originate from various sources. The selection of
the required clock source is implemented using the
TnCK2~TnCK0 bits in the TM control registers. The
clock source can be a ratio of either the system clock
fSYS or the internal high clock fH, the fTBC clock source or
the external TCKn pin. Note that setting these bits to the
value 101 will select a reserved clock input, in effect dis-
connecting the TM clock source. The TCKn pin clock
source is used to allow an external signal to drive the TM
as an external clock source or for event counting.
TM Interrupts
The Compact and Standard type TMs each have two in-
ternal interrupts, one for each of the internal comparator
A or comparator P, which generate a TM interrupt when
a compare match condition occurs. As the Enhanced
type TM has three internal comparators and comparator
A or comparator B or comparator P compare match
functions, it consequently has three internal interrupts.
When a TM interrupt is generated it can be used to clear
the counter and also to change the state of the TM out-
put pin.
TM External Pins
Each of the TMs, irrespective of what type, has one TM
input pin, with the label TCKn. The TM input pin, is es-
sentially a clock source for the TM and is selected using
the TnCK2~TnCK0 bits in the TMnC0 register. This ex-
ternal TM input pin allows an external clock source to
drive the internal TM. This external TM input pin is
shared with other functions but will be connected to the
internal TM if selected using the TnCK2~TnCK0 bits.
The TM input pin can be chosen to have either a rising or
falling active edge.
The TMs each have one or more output pins with the la-
bel TPn. When the TM is in the Compare Match Output
Mode, these pins can be controlled by the TM to switch
to a high or low level or to toggle when a compare match
situation occurs. The external TPn output pin is also the
pin where the TM generates the PWM output waveform.
The TPn pin acts as an input when the TM is setup to op-
erate in the Capture Input Mode. As the TPn pins are
pin-shared with other functions, the TPn pin function is
enabled or disabled according to the internal TM on/off
control, operation mode and output control settings.
When the corresponding TM configuration selects the
TPn pin to be used as an output pin, the associated pin
will be setup as an external TM output pin. If the TM con-
figuration selects the TPn pin to be setup as an input pin,
the input signal supplied on the associated pin can be
derived from an external signal and other pin-shared
output function. If the TM configuration determines that
the TPn pin function is not used, the associated pin will
be controlled by the other pin-shared functions. The
number of TPn pins for each TM type and device is dif-
ferent, for which details are provided in the accompany-
ing table.
Device
CTM
STM
ETM
HT66F03/HT68F03/HT68F04
TP0
TP1
¾
HT66F04
TP0
TP1
TP2A, TP2B
TM Output Pins



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