数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PIC16F506T-E/MCSQTP 数据表(PDF) 55 Page - Microchip Technology

部件名 PIC16F506T-E/MCSQTP
功能描述  8/14-Pin, 8-Bit Flash Microcontroller
PDF  116 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

PIC16F506T-E/MCSQTP 数据表(HTML) 55 Page - Microchip Technology

Back Button PIC16F506T-E/MCSQTP Datasheet HTML 51Page - Microchip Technology PIC16F506T-E/MCSQTP Datasheet HTML 52Page - Microchip Technology PIC16F506T-E/MCSQTP Datasheet HTML 53Page - Microchip Technology PIC16F506T-E/MCSQTP Datasheet HTML 54Page - Microchip Technology PIC16F506T-E/MCSQTP Datasheet HTML 55Page - Microchip Technology PIC16F506T-E/MCSQTP Datasheet HTML 56Page - Microchip Technology PIC16F506T-E/MCSQTP Datasheet HTML 57Page - Microchip Technology PIC16F506T-E/MCSQTP Datasheet HTML 58Page - Microchip Technology PIC16F506T-E/MCSQTP Datasheet HTML 59Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 55 / 116 page
background image
© 2007 Microchip Technology Inc.
Preliminary
DS41268C-page 53
PIC12F510/16F506
9.1.6
ANALOG CONVERSION RESULT
REGISTER
The ADRES register contains the results of the last
conversion. These results are present during the sam-
pling period of the next analog conversion process.
After the sampling period is over, ADRES is cleared
(= 0). A ‘leading one’ is then right shifted into the
ADRES to serve as an internal conversion complete
bit. As each bit weight, starting with the MSB, is con-
verted, the leading one is shifted right and the con-
verted bit is stuffed into ADRES. After a total of 9 right
shifts of the ‘leading one’ have taken place, the conver-
sion is complete; the ‘leading one’ has been shifted out
and the GO/DONE bit is cleared.
If the GO/DONE bit is cleared in software during a con-
version, the conversion stops. The data in ADRES is
the partial conversion result. This data is valid for the bit
weights that have been converted. The position of the
‘leading one’ determines the number of bits that have
been converted. The bits that were not converted
before the GO/DONE was cleared are unrecoverable.
REGISTER 9-1:
ADCON0: A/D CONTROL REGISTER (PIC12F510)
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-0
R/W-0
ANS1
ANS0
ADCS1
ADCS0
CHS1
CHS0
GO/DONE
ADON
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-6
ANS<1:0>: ADC Analog Input Pin Select bits(1), (2), (5)
00
= No pins configured for analog input
01
= AN2 configured as an analog input
10
= AN2 and AN0 configured as analog inputs
11
= AN2, AN1 and AN0 configured as analog inputs
bit 5-4
ADCS<1:0>: ADC Conversion Clock Select bits
00
= FOSC/16
01
= FOSC/8
10
= FOSC/4
11
= INTOSC/4
bit 3-2
CHS<1:0>: ADC Channel Select bits(5)
00
= Channel AN0
01
= Channel AN1
10
= Channel AN2
11
= 0.6V absolute voltage reference
bit 1
GO/DONE: ADC Conversion Status bit(4)
1
= ADC conversion in progress. Setting this bit starts an ADC conversion cycle. This bit is automatically cleared
by hardware when the ADC is done converting.
0
= ADC conversion completed/not in progress. Manually clearing this bit while a conversion is in process termi-
nates the current conversion.
bit 0
ADON: ADC Enable bit
1
= ADC module is operating
0
= ADC module is shut-off and consumes no power
Note 1:
When the ANS bits are set, the channels selected will automatically be forced into Analog mode, regardless of the pin
function previously defined. The only exception to this is the comparator, where the analog input to the comparator and
the ADC will be active at the same time. It is the users responsibility to ensure that the ADC loading on the comparator
input does not affect their application.
2:
The ANS<1:0> bits are active regardless of the condition of ADON.
3:
CHS<1:0> bits default to 11 after any Reset.
4:
If the ADON bit is clear, the GO/DONE bit cannot be set.
5:
C1OUT, when enabled, overrides AN2.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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