PIC16C745 Datasheet

  • PIC16C745

  • 8-Bit CMOS Microcontrollers with USB

  • 4945.69KB

  • 165页

  • MICROCHIP

扫码查看芯片数据手册

上传产品规格书

PDF预览

PIC16C745/765
The following steps should be followed for doing an A/D
conversion:
1.
Configure the A/D module:
鈥?Configure analog pins / voltage reference /
and digital I/O (ADCON1)
鈥?Select A/D input channel (ADCON0)
鈥?Select A/D conversion clock (ADCON0)
鈥?Turn on A/D module (ADCON0)
Configure A/D interrupt (if desired):
鈥?Clear ADIF bit
鈥?Set ADIE bit
鈥?Set GIE bit
Wait the required acquisition time.
4.
5.
Start conversion:
鈥?Set GO/DONE bit (ADCON0)
Wait for A/D conversion to complete, by either:
鈥?Polling for the GO/DONE bit to be cleared
OR
6.
7.
鈥?Waiting for the A/D interrupt
Read A/D result register (ADRES), clear bit
ADIF if required.
For next conversion, go to step 1 or step 2 as
required. The A/D conversion time per bit is
defined as T
AD
. A minimum wait of 2T
AD
is
required before next acquisition starts.
2.
3.
FIGURE 12-1: A/D BLOCK DIAGRAM
CHS<2:0>
111
RE2/AN7(1)
110
RE1/AN6(1)
101
RE0/AN5(1)
100
V
IN
(Input voltage)
011
010
A/D
Converter
001
RA1/AN1
V
DD
000
or
010
or
100
or
11x
001
or
011
or
101
PCFG<2:0>
Note 1:
Not available on PIC16C745.
000
RA0/AN0
RA2/AN2
RA5/AN4
RA3/AN3/V
REF
V
REF
(Reference
voltage)
1999 Microchip Technology Inc.
Advanced Information
DS41124A-page 91

PIC16C745 PDF文件相关型号

PIC16C765

PIC16C745相关型号PDF文件下载

您可能感兴趣的PDF文件资料

热门IC型号推荐

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:

0571-85317607

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈
返回顶部

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!