| 数据搜索系统,热门电子元器件搜索 |
|
COP8-REF-AM 数据表(PDF) 51 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
COP8-REF-AM 数据表(HTML) 51 Page - National Semiconductor (TI) |
|
51 / 83 page ![]() 15.0 A/D Converter (Continued) TABLE 23. A/D Converter Channel Selection when the Multiplexor Output is Enabled Select Bits Mode Select ADMOD = 0 Single Ended Mode Mode Select ADMOD = 1 Differential Mode Mux Output Enabled ADCH3 ADCH2 ADCH1 ADCH0 Channel No. Channel Pairs (+, −) MUX 0 1 1 1 Temp Sensor (Note 14) Not used 1 1 0 0 0 Not used Not used 1 1 0 0 1 Not used Not used 1 1 0 1 0 10 10, 11 (Note 15) 1 1 0 1 1 11 11, 10 (Note 15) 1 1 1 0 0 12 Not Used 1 1 1 0 1 13 ADCH13 is Mux Output − (Notes 13, 15) 1 1 1 1 0 ADCH14 is Mux Output (Note 13) ADCH14 is Mux Output + (Notes 13, 15) 1 1 1 1 1 ADCH15 is A/D Input (Note 13) ADCH15 is A/D Input (Notes 13, 15) 1 Note 13: These input channels are not available in this mode. Note 14: Temperature Sensor cannot be used in this mode. Note 15: Programmable Gain Amplifier must be bypassed when MUX = 1. 15.1.1.3 Mode Select This 1-bit field is used to select the mode of operation (single ended or differential) as shown in the following Table 24. TABLE 24. A/D Conversion Mode Selection ADMOD Mode 0 Single Ended mode. This mode is required if the temperature sensor is being selected. 1 Differential mode (programmable gain amplifier must be bypassed) 15.1.1.4 Prescaler Select This 1-bit field is used to select one of two prescaler clocks for the A/D Converter. The following Table 25 shows the various prescaler options. Care must be taken, when select- ing this bit, to not exceed the maximum frequency of the A/D converter. TABLE 25. A/D Converter Clock Prescale PSC Clock Select 0 MCLK Divide by 1 1 MCLK Divide by 16 15.1.1.5 Busy Bit The ADBSY bit of the ENAD register is used to control starting and stopping of the A/D conversion. When ADBSY is cleared, the prescale logic is disabled and the A/D clock is turned off, drawing minimal power. Setting the ADBSY bit starts the A/D clock and initiates a conversion based on the values currently in the ENAD register. Normal completion of an A/D conversion clears the ADBSY bit and turns off the A/D Converter. When changing the channel and gain of the programmable gain amplifier, it is necessary to wait before performing an A/D conversion. This due to the amplifier settling time. See the section on the Programmable Gain Amplifier for these settling times. If the user wishes to restart a conversion which is already in progress, this can be accomplished only by writing a zero to the ADBSY bit to stop the current conversion and then by writing a one to ADBSY to start a new conversion. This can be done in two consecutive instructions. All multiplexor input channels should be internally gated off when ADBSY = 0, unless MUX =1 or the programmable gain amplifier is enabled. When MUX =1 or the programmable gain amplifier is enabled, the internal path through the mul- tiplexor to the pin and the input path for the A/D Converter should be enabled. 15.1.2 A/D Result Registers There are two result registers for the A/D converter: the high 8 bits of the result and the low 2-bits of the result. The format of these registers is shown in Tables 26, 27. Both registers are read/write registers, but in normal operation, the hard- ware writes the value into the register when the conversion is complete and the software reads the value. Both registers are undefined upon Reset. They hold the previous value until a new conversion overwrites them. When reading ADRSTL, bits 5-0 will read as 0. www.national.com 51 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |