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

X  

HT45F43 数据表(PDF) 79 Page - Holtek Semiconductor Inc

部件名 HT45F43
功能描述  8-Bit Flash MCU with Op Amps & Comparators
PDF  152 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  HOLTEK [Holtek Semiconductor Inc]
网页  http://www.holtek.com
标志 HOLTEK - Holtek Semiconductor Inc

HT45F43 数据表(HTML) 79 Page - Holtek Semiconductor Inc

Back Button HT45F43 Datasheet HTML 75Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 76Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 77Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 78Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 79Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 80Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 81Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 82Page - Holtek Semiconductor Inc HT45F43 Datasheet HTML 83Page - Holtek Semiconductor Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 79 / 152 page
background image
The A/D converter has its own reference voltage pin, VREF, however the reference voltage can also be
supplied from the power supply pin, a choice which is made through the VRSEL bit in the ACSR
register. The analog input values must not be allowed to exceed the value of VREF.
Summary of A/D Conversion Steps
The following summarises the individual steps that should be executed in order to implement an A/D
conversion process.
· Step 1
Select the required A/D conversion clock by correctly programming bits ADCS2~ADCS0 in the
ACSR register.
· Step 2
Enable the A/D by clearing the ADONB bit 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 ADCR register.
· Step 4
Select which pins are to be used as A/D inputs and configure them by correctly programming the
PCR5~PCR0 bits in the ADPCR register.
· Step 5
If the interrupts are to be used, the interrupt control registers must be correctly configured to ensure
the A/D converter interrupt function is active. The master interrupt control bit, EMI, Mulit-function
interrupt bit, and the A/D converter interrupt bit, EADI, must all be set high to do this.
· Step 6
The analog to digital conversion process can now be initialised by setting the START bit in the
ADCR register from low to high and then low again. Note that this bit should have been originally
cleared to zero.
· Step 7
To check when the analog to digital conversion process is complete, the EOCB bit in the ADCR
register can be polled. The conversion process is complete when this bit goes low. When this occurs
the A/D data registers ADRL and ADRH can be read to obtain the conversion value. As an
alternative method, if the interrupts are enabled and the stack is not full, the program can wait for an
A/D interrupt to occur.
Note: When checking for the end of the conversion process, if the method of polling the EOCB bit in
the ADCR register is used, the interrupt enable step above can be omitted.
The accompanying diagram shows graphically the various stages involved in an analog to digital
conversion process and its associated timing. After an A/D conversion process has been initiated by
the application program, the microcontroller internal hardware will begin to carry out the conver-
sion, during which time the program can continue with other functions. The time taken for the A/D
conversion is 16tADCK where tADCK is equal to the A/D clock period.
Programming Considerations
During microcontroller operations where the A/D converter is not being used, the A/D internal
circuitry can be switched off to reduce power consumption, by setting bit ADONB high in the ACSR
register. When this happens, the internal A/D converter circuits will not consume power irrespective of
what analog voltage is applied to their input lines. If the A/D converter input lines are used as normal
I/Os, then care must be taken as if the input voltage is not at a valid logic level, then this may lead to
some increase in power consumption.
HT45F23/HT45F43
8-Bit Flash MCU with Op Amps & Comparators
Rev. 1.20
79
September 15, 2011



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