| 数据搜索系统,热门电子元器件搜索 |
|
ST72E331 数据表(PDF) 85 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST72E331 数据表(HTML) 85 Page - STMicroelectronics |
|
85 / 107 page ![]() 85/107 ST72E331 ST72T331 8-BIT A/D CONVERTER (ADC) (Cont’d) 5.7.6 Register Description CONTROL/STATUS REGISTER (CSR) Read/Write Reset Value: 0000 0000 (00h) Bit 7 = COCO Conversion Complete This bit is set by hardware. It is cleared by soft- ware reading the result in the DR register or writing to the CSR register. 0: Conversion is not complete. 1: Conversion can be read from the DR register. Bit 6 = Reserved. Must always be cleared. Bit 5 = ADON A/D converter On This bit is set and cleared by software. 0: A/D converter is switched off. 1: A/D converter is switched on. Note: A typical 30 µs delay time is necessary for the ADC to stabilize when the ADON bit is set. Bit 4 = Reserved. Forced by hardware to 0. Bit 3 = Reserved. Must always be cleared. Bits 2:0: CH[2:0] Channel Selection These bits are set and cleared by software. They select the analog input to convert. Table 20. Channel Selection *IMPORTANT NOTE: The number of pins AND the channel selection vary according to the device. REFER TO THE DEVICE PINOUT). DATA REGISTER (DR) Read Only Reset Value: 0000 0000 (00h) Bit 7:0 = AD[7:0] Analog Converted Value This register contains the converted analog value in the range 00h to FFh. Reading this register resets the COCO flag. Table 21. ADC Register Map 70 COCO - ADON 0 - CH2 CH1 CH0 Pin* CH2 CH1 CH0 AIN0 000 AIN1 001 AIN2 010 AIN3 011 AIN4 100 AIN5 101 AIN6 110 AIN7 111 70 AD7AD6 AD5AD4 AD3AD2 AD1 AD0 Address (Hex.) Register Name 765 4 321 0 70 Reset Value DR AD7 0 AD6 0 AD5 0 AD4 0 AD3 0 AD2 0 AD1 0 AD0 0 71 Reset Value CSR COCO 0 - 0 ADON 0 0 0 - 0 CH2 0 CH1 0 CH0 0 85 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |