| Electronic Components Datasheet Search |
|
HT86AR72 Datasheet(PDF) 46 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT86AR72 Datasheet(HTML) 46 Page - Holtek Semiconductor Inc |
|
46 / 68 page ![]() HT86Axx/HT86ARxx Rev. 1.10 46 December 12, 2012 · Step 2 Select which channel is to be connected to the internal A/D converter by correctly programming the ACS1~ACS0 bits which are also contained in the ADCR register. · Step 3 Select which pins on Port C 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 ADCR registers programming operation. · Step 4 The analog to digital conversion process can now be initialised by setting the START bit in the ADCR regis- ter from ²0² to ²1² and then to ²0² again. Note that this bit should have been originally set to ²0². · Step 5 To check when the analog to digital conversion pro- cess 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. The following timing diagram shows graphically the vari- ous stages involved in an analog to digital conversion process and its associated timing. t A D C A / D c o n v e r s i o n t i m e t A D C A / D c o n v e r s i o n t i m e t A D C A / D c o n v e r s i o n t i m e 0 0 0 B 0 0 0 B 0 1 0 B S T A R T E O C B P C R 2 ~ P C R 0 A C S 1 ~ A C S 0 P o w e r - o n R e s e t E n d o f A / D c o n v e r s i o n 1 : D e f i n e P C c o n f i g u r a t i o n 2 : S e l e c t a n a l o g c h a n n e l S t a r t o f A / D c o n v e r s i o n R e s e t A / D c o n v e r t e r A / D s a m p l i n g t i m e 3 2 t A D 0 1 1 B 0 0 0 B S t a r t o f A / D c o n v e r s i o n R e s e t A / D c o n v e r t e r 0 0 0 B 1 . P C p o r t s e t u p a s I / O s 2 . A / D c o n v e r t e r i s p o w e r e d o f f t o r e d u c e p o w e r c o n s u m p t i o n 1 0 0 B 0 0 1 B S t a r t o f A / D c o n v e r s i o n R e s e t A / D c o n v e r t e r D o n ' t c a r e E n d o f A / D c o n v e r s i o n E n d o f A / D c o n v e r s i o n S T A R T b i t s e t h i g h w i t h i n o n e t o t e n i n s t r u c t i o n c y c l e s a f t e r t h e P C R 0 ~ P C R 2 b i t s c h a n g e s t a t e A / D s a m p l i n g t i m e 3 2 t A D A / D s a m p l i n g t i m e 3 2 t A D A/D Conversion Timing |
|
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 |