| Electronic Components Datasheet Search |
|
ST72101 Datasheet(PDF) 64 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST72101 Datasheet(HTML) 64 Page - STMicroelectronics |
|
64 / 84 page ![]() 64/84 ST72101/ST72212/ST72213 8-BIT A/D CONVERTER (ADC) (Cont’d) 4.5.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 typically 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 19. 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 reset the COCO flag. Table 20. ADC Register Map 70 COCO - ADON 0 - CH2 CH1 CH0 Pin* CH2 CH1 CH0 AIN0 0 0 0 AIN1 0 0 1 AIN2 0 1 0 AIN3 0 1 1 AIN4 1 0 0 AIN5 1 0 1 AIN6 1 1 0 AIN7 1 1 1 70 AD7 AD6 AD5 AD4 AD3 AD2 AD1 AD0 Address (Hex.) Register Name 765 4 3 21 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 64 |
|
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 |