Electronic Components Datasheet Search
  English  ▼

X  

HT47C20 Datasheet(PDF) 26 Page - Holtek Semiconductor Inc

Part # HT47C20
Description  8-Bit Microcontroller
PDF  56 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  HOLTEK [Holtek Semiconductor Inc]
Direct Link  http://www.holtek.com
Logo HOLTEK - Holtek Semiconductor Inc

HT47C20 Datasheet(HTML) 26 Page - Holtek Semiconductor Inc

Back Button HT47C20 Datasheet HTML 22Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 23Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 24Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 25Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 26Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 27Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 28Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 29Page - Holtek Semiconductor Inc HT47C20 Datasheet HTML 30Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 26 / 56 page
background image
HT47C20
26
January 18, 2000
The bit4~bit7 of ADCR decides which resistor
and capacitor compose an oscillation circuit and
input to TMRBH and TMRBL.
The TN0, TN1 and TN2 bits of TMRC define
the clock source of timer A. It is recommended
that the clock source of timer A use the system
clock, instruction clock or RTC prescaler clock.
The TON bit (bit 4 of TMRC) is set ²1² the timer
A and timer B will start counting until timer A
or timer B overflows, the timer/event counter
generates the interrupt request flag (TF ; bit 4
of INTC1) and the timer A and timer B stop
counting and reset the TON bit to ²0² at the
same time.
If the TON bit is ²1², the TMRAH, TMRAL,
TMRBH and TMRBL cannot be read or written
to. Only when the timer/event counter is off and
when the instruction ²MOV² is used could those
four registers be read or written to.
Example for RC type AD converter mode (Timer A overflow):
clr tmrc
clr adcr.1
; set timer mode
clr intc1.4
; clear timer/event counter interrupt request flag
mov a, low (65536-1000)
; give timer A initial value
mov tmrbl, a
; count 1000 time and then overflow
mov a, high (65536-1000)
mov tmrbh, a
mov a, 00010010b
; RS0~CS0; set RC type ADC mode; set Timer A overflow
mov adcr,a
mov a, 00h
; give timer B initial value
mov tmrbl, a
mov a, 00h
mov tmrbh, a
mov a, 00110000b
; timer A clock source=T1 and timer on
mov tmrc, a
p10:
clr wdt
snz intcl.4
; polling timer/event counter interrupt request flag
jmp p10
clr intcl.4
; clear timer/event counter interrupt request flag
; program continue



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


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