поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

HT68F20 датащи(PDF) 87 Page - Holtek Semiconductor Inc

номер детали HT68F20
подробное описание детали  Enhanced I/O Flash Type MCU 8-Bit MCU with EEPROM
PDF  210 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  HOLTEK [Holtek Semiconductor Inc]
домашняя страница  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT68F20 датащи(HTML) 87 Page - Holtek Semiconductor Inc

Back Button HT68F20 Datasheet HTML 83Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 84Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 85Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 86Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 87Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 88Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 89Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 90Page - Holtek Semiconductor Inc HT68F20 Datasheet HTML 91Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 87 / 210 page
background image
HT68F20/HT68F30/HT68F40/HT68F50/HT68F60
Rev.1.00
87
November 3, 2009
Compact Type TM Operating Modes
The Compact Type TM can operate in one of three oper-
ating modes, Compare Match Output Mode, PWM
Mode or Timer/Counter Mode. The operating mode is
selected using the TnM1 and TnM0 bits in the TMnC1
register.
Compare Match Output Mode
To select this mode, bits TnM1 and TnM0 in the TMnC1
register, should be set to
²00² respectively. In this mode
once the counter is enabled and running it can be
cleared by three methods. These are a counter over-
flow, a compare match from Comparator A and a com-
pare match from Comparator P. When the TnCCLR bit is
low, there are two ways in which the counter can be
cleared. One is when a compare match occurs from
Comparator P, the other is when the CCRP bits are all
zero which allows the counter to overflow. Here both
TnAF and TnPF interrupt request flags for the Compara-
tor A and Comparator P respectively, will both be gener-
ated.
If the TnCCLR bit in the TMnC1 register is high then the
counter will be cleared when a compare match occurs
from Comparator A. However, here only the TnAF inter-
rupt request flag will be generated even if the value of
the CCRP bits is less than that of the CCRA registers.
Therefore when TnCCLR is high no TnPF interrupt re-
quest flag will be generated. If the CCRA bits are all
zero, the counter will overflow when its reaches its maxi-
mum 10-bit, 3FF Hex, value, however here the TnAF in-
terrupt request flag will not be generated.
As the name of the mode suggests, after a comparison
is made, the TM output pin will change state. The TM
output pin condition however only changes state when
an TnAF interrupt request flag is generated after a com-
pare match occurs from Comparator A. The TnPF inter-
rupt request flag, generated from a compare match
occurs from Comparator P, will have no effect on the TM
output pin. The way in which the TM output pin changes
state are determined by the condition of the TnIO1 and
TnIO0 bits in the TMnC1 register. The TM output pin can
be selected using the TnIO1 and TnIO0 bits to go high,
to go low or to toggle from its present condition when a
compare match occurs from Comparator A. The initial
condition of the TM output pin, which is setup after the
TnON bit changes from low to high, is setup using the
TnOC bit. Note that if the TnIO1 and TnIO0 bits are zero
then no pin change will take place.
CCRA
CCRP
0x3FF
Counter
Value
Counter
overflow
CCRA Int.
Flag TnAF
CCRP Int.
Flag TnPF
CCRP > 0
Counter cleared by CCRP value
TM O/P Pin
TnON bit
Pause
Count er
Reset
Output Pin
Reset to initial value
Output Pin set
to Initial Level
Lowif TnOC= 0
Output Toggle
with TnAF flag
Here TnIO 1, TnIO0 = 11
Toggle Output Select
Now TnIO1, TnIO0 = 10
Act ive High Output
Select
Output not af fect ed by TnAF flag
Remains High until reset by TnON bit
TnCCRL = 0; TnM1, TnM0 = 00
TnPAU bit
Resume
Stop
Time
CCRP > 0
CCRP = 0
TnPOL bit
Output inverts
when TnPO L is high
Compare Match Output Mode - TnCCLR = 0
Note:
1. With TnCCLR = 0 the Comparator P match will clear the counter
2. TM output pin controlled only by TnAF flag
3. Output pin reset to initial state by TnON bit rising edge



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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