Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT83F02 Datasheet(PDF) 24 Page - Holtek Semiconductor Inc

Part # HT83F02
Description  External Voice Memory Flash MCU
PDF  64 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT83F02 Datasheet(HTML) 24 Page - Holtek Semiconductor Inc

Back Button HT83F02 Datasheet HTML 20Page - Holtek Semiconductor Inc HT83F02 Datasheet HTML 21Page - Holtek Semiconductor Inc HT83F02 Datasheet HTML 22Page - Holtek Semiconductor Inc HT83F02 Datasheet HTML 23Page - Holtek Semiconductor Inc HT83F02 Datasheet HTML 24Page - Holtek Semiconductor Inc HT83F02 Datasheet HTML 25Page - Holtek Semiconductor Inc HT83F02 Datasheet HTML 26Page - Holtek Semiconductor Inc HT83F02 Datasheet HTML 27Page - Holtek Semiconductor Inc HT83F02 Datasheet HTML 28Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 24 / 64 page
background image
HT83F02
Rev. 1.20
24
November 19, 2010
Time Base
The Time Base function will generate a regular interrupt
signal synchronised to the system clock which can be
used by the application as a time base signal.
Time Base Operation
The Time Base operation is a very simple function for
the generation of a regular time signal. This is imple-
mented by generating a regular interrupt signal whose
enable/disabled and request flags are in the INTC regis-
ter. The clock source for the time base is the internal
f
SYS/4 clock source, which is then divided internally by a
value of 1024. It is this divided signal that generates the
internal interrupt. The Time Base Interrupt is enabled by
the ETBI bit in the INTC register and interrupt request
flag is the TBF flag in the same register. A time base of
1ms will therefor be generated from a system clock of
4MHz and a time base of 0.5ms will be generated from a
system clock source of 8MHz.
Time base Example
The following example program section is based on the
device. The program shows how the Time Base regis-
ters are setup along with how the interrupts are enabled
and managed. The points to note in the example are
how the Time Base is turned on by setting bit 4 of the
INTC register. The Time Base can be turned off in a sim-
ilar way by clearing the same bit. This example program
sets the Time Base which uses the internal system clock
as their clock source, and produces a time base inter-
rupt every 0.5ms from a system source clock of 8MHz.
#include HT83F02.inc
jmp
begin
:
org 04h
; time base vector
jmp
time_base_int
; jump here when time base overflows per 0.5ms
org 08h
reti
org 0Ch
reti
org 10h
reti
org 14h
reti
:
; time base interrupt routine
time_base_int:
:
; time base main program placed here
:
reti
:
begin:
; setup interrupt register
mov
a,03h
; enable global and time base interrupt
mov
intc,a
; enable time base
¸ 1 0 2 4
S y s t e m C l o c k / 4
O v e r f l o w
t o I n t e r r u p t



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


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