Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

HT86A72 Datasheet(PDF) 28 Page - Holtek Semiconductor Inc

Part # HT86A72
Description  A/D Type Voice 8-Bit MCU
PDF  68 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT86A72 Datasheet(HTML) 28 Page - Holtek Semiconductor Inc

Back Button HT86A72 Datasheet HTML 24Page - Holtek Semiconductor Inc HT86A72 Datasheet HTML 25Page - Holtek Semiconductor Inc HT86A72 Datasheet HTML 26Page - Holtek Semiconductor Inc HT86A72 Datasheet HTML 27Page - Holtek Semiconductor Inc HT86A72 Datasheet HTML 28Page - Holtek Semiconductor Inc HT86A72 Datasheet HTML 29Page - Holtek Semiconductor Inc HT86A72 Datasheet HTML 30Page - Holtek Semiconductor Inc HT86A72 Datasheet HTML 31Page - Holtek Semiconductor Inc HT86A72 Datasheet HTML 32Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 68 page
background image
HT86Axx/HT86ARxx
Rev. 1.10
28
December 12, 2012
Note that to achieve a maximum full range count of FFH
for the 8-bit timer, the preload registers must first be
cleared to all zeros. It should be noted that after
power-on, the preload registers will be in an unknown
condition. Note that if the Timer Counters are in an OFF
condition and data is written to their preload registers,
this data will be immediately written into the actual coun-
ter. However, if the counter is enabled and counting, any
new data written into the preload data register during
this period will remain in the preload register and will
only be written into the actual counter the next time an
overflow occurs. Note also that when the timer registers
are read, the timer clock will be blocked to avoid errors,
however, as this may result in certain timing errors, pro-
grammers must take this into account.
Timer Control Registers
-
TMR0C, TMR1C, TMR2C, TMR3C
The timers are setup using their respective control regis-
ter. These registers are known as TMR0C, TMR1C,
TMR2C and TMR3C. It is the timer control register to-
gether with its corresponding timer registers that control
the full operation of the Timer. Before the timers can be
used, it is essential that the appropriate timer control
register is fully programmed with the right data to ensure
its correct operation, a process that is normally carried
out during program initialization.
Bits 7 and 6 of the Timer Control Register, which are
known as the bit pair TM1/TM0, must be set to 10 re-
spectively to ensure correct Timer operation. The
timer-on bit, which is bit 4 of the Timer Control Register
and known as TON, provides the basic on/off control of
the respective timer. setting the bit high allows the timer
to run, clearing the bit stops the timer. Bits 0~2 of the
Timer Control Register determine the division ratio of
the input clock prescaler.
Configuring the Timer
The Timer is used to measure fixed time intervals, pro-
viding an internal interrupt signal each time the Timer
overflows. To do this the Operating Mode Select bit pair
in the Timer Control Register must be set to the correct
value as shown.
The Timer clock source is further divided by a prescaler,
the value of which is determined by the Prescaler Rate
Select bits, which are bits 0~2 in the Timer Control Reg-
ister. After the other bits in the Timer Control Register
have been setup, the enable bit, which is bit 4 of the
Timer Control Register, can be set high to enable the
Timer to run. Each time an internal clock cycle occurs,
the Timer increments by one. When it is full and over-
flows, an interrupt signal is generated and the Timer will
reload the value already loaded into the preload register
and continue counting. The interrupt can be disabled by
ensuring that the Timer Interrupt Enable bit in the Inter-
rupt Control Register, INTC, is reset to zero.
T i m e r M o d e C o n t r o l
T 3 O N
P r e l o a d R e g i s t e r
T i m e r
D a t a B u s
R e l o a d
O v e r f l o w
t o I n t e r r u p t
T 3 P S C 2 ~ T 3 P S C 0
8 - B i t T i m e r
f S Y S / 4
P r e s c a l e r
( 1 / 2 ~ 1 / 2 5 6 )
T 3 T M 1
T 3 T M 0
R T C
M U X
C o n f i g u r a t i o n
O p t i o n
8-bit Timer Structure
- TMR3
I n c r e m e n t
T i m e r C o n t r o l l e r
P r e s c a l e r O u t p u t
T i m e r + 1
T i m e r + 2
T i m e r + N
T i m e r + N + 1
Timer Mode Timing 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


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