| Electronic Components Datasheet Search |
|
EM77950 Datasheet(PDF) 82 Page - ELAN Microelectronics Corp |
|
|
|||||||||||||||||||||||||||||
EM77950 Datasheet(HTML) 82 Page - ELAN Microelectronics Corp |
|
82 / 102 page ![]() EM77950 BB Controller 74 • Product Specification (V1.0) 10.09.2007 (This specification is subject to change without further notice) ADIE (Bit 6) : ADC interrupt enable. ADRUN (Bit 7) : ADC starts to RUN 0 = reset on completion of the conversion; this bit cannot be reset by software. 1 = an A/D conversion is started; this bit can be set by software. 10.2 Programming Steps/Considerations Follow these steps to obtain data from the ADC: 1. Set ADC function power on (PRIE.ADE). 2. Write to the three bits (IMS2:IMS0) on the ADCCR register to define the characteristics of PD and PF: Digital I/O, analog channels, and voltage reference pin; 3. Write to the ADCAIS register to configure ADC module: i Select ADC input channel (AIPS3: AIPS0) ii Define ADC conversion clock rate (CKR2: CKR1: CKR0) 4. Set ADC interrupt enable (ADCCR.ADIE). Include the “ENI” instruction, if the interrupt function is employed. 5. Set the ADRUN bit to 1 to begin sampling. 6. Wait for either the interrupt flag to be set or the ADC interrupt to occur. 7. Read the conversion data register ADDATA. 8. Clear the interrupt flag bit (INTF.ADIF). 9. For next conversion, go to Step 2 or Step 3 as required. At least 2Tct is required before the next acquisition starts. NOTE To obtain an accurate value, it is necessary to avoid any data transition on the I/O pins during AD conversion. |
|
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 |