| Electronic Components Datasheet Search |
|
HT45FM03B Datasheet(PDF) 45 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45FM03B Datasheet(HTML) 45 Page - Holtek Semiconductor Inc |
|
45 / 83 page ![]() HT45FM03B Rev. 1.10 45 May 7, 2010 START bit that is used to control the overall on/off oper- ation of the internal analog to digital converter. The EOCB bit in the ADCR register is used to indicate when the analog to digital conversion process is com- plete. This bit will be automatically cleared to zero by the microcontroller after a conversion cycle has ended. In addition, the corresponding A/D interrupt request flag will be set in the interrupt control register, and if the inter- rupts are enabled, an appropriate internal interrupt sig- nal will be generated. This A/D internal interrupt signal will direct the program flow to the associated A/D inter- nal interrupt address for processing. If the A/D internal interrupt is disabled, the microcontroller can be used to poll the EOCB bit in the ADCR register to check whether it has been cleared as an alternative method of detect- ing the end of an A/D conversion cycle. A/D Converter Clock Source Register - ACSR The clock source for the A/D converter, which originates from the system clock fSYS, is first divided by a division ratio, the value of which is determined by the bits ADCS0 to ADCS2 in the ACSR register. Although the A/D clock source is determined by the sys- tem clock fSYS, and by bits ADCS0 to ADCS2, there are some limitations on the maximum A/D clock source speed that can be selected. As the minimum value of permissible A/D clock period, tAD, is 0.5 ms. Doing so will give an A/D clock period less than the minimum A/D clock period which may result in inaccurate A/D conver- sion values. Refer to the table for examples, where val- ues marked with an asterisk * show where special care must be taken, as the values are less than the specified minimum A/D Clock Period. A D C R R e g i s t e r S e l e c t A / D c h a n n e l b 7 b 0 S T A R T P C R 2 P C R 1 P C R 0 A C S 2 A C S 1 A C S 0 A C S 1 0 0 1 1 0 0 1 1 A C S 2 0 0 0 0 1 1 1 1 A C S 0 0 1 0 1 0 1 0 1 : A N 0 : A N 1 : A N 2 : A N 3 : A N 4 : A N 5 : A N 6 : A N 7 P o r t B A / D c h a n n e l c o n f i g u r a t i o n s P C R 2 0 0 0 0 1 1 1 1 P C R 1 0 0 1 1 0 0 1 1 P C R 0 0 1 0 1 0 1 0 1 : P o r t B A / D c h a n n e l s - a l l o f f : P B 0 e n a b l e d a s A N 0 : P B 0 ~ P B 1 e n a b l e d a s A N 0 ~ A N 1 : P B 0 ~ P B 2 e n a b l e d a s A N 0 ~ A N 2 : P B 0 ~ P B 3 e n a b l e d a s A N 0 ~ A N 3 : P o r t P B 0 ~ P B 4 s e t u p a s A N 0 ~ A N 4 : P o r t P B 0 ~ P B 5 s e t u p a s A N 0 ~ A N 5 : P o r t P B 0 ~ P B 7 s e t u p a s A N 0 ~ A N 7 E n d o f A / D c o n v e r s i o n f l a g 1 : n o t e n d o f A / D c o n v e r s i o n - A / D c o n v e r s i o n w a i t i n g o r i n p r o g r e s s 0 : e n d o f A / D c o n v e r s i o n - A / D c o n v e r s i o n e n d e d S t a r t t h e A / D c o n v e r s i o n 0 ® 1 ® 0 : S t a r t 0 ® 1 : R e s e t A / D c o n v e r t e r a n d s e t E O C B t o " 1 " E O C B ADCR Register A C S R R e g i s t e r 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 b 7 b 0 A D C S 1 A D C S 0 A D C S 1 0 1 1 0 0 1 0 1 A D C S 0 1 1 1 0 1 1 1 1 : A D C c l o c k i s f S Y S / 2 : A D C c l o c k i s f S Y S / 4 : A D C c l o c k i s f S Y S / 8 : A D C c l o c k i s f S Y S / 2 : A D C c l o c k i s f S Y S / 4 : A D C c l o c k i s f S Y S / 8 : A D C c l o c k i s f S Y S / 1 2 : A D C c l o c k i s f S Y S / 1 6 O t h e r : R e v e r s e d A D C S 2 A D C S 3 0 0 0 1 1 1 1 1 A D C S 3 A D C S 2 0 0 1 0 0 0 1 1 N o t i m p l e m e n t e d , r e a d a s " 0 " ACSR Register |
|
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 |