Datenblatt-Suchmaschine für elektronische Bauteile
  German  ▼
ALLDATASHEETDE.COM

X  

HT68F13 Datenblatt(PDF) 86 Page - Holtek Semiconductor Inc

Teilenummer HT68F13
Bauteilbeschribung  Enhanced I/O Flash Type MCU
PDF  161 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Hersteller  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT68F13 Datenblatt(HTML) 86 Page - Holtek Semiconductor Inc

Back Button HT68F13 Datasheet HTML 82Page - Holtek Semiconductor Inc HT68F13 Datasheet HTML 83Page - Holtek Semiconductor Inc HT68F13 Datasheet HTML 84Page - Holtek Semiconductor Inc HT68F13 Datasheet HTML 85Page - Holtek Semiconductor Inc HT68F13 Datasheet HTML 86Page - Holtek Semiconductor Inc HT68F13 Datasheet HTML 87Page - Holtek Semiconductor Inc HT68F13 Datasheet HTML 88Page - Holtek Semiconductor Inc HT68F13 Datasheet HTML 89Page - Holtek Semiconductor Inc HT68F13 Datasheet HTML 90Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 86 / 161 page
background image
Capture Input Mode
To select this mode bits TnM1 and TnM0 in the TMnC1 register should be set to 01 respectively. This
mode enables external signals to capture and store the present value of the internal counter and can
therefore be used for applications such as pulse width measurements. The external signal is supplied
on the TPn_0 or TPn_1 pin, whose active edge can be either a rising edge, a falling edge or both rising
and falling edges; the active edge transition type is selected using the TnIO1 and TnIO0 bits in the
TMnC1 register. The counter is started when the TnON bit changes from low to high which is initiated
using the application program.
When the required edge transition appears on the TPn_0 or TPn_1 pin, the present value in the counter
will be latched into the CCRA registers and a TM interrupt generated. Irrespective of what events
occur on the TPn_0 or TPn_1 pin the counter will continue to free run until the TnON bit changes from
high to low. When a CCRP compare match occurs, the counter will reset back to zero; in this way the
CCRP value can be used to control the maximum counter value. When a CCRP compare match occurs
from Comparator P, a TM interrupt will also be generated. Counting the number of overflow interrupt
signals from the CCRP can be a useful method in measuring long pulse widths. The TnIO1 and TnIO0
bits can select the active trigger edge on the TPn_0 or TPn_1 pin to be a rising edge, falling edge or
both edge types. If the TnIO1 and TnIO0 bits are both set high, then no capture operation will take
place irrespective of what happens on the TPn_0 or TPn_1 pin, however it must be noted that the
counter will continue to run.
As the TPn_0 or TPn_1 pin is pin shared with other functions, care must be taken if the TM is in the
Input Capture Mode. This is because if the pin is setup as an output, then any transitions on this pin
may cause an input capture operation to be executed. The TnCCLR and TnDPX bits are not used in
this Mode.
HT68F13/HT68F14/HT68F15
Enhanced I/O Flash Type MCU
Rev. 1.10
86
February 9, 2011
Counter Value
YY
CCRP
TnON
TnPAU
CCRP Int.
Flag TnPF
CCRA Int.
Flag TnAF
CCRA
Value
Time
Counter cleared
by CCRP
Pause
Resume
Counter
Reset
TnM [1:0] = 01
TM capture
pin TPn_x
XX
Counter
Stop
TnIO [1:0]
Value
XX
YY
XX
YY
Active
edge
Active
edge
Active edge
00
Rising edge
01
Falling edge
10
Both edges
11
Disable Capture
Capture Input Mode
Note:
1.. TnM [1:0] = 01 and active edge set by the TnIO [1:0] bits
2. A TM Capture input pin active edge transfers the counter value to CCRA
3. TnCCLR bit not used
4. No output function -- TnOC and TnPOL bits are not used
5. CCRP determines the counter value and the counter has a maximum count value when CCRP is equal to
zero.



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


Datenblatt Download

Go To PDF Page


Link URL



War ALLDATASHEET hilfreich?  [ DONATE ] 

Über Alldatasheet   |   Werbung   |   Kontakt   |   Privatsphäre und Datenschutz   |   Link zum Datenblatt    |   Linktausch   |   Hersteller
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