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

X  

HT56R656 数据表(PDF) 53 Page - Holtek Semiconductor Inc

部件名 HT56R656
功能描述  TinyPower A/D Type with LCD 8-Bit OTP MCU
PDF  108 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  HOLTEK [Holtek Semiconductor Inc]
网页  http://www.holtek.com
标志 HOLTEK - Holtek Semiconductor Inc

HT56R656 数据表(HTML) 53 Page - Holtek Semiconductor Inc

Back Button HT56R656 Datasheet HTML 49Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 50Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 51Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 52Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 53Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 54Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 55Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 56Page - Holtek Semiconductor Inc HT56R656 Datasheet HTML 57Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 53 / 108 page
background image
HT56R62/HT56R65
HT56R642/HT56R644/HT56R654/HT56R656
Rev. 1.00
53
July 20, 2009
S e l e c t A / D c o n v e r t e r c l o c k s o u r c e
N o t i m p l e m e n t e d , r e a d a s " 0 "
A / D O n / O f f c o n t r o l b i t
1 : d i s a b l e
0 : e n a b l e
F o r t e s t m o d e u s e o n l y
A C S R R e g i s t e r
b 0
A D C S 1 A D C S 0
A D C S 1
0
0
1
1
0
0
1
1
A D C S 0
0
1
0
1
0
1
0
1
: s y s t e m c l o c k / 2
: s y s t e m c l o c k / 8
: s y s t e m c l o c k / 3 2
: u n d e f i n e d
: s y s t e m c l o c k
: s y s t e m c l o c k / 4
: s y s t e m c l o c k / 1 6
: u n d e f i n e d
b 7
T E S T A D O N B
A D C S 2
A D C S 2
0
0
0
0
1
1
1
1
A/D Converter Control Register
- ACSR
fSYS
A/D Clock Period (tAD)
ADCS2, ADCS1,
ADCS0=000
(fSYS/2)
ADCS2, ADCS1,
ADCS0=001
(fSYS/8)
ADCS2, ADCS1,
ADCS0=010
(fSYS/32)
ADCS2, ADCS1,
ADCS0=011
1MHz
2
ms8ms32ms
Undefined
2MHz
1
ms4ms16ms
Undefined
4MHz
500ns
2
ms8ms
Undefined
8MHz
250ns*
1
ms4ms
Undefined
12MHz
167ns*
667ns
2.67
ms
Undefined
A/D Clock Period Examples
A/D Input Pins
All of the A/D analog input pins are pin-shared with the
I/O pins on Port B. Bits PCR2~PCR0 in the ADCR regis-
ter, determine whether the input pins are setup as nor-
mal Port B input/output pins or whether they are setup
as analog inputs. In this way, pins can be changed under
program control to change their function from normal I/O
operation to analog inputs and vice versa. Pull-high re-
sistors, which are setup through register programming,
apply to the input pins only when they are used as nor-
mal I/O pins, if setup as A/D inputs the pull-high resistors
will be automatically disconnected. Note that it is not
necessary to first setup the A/D pin as an input in the
PBC port control register to enable the A/D input as
when the PCR2~PCR0 bits enable an A/D input, the sta-
tus of the port control register will be overridden. The
A/D converter has its own power supply pins AVDD and
AVSS and a VREF reference pin. The analog input val-
ues must not be allowed to exceed the value of VREF.
Initialising the A/D Converter
The internal A/D converter must be initialised in a special
way. Each time the Port B A/D channel selection bits are
modified by the program, the A/D converter must be
re-initialised. If the A/D converter is not initialised after the
channel selection bits are changed, the EOCB flag may
have an undefined value, which may produce a false end
of conversion signal. To initialise the A/D converter after
the channel selection bits have changed, then, within a
time frame of one to ten instruction cycles, the START bit
in the ADCR register must first be set high and then im-
mediately cleared to zero. This will ensure that the EOCB
flag is correctly set to a high condition.
Summary of A/D Conversion Steps
The following summarises the individual steps that
should be executed in order to implement an A/D con-
version process.
· Step 1
Select the required A/D conversion clock by correctly
programming bits ADCS2, ADCS1 and ADCS0 in the
register.
· Step 2
Enable the A/D by clearing the in the ACSR register to
zero.
· Step 3
Select which channel is to be connected to the internal
A/D converter by correctly programming the
ACS2~ACS0 bits which are also contained in the reg-
ister.
· Step 4
Select which pins on Port B are to be used as A/D in-
puts and configure them as A/D input pins by correctly
programming the PCR2~PCR0 bits in the ADCR reg-
ister. Note that this step can be combined with Step 2
into a single ADCR register programming operation.



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 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

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