| Electronic Components Datasheet Search |
|
HMS91C8032 Datasheet(PDF) 86 Page - Hynix Semiconductor |
|
|
|||||||||||||||||||||||||||||
HMS91C8032 Datasheet(HTML) 86 Page - Hynix Semiconductor |
|
86 / 157 page ![]() HMS91C8032/97C8032 NOV., 2001 Ver 1.02 83 4.12 ADC The analog-to-digital converter (A/D) allows conversion of an analog input signal to a corresponding 8-bit digital value. The A/ D module has eight analog inputs, which are multiplexed into one sample and hold. The output of the sample and hold is the input into the converter, which generates the result via successive ap- proximation. The analog supply voltage is connected to Avref+ of ladder resistance of A/D module. The A/D module has two registers which are the control register ADCCON and A/D result register ADCDR. The register ADC- CON, shown in Figure C-33 ADC Block Diagram, controls the operation of the A/D converter module. The Port7 pins can be configured as analog inputs or digital I/O. To use analog inputs, I/O is selected input mode by P7MOD register. ADCCON: AD CONVERTER CONTROL REGISTER. : 84H How to Use A/D Converter The processing of conversion is start when the start bit ADST is set to 1. After one cycle, it is cleared by hardware. ADCDR con- tains the results of the A/D conversion. When the conversion is completed, the result is loaded into the ADCDR, the A/D conver- sion status bit ADSF is set to 1, and the A/D interrupt flag AIF is set. The block diagram of the A/D module is shown in Figure 4-41. The A/D status bit ADSF is set automatically when A/D conversion is completed, cleared when A/D conversion is in pro- cess. - ADCEN - ADCCH2 ADCCH1 ADCCH0 ADCST ADCSF - ADCCON.7 Reserved for future use * ADCEN ADCCON.6 ADC Enable flag - ADCCON.5 Reserved for future use * ADCCH2 ADCCON.4 See Table 4-34 ADCCH1 ADCCON.3 SeeTable 4-34 ADCCH0 ADCCON.2 See Table 4-34 ADCST ADCCON.1 Software START control for ADC. A logic 1 starts A/D conversion. ADCSF ADCCON.0 A/D conversion completion flag. Set by hardware when ADC operation complete. Cleared by hardware when this flag is read. ADCCH[2:0] Select ADC channel 0 0 0 Select channel 0 0 0 1 Select channel 1 0 1 0 Select channel 2 0 1 1 Select channel 3 1 0 0 Select channel 4 1 0 1 Select channel 5 1 1 0 Select channel 6 1 1 1 Select channel 7 Table 4-34 ADCCON Register |
|
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 |