| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
HT56RB688 bảng dữ liệu(PDF) 63 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT56RB688 bảng dữ liệu(HTML) 63 Page - Holtek Semiconductor Inc |
|
63 / 164 page ![]() A/D Converter Control Registers - ADCR, ADPCR, ACSR To control the function and operation of the A/D converter, three control registers known as ADCR, ADPCR and ACSR are provided. These 8-bit registers define functions such as the selection of which analog channel is connected to the internal A/D converter, which pins are used as analog inputs and which are used as normal I/Os, the A/D clock source as well as controlling the start function and monitoring the A/D converter end of conversion status. The ACS4, ACS2~ACS0 bits in the register and the ACS4 bit in the ACSR register define the channel number. As the device contains only one actual analog to digital converter circuit, each of the individual 8 analog inputs must be routed to the converter. It is the function of the ACS2~ACS0 bits in the ADCR register and the ACS4 bit in the ACSR register to determine which analog channel is actually connected to the internal A/D converter. The ADPCR control register contains the PCR7~PCR0 bits which determine which pins on Port A are used as analog inputs for the A/D converter and which pins are to be used as normal I/O pins. If the PCRn bit has a value of 1, the related pin on PORT A will be set as an analog input. If the PCRn bit is set to zero, then the related pin on Port A will be setup as a normal I/O pin. ACSR Register Bit 76543210 Name TEST ADONB ACS4 VBGEN VREFS ADCS2 ADCS1 ADCS0 R/W R/W R/W R/W R/W R/W R/W R/W R/W POR 11000000 Bit 7 TEST: For test only, read as 1 Bit 6 ADONB: A/D Converter enable control 0: A/D converter is turned on 1: A/D converter is turned off Bit 5 ACS4: Internal Band-gap reference voltage channel input selection 0: A/D converter analog channel is connected to the analog input from AN0 to AN/7 1: A/D converter analog channel is connected to the internal Band-gap voltage VBG Bit 4 VBGEN: Band-gap reference voltage enable control 0: Band-gap voltage VBG is disabled and connected to the ground 1: Band-gap voltage VBG is enabled The band-gap reference voltage VBG is used for the A/D converter and LVD/LVR function, which is controlled by the band-gap reference voltage enable bit VBGEN in the ACSR register. If the VBG is not used for the A/D converter and the LVD/LVR function is disabled, the microcontroller hardware will automatically turned off the band-gap reference voltage to conserve power. Care must be taken as when the VREFS bit is set high for the A/D converter, then a VBG turn on time tBG must be allowed before any A/D conversions are implemented. Bit 3 VREFS: A/D converter reference voltage selection bit 0: from the internal voltage AVDD 1: from the external pin VREF The A/D reference voltage can come from either the internal voltage AVDD or the external voltage VREF, which is selected by the VREFS bit in the ACSR register. When the VREFS bit is cleared to 0, the reference voltage of the A/D converter comes from the internal A/D power supply VADD and the external VREF pin can be used as an I/O pin or other pin-shared function. When the VREFS bit is set to 1, the reference voltage of the A/D converter comes from the external VREF pin and the I/O or other pin-shared functions are disabled. Bit 2~0 ADCS2~ADCS0: Select A/D converter clock source 000: fSYS/2 001: fSYS/8 010: fSYS/32 011: undefined 100: fSYS 101: fSYS/4 110: fSYS/16 111: undefined HT56RB688 TinyPowerTM A/D type Smart Card OTP MCU with LCD, DAC, ISO 7816 and USB Interfaces Rev. 1.10 63 April 15, 2013 |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |