| Electronic Components Datasheet Search |
|
SH79F024XU Datasheet(PDF) 69 Page - SINOWEALTH Electronic Ltd |
|
|
|||||||||||||||||||||||||||||
SH79F024XU Datasheet(HTML) 69 Page - SINOWEALTH Electronic Ltd |
|
69 / 92 page ![]() SH79F SH79F SH79F SH79F082 082 082 082 69 Table Table Table Table 8 8 8 8....23 23 23 23 AD Converter Data Register (Compare Value Register) The The The The approach approach approach approach for for for for AD AD AD AD conversion: conversion: conversion: conversion: 1. Select the analog input channels and reference voltage. 2. Enable the ADC module with the selected analog channel. 3. set GO/DONE ———— = 1 to start the AD conversion. 4. Wait until GO/DONE ———— = 0 or ADCIF = 1, if the ADC interrupt is enabled, the ADC interrupt will occur. 5. Acquire the converted data from ADDH/ADDL. 6. Repeat step 3-5 if another conversion is required. The The The The approach approach approach approach for for for for digital digital digital digital compare compare compare compare function function function function:::: 1. Select the analog input channels and reference voltage. 2. Set ADDH/ ADDL to the compare value. 3. Set EC = 1 to enable compare function. 4. Enable the ADC module with the selected analog channel. 5. Set GO/DONE ———— = 1 to start the compare function. 6. If the analog input is lager than compare value set in ADDH/ADDL, the ADCIF will be set to 1. if the ADC interrupt is enabled, the ADC interrupt will occur. 7. The compare function will continue work until the GO/DONE ———— bit is cleared to 0. 9 9 9 96 6 6 6H H H H Bit7 Bit7 Bit7 Bit7 Bit6 Bit6 Bit6 Bit6 Bit5 Bit5 Bit5 Bit5 Bit4 Bit4 Bit4 Bit4 Bit3 Bit3 Bit3 Bit3 Bit2 Bit2 Bit2 Bit2 Bit1 Bit1 Bit1 Bit1 Bit0 Bit0 Bit0 Bit0 ADD ADD ADD ADDL L L L - - - - - - A1 A0 R/W R/W R/W R/W - - - - - - R/W R/W Reset Reset Reset Reset Value Value Value Value ((((POR/WDT/LVR POR/WDT/LVR POR/WDT/LVR POR/WDT/LVR/PIN /PIN /PIN /PIN)))) - - - - - - 0 0 9 9 9 97 7 7 7H H H H Bit7 Bit7 Bit7 Bit7 Bit6 Bit6 Bit6 Bit6 Bit5 Bit5 Bit5 Bit5 Bit4 Bit4 Bit4 Bit4 Bit3 Bit3 Bit3 Bit3 Bit2 Bit2 Bit2 Bit2 Bit1 Bit1 Bit1 Bit1 Bit0 Bit0 Bit0 Bit0 ADD ADD ADD ADDH H H H A9 A8 A7 A6 A5 A4 A3 A2 R/W R/W R/W R/W R/W R/W R/W R/W R/W Reset Reset Reset Reset Value Value Value Value ((((POR/WDT/LVR POR/WDT/LVR POR/WDT/LVR POR/WDT/LVR/PIN /PIN /PIN /PIN)))) 0 0 0 0 0 0 0 0 Bit Bit Bit Bit Number Number Number Number Bit Bit Bit Bit Mnemonic Mnemonic Mnemonic Mnemonic Description Description Description Description 1-0 1-0 1-0 1-0 7-0 7-0 7-0 7-0 A9-A0 A9-A0 A9-A0 A9-A0 ADC ADC ADC ADC Data Data Data Data register register register register Digital Value of sampled analog voltage, updated when conversion is completed If ADC Compare function is enabled (EC = 1), this is the value to be compared with the analog input |
|
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 |