数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

HT83F40P 数据表(PDF) 23 Page - Holtek Semiconductor Inc

部件名 HT83F40P
功能描述  Flash Type Voice OTP MCU
PDF  61 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  HOLTEK [Holtek Semiconductor Inc]
网页  http://www.holtek.com
标志 HOLTEK - Holtek Semiconductor Inc

HT83F40P 数据表(HTML) 23 Page - Holtek Semiconductor Inc

Back Button HT83F40P Datasheet HTML 19Page - Holtek Semiconductor Inc HT83F40P Datasheet HTML 20Page - Holtek Semiconductor Inc HT83F40P Datasheet HTML 21Page - Holtek Semiconductor Inc HT83F40P Datasheet HTML 22Page - Holtek Semiconductor Inc HT83F40P Datasheet HTML 23Page - Holtek Semiconductor Inc HT83F40P Datasheet HTML 24Page - Holtek Semiconductor Inc HT83F40P Datasheet HTML 25Page - Holtek Semiconductor Inc HT83F40P Datasheet HTML 26Page - Holtek Semiconductor Inc HT83F40P Datasheet HTML 27Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 61 page
background image
HT83FXX
Rev. 1.00
23
May 12, 2009
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
fSYS/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
HT83F60 device. The program shows how the Time
Base registers are setup along with how the interrupts
are enabled and managed. The points to note in the ex-
ample 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 similar 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 interrupt every 0.5ms from a system source clock
of 8MHz.
#include HT83F60.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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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