| поискавой системы для электроныых деталей |
|
HT45F43 датащи(PDF) 77 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45F43 датащи(HTML) 77 Page - Holtek Semiconductor Inc |
|
77 / 152 page ![]() ADPCR Register Bit 76543210 Name ¾¾ PCR5 PCR4 PCR3 PCR2 PCR1 PCR0 R/W ¾¾ R/W R/W R/W R/W R/W R/W POR ¾¾ 000000 Bit 7~6 unimplemented, read as ²0² Bit 5 PCR5: Define PC1 is A/D input or not 0: Not A/D input 1: A/D input, AN5 Bit 4 PCR4: Define PC0 is A/D input or not 0: Not A/D input 1: A/D input, AN4 Bit 3 PCR3: Define PB6 is A/D input or not 0: Not A/D input 1: A/D input, AN3 Bit 2 PCR2: Define PB5 is A/D input or not 0: Not A/D input 1: A/D input, AN2 Bit 1 PCR1: Define PB4 is A/D input or not 0: Not A/D input 1: A/D input, AN1 Bit 0 PCR0: Define PB3 is A/D input or not 0: Not A/D input 1: A/D input, AN0 A/D Operation The START bit in the ADCR register is used to start and reset the A/D converter. When the microcontroller sets this bit from low to high and then low again, an analog to digital conversion cycle will be initiated. When the START bit is brought from low to high but not low again, the EOCB bit in the ADCR register will be set high and the analog to digital converter will be reset. It is the START bit that is used to control the overall start operation 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 complete. This bit will be automatically set to ²0² 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 interrupts are enabled, an appropriate internal interrupt signal will be generated. This A/D internal interrupt signal will direct the program flow to the associated A/D internal 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 detecting the end of an A/D conversion cycle. The clock source for the A/D converter, which originates from the system clock fSYS, can be chosen to be either fSYS or a subdivided version of fSYS. The division ratio value is determined by the ADCS2~ADCS0 bits in the ACSR register. Although the A/D clock source is determined by the system clock fSYS, and by bits ADCS2~ADCS0, 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, tADCK,is0.5 ms, care must be taken for system clock frequencies equal to or greater than 4MHz. For example, if the system clock operates at a frequency of 4MHz, the ADCS2~ADCS0 bits should not be set to ²000². Doing so will give A/D clock periods that are less than the minimum A/D clock period which may result in inaccurate A/D conversion values. Refer to the following table for examples, where values marked with an asterisk * show where, depending upon the device, special care must be taken, as the values may be less than the specified minimum A/D Clock Period. HT45F23/HT45F43 8-Bit Flash MCU with Op Amps & Comparators Rev. 1.20 77 September 15, 2011 |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |