| Electronic Components Datasheet Search |
|
ST72561AR7-Auto Datasheet(PDF) 260 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST72561AR7-Auto Datasheet(HTML) 260 Page - STMicroelectronics |
|
260 / 324 page ![]() 10-bit A/D converter (ADC) ST72561-Auto 260/324 Doc ID 12370 Rev 8 Figure 117. ADC block diagram 18.3.2 A/D conversion The analog input ports must be configured as input, no pull-up, no interrupt. Refer to the Chapter 8: I/O ports. Using these pins as analog inputs does not affect the ability of the port to be read as a logic input. In the ADCCSR register: ● Select the CS[3:0] bits to assign the analog channel to convert. ADC conversion mode: In the ADCCSR register: ● Set the ADON bit to enable the A/D converter and to start the conversion. From this time on, the ADC performs a continuous conversion of the selected channel. When a conversion is complete: ● The EOC bit is set by hardware. ● The result is in the ADCDR registers. A read to the ADCDRH resets the EOC bit. To read the 10 bits, perform the following steps: 1. Poll EOC bit 2. Read the ADCDRL register 3. Read the ADCDRH register. This clears EOC automatically. To read only 8 bits, perform the following steps: 1. Poll EOC bit 2. Read the ADCDRH register. This clears EOC automatically. CH2 CH1 EOC SPEED ADON SLOW CH0 ADCCSR AIN0 AIN1 ANALOG TO DIGITAL CONVERTER AINx ANALOG MUX D4 D3 D5 D9 D8 D7 D6 D2 ADCDRH 4 fADC fCPU D1 D0 ADCDRL 00 0 0 0 0 CH3 fCPU, fCPU/2, fCPU/4 |
|
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 |