| Electronic Components Datasheet Search |
|
HT56RB688 Datasheet(PDF) 64 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT56RB688 Datasheet(HTML) 64 Page - Holtek Semiconductor Inc |
|
64 / 164 page ![]() ADCR Register Bit 76543210 Name START EOCB ¾¾¾ ACS2 ACS1 ACS0 R/W R/W R ¾¾¾ R/W R/W R/W POR 0 1 ¾¾¾ 000 Bit 7 START: Start the A/D conversion 0 ®1®0 : start 0 ®1 : reset the A/D converter and set EOCB to ²1² Bit 6 EOCB: End of A/D Conversion flag 0: A/D conversion ended 1: A/D conversion waiting or in progress Bit 5~3 unimplemented, read as ²0² Bit 2~0 ACS2~ACS0: A/D converter channel selection bits 000: AN0 is selected 001: AN1 is selected 010: AN2 is selected 011: AN3 is selected 100: AN4 is selected 101: AN5 is selected 110: AN6 is selected 111: AN7 is selected only valid if ACS4=0 ADPCR Register Bit 76543210 Name PCR7 PCR6 PCR5 PCR4 PCR3 PCR2 PCR1 PCR0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 00000000 Bit 7~0 PCR7~PCR0: A/D converter analog channel configuration 0: I/O pin or other pin-shared function 1: A/D analog channel When the related bit is set to 1, the corresponding pin is used as an analog input and all other pin-shared functions are disabled automatically. The START bit in the 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 initi- ated. When the START bit is brought from low to high but not low again, the EOCB bit in the ADCR register will be set to a ²1² and the analog to digital converter will be reset. It is the START bit that is used to control the overall on/off 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, is first divided by a division ratio, the value of which is determined by the ADCS2, ADCS1 and ADCS0 bits in the ACSR register. Rev. 1.10 64 April 15, 2013 HT56RB688 TinyPowerTM A/D type Smart Card OTP MCU with LCD, DAC, ISO 7816 and USB Interfaces |
|
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 |