Electronic Components Datasheet Search
  English  ▼

X  

HT85F2230 Datasheet(PDF) 115 Page - Holtek Semiconductor Inc

Part # HT85F2230
Description  A/D Flash 8051 Core Low Pin Count MCU
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

HT85F2230 Datasheet(HTML) 115 Page - Holtek Semiconductor Inc

Back Button HT85F2230 Datasheet HTML 111Page - Holtek Semiconductor Inc HT85F2230 Datasheet HTML 112Page - Holtek Semiconductor Inc HT85F2230 Datasheet HTML 113Page - Holtek Semiconductor Inc HT85F2230 Datasheet HTML 114Page - Holtek Semiconductor Inc HT85F2230 Datasheet HTML 115Page - Holtek Semiconductor Inc HT85F2230 Datasheet HTML 116Page - Holtek Semiconductor Inc HT85F2230 Datasheet HTML 117Page - Holtek Semiconductor Inc HT85F2230 Datasheet HTML 118Page - Holtek Semiconductor Inc HT85F2230 Datasheet HTML 119Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 115 / 147 page
background image
Rev. 1.10
11� of 147
���� �1� �01�
A/D Flash 8051 Core Low Pin Count MCU
HT85F2230/HT85F2240
Gated Timer function
To select this function, bits T2I1 and T2I0 in the T2CON register, should be set to “11” respectively.
The value in the Timer 2 registers, TL2 and TH2, increases by one each time an internal clock
pulse is received. The count rate is derived from the “fSYS” and the prescaler can be managed by
the T2PRE1 and T2PRE0 bits in the TMPRE register. The external timer pin, T2, can be a gate to
the Timer 2 input. When the T2 pin is set high, the Timer 2 keeps counting and when the T2 pin
is cleared to low, the Timer 2 will be stopped. The T2 input signal will be sampled once by every
internal system clock. When the timer counter is overflowed, an interrupt will take place and the
interrupt request flag, TF2, will be set to high.
Timer 2 with PCA
Time 2 and 4-channel PCA modules provide the Compare, Reload, Capture and programmable
clock output functions. Each of the two Timer 2 Modules contains a pair of registers, CRCL/CRCH
for Module 0 and CCL1/CCH1 for Modules 1. These registers are compared with the Timer 2 TL2/
TH2 register pair and when a compare match occurs, an interrupt signal can be generated. The
value in the Timer 2 registers increases by one each time an internal clock pulse is received or an
external transition occurs on the external timer pin.
The Compare function provides two modes, Mode 0 and Mode 1. When a compare match takes
place, the compare results will output to the respective output pins, according to the selected mode.
Refer Compare mode section for details.
There are two modes for the Capture function, Mode 0 and Mode 1, which are used to select
different trigger methods. In Mode 0, the Capture function is triggered by the external I/O pins,
CCn. In Mode 1, the Capture function is triggered by writing data to the CCL1 or CRCL registers.
Once the Capture function is enabled and triggered, the Timer 2 data in the TL2 and TH2 registers
will be captured into the respective CCL1/CCH1 or CRCL/CRCH registers. Refer Capture modes
for details.
In the Reload mode, the timer counter registers, TH2 and TL2, are located in the Special Function
Registers and is the place where the actual timer value is stored. 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, T2. The timer will count from the initial value loaded by the preload register
to the full count of FFFFH for the 16-bit Timer/Event Counters, at which point the timer overflows
and an internal interrupt signal is generated. There are two modes to reload the CRCL/CRCH
registers data, one is the counter overflow and the other is triggered by the falling edge on the
T2EX pin. Refer Reload mode for details.
In the Programmable Clock Output mode, the clock output frequency depends on the system
clock and the reload value of the Timer 2 capture registers, CRCH and CRCL. The output clock
is generated by programming the T2CON control bit, and output via T2 pin. Refer Programmable
Clock Output mode for details.



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