| 数据搜索系统,热门电子元器件搜索 |
|
STM8S 数据表(PDF) 444 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
STM8S 数据表(HTML) 444 Page - STMicroelectronics |
|
444 / 467 page ![]() Analog/digital converter (ADC) RM0016 444/467 DocID14587 Rev 14 24.11.4 ADC configuration register 1 (ADC_CR1) Address offset: 0x21 Reset value: 0x00 7 654 3210 Reserved SPSEL[2:0] Reserved CONT ADON r rw rw rw r rw rw Bit 7 Reserved, always read as 0. Bits 6:4 SPSEL[2:0]: Prescaler selection These control bits are written by software to select the prescaler division factor. 000: fADC = fMASTER/2 001: fADC = fMASTER/3 010: fADC = fMASTER/4 011: fADC = fMASTER/6 100: fADC = fMASTER/8 101: fADC = fMASTER/10 110: fADC = fMASTER/12 111: fADC = fMASTER/18 See Section 24.5.2 on page 431. Note: It is recommended to change the SPSEL bits when ADC is in power down. This is because internally there can be a glitch in the clock during this change. Otherwise the user is required to ignore the 1st converted result if the change is done when ADC is not in power down. Bits 3:2 Reserved, always read as 0. Bit 1 CONT: Continuous conversion This bit is set and cleared by software. If set, conversion takes place continuously till this bit is reset by software. 0: Single conversion mode 1: Continuous conversion mode Bit 0 ADON: A/D Converter on/off This bit is set and reset by software. This bit must be written to wake up the ADC from power down mode and to trigger the start of conversion. If this bit holds a value of 0 and a 1 is written to it then it wakes the ADC from power down mode. Conversion starts when this bit holds a value of 1 and a 1 is written to it. As soon as the ADC is powered on, the output stage of the selected channel is disabled. 0: Disable ADC conversion/calibration and go to power down mode. 1: Enable ADC and to start conversion Note: If any other bit in this register apart from ADON is changed at the same time, then conversion is not triggered. This is to prevent triggering an erroneous conversion. |
|
链接网址 |
| 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 |