Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT66F016 Datasheet(PDF) 51 Page - Holtek Semiconductor Inc

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

HT66F016 Datasheet(HTML) 51 Page - Holtek Semiconductor Inc

Back Button HT66F016 Datasheet HTML 47Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 48Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 49Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 50Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 51Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 52Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 53Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 54Page - Holtek Semiconductor Inc HT66F016 Datasheet HTML 55Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 51 / 116 page
background image
HT66F016/HT66F017/HT68F016/HT68F017
Rev. 1.00
51
May 14, 2012
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. When a TM interrupt
is generated it can be used to clear the counter and also
to change the state of the TM output 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 output pin with the label 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 sit-
uation 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 other pin-shared functions. The details
of the TPn pin for each TM type and device are provided
in the accompanying table.
Device
CTM
STM
Registers
HT66F016
HT68F016
¾
TP1
TMPC
HT66F017
HT68F017
TP0
TP1
TMPC
TM Output Pins
TM Input/Output Pin Control Registers
Selecting to have a TM input/output or whether to retain
its other shared functions is implemented using one reg-
ister with a single bit in each register corresponding to a
TM input/output pin. Setting the bit high will setup the
corresponding pin as a TM input/output if reset to zero
the pin will retain its original other functions.
TMPC Register List
Device
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
HT66F016
HT68F016
¾¾¾¾¾¾
T1CP
¾
HT66F017
HT68F017
¾¾¾¾¾¾
T1CP
T0CP
TM0
(CTM)
TP0
T0CP
TP0
TP1
T1CP
TP1
TM1
(STM)
TP1
TM Function Pin Control Block Diagram



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