Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

HT83F02 Datasheet(PDF) 23 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) 23 Page - Holtek Semiconductor Inc

Back Button HT83F02 Datasheet HTML 19Page - Holtek Semiconductor Inc 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 64 page
background image
HT83F02
Rev. 1.20
23
November 19, 2010
b 7
T n O N
T n M 0
T n M 1
b 0
N o t i m p l e m e n t e d , r e a d a s " 0 "
T i m e r C o u n t i n g E n a b l e
1 : e n a b l e
0 : d i s a b l e
O p e r a t i n g M o d e S e l e c t
T 0 T M 1
T 1 T M 1
0
0
1
1
T 0 T M 0
T 1 T M 0
0
1
0
1
n o m o d e a v a i l a b l e
n o m o d e a v a i l a b l e
t i m e r m o d e
n o m o d e a v a i l a b l e
T M R 0 C / T M R 1 C R e g i s t e r
N o t i m p l e m e n t e d , r e a d a s " d o n ' t c a r e "
T n P S C 2 T n P S C 1 T n P S C 0
T i m e r P r e s c a l e r R a t e S e l e c t
T 0 P S C 2
T 1 P S C 2
0
0
0
0
1
1
1
1
T 0 P S C 1
T 1 P S C 1
0
0
1
1
0
0
1
1
T 0 P S C 0
T 1 P S C 0
0
1
0
1
0
1
0
1
T i m e r R a t e
1 : 2
1 : 4
1 : 8
1 : 1 6
1 : 3 2
1 : 6 4
1 : 1 2 8
1 : 2 5 6
Timer Control Register (n=0 or 1)
Timer Program Example
The following example program section is based on the device, which contain two 8-bit timers. Programming the timer
for other devices is conducted in a very similar way. The program shows how the timer registers are setup along with
how the interrupts are enabled and managed. Points to note in the example are how, for the 8-bit timer. Note how the
timer is turned on by setting bit 4 of the respective timer control register. The timer can be turned off in a similar way by
clearing the same bit. This example program sets the timer to be in the timer mode which uses the internal fsys as their
clock source, and produce a timer 0 interrupt per 1ms.
#include HT83F02.inc
jmp
begin
:
org 04h
; time base vector
reti
org 08h
; timer 0 interrupt vector
jmp tmr0int
; jump here when timer 0 overflows every 1ms
org 0Ch
reti
org 10h
reti
org 14h
reti
:
; internal timer 0 interrupt routine
Tmr0int:
:
; timer 0 main program placed here
:
reti
:
begin:
; setup timer 0 registers
mov
a,06h
; setup timer 0 low byte
mov
tmr0,a
; flow byte must be setup before high byte
mov
a,094
; setup timer 0 control register
mov
tmr0c,a
; setup timer mode and clock source is fsys/32 prescaler
; setup interrupt register
mov
a,05h
; enable global interrupt
mov
intc,a
; enable timer 0 interrupt



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