| Electronic Components Datasheet Search |
|
HT46R017 Datasheet(PDF) 59 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46R017 Datasheet(HTML) 59 Page - Holtek Semiconductor Inc |
|
59 / 91 page ![]() Rev. 1.00 58 ���� 1�� �01� Rev. 1.00 59 ���� 1�� �01� HT46R016/HT46R017 Enhanced A/D 8-Bit OTP MCU ● Step 6 The analog to digital conversion process can now be initialised by setting the START bit in the ADCR0 register from "0" to "1" and then to "0" again. Note that this bit should have been originally set to "0". ● Step 7 To check when the analog to digital conversion process is complete, the EOCB bit in the ADCR0 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 ADCR0 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. The setting up and operation of the A/D converter function is fully under the control of the application program as there are no configuration options associated with the A/D converter. After an A/D conversion process has been initiated by the application program, the microcontroller internal hardware will begin to carry out the conversion, during which time the program can continue with other functions. The time taken for the A/D conversion is 16tAD where tAD is equal to the A/D clock period. t AD C A/ D c onv er si on ti me 0000B xxx B xxxxB - A CE [ 3: 0] i s not e q ual t o "0 " 010B ST AR T EO CB AC E3 ~ AC E0 A CS 4, AC S1 ~A CS 0 Po we r- on Re se t En d of A /D co nv er si on 1: D ef i ne po rt c on fi gu ra ti on 2: S el ec t anal og c hannel t A DCS =4 t AD t AD C = 16 t AD No te : St ar t of A /D co nv er si on Re se t A/ D co nv er te r A/ D sa mp li ng ti me t A DCS 000B St ar t of A /D co nv er si on Re se t A/ D co nv er te r 001B St ar t o f A/ D co nv er si on Re se t A/ D co nv er te r En d of A /D co nv er si on A/ D sa mp li ng ti me t A DCS AD C mo du le ON AD OF F of f on on t ON 2S T t AD C A/ D c onv er si on ti me A/D Conversion Timing Note: tADCS=4tAD tADC=16tAD |
|
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 |
| 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 |